[]
ReportDesigner.Designer
Report designer component.
• new Designer(element
, config?
)
Creates report designer component instance.
Name | Type | Description |
---|---|---|
element |
string | object | Element |
Component host element. |
config? |
DesignerConfig |
Designer settings. |
• get
documentChanged(): Event
<DocumentChangedEventArgs
>
Event
<DocumentChangedEventArgs
>
▸ createReport(reportInfo
, whenDirty?
): Promise
<void
>
Creates report.
Name | Type | Description |
---|---|---|
reportInfo |
NewReportInfo |
Report info to load. |
whenDirty? |
WhenDirty |
Action to perform in case of 'dirty' report. |
Promise
<void
>
▸ focus(): void
Returns focus to Designer.
void
▸ getEditorAPI(): Promise
<EditorAPI
>
Gets API to manipulate designer.
Promise
<EditorAPI
>
▸ getNotificationsAPI(): Promise
<NotificationsAPI
>
Manipulate notifications panel.
Promise
<NotificationsAPI
>
▸ getPanelsAPI(): Promise
<PanelsAPI
>
Access to the menu and sidebar panels
Promise
<PanelsAPI
>
▸ getReport(): Promise
<ReportInfo
>
Gets current report.
Promise
<ReportInfo
>
▸ getReportPartsLibraries(): Promise
<ReportPartsLibrary
[]>
Gets list of available ReportParts libraries.
Promise
<ReportPartsLibrary
[]>
▸ processCommand(cmd
): Promise
<void
>
Process command.
Name | Type | Description |
---|---|---|
cmd |
DesignerCommand |
Command name. |
Promise
<void
>
▸ setActionHandlers(actionHandlers
): Promise
<void
>
Sets actions handlers.
Name | Type |
---|---|
actionHandlers |
ActionHandlers |
Promise
<void
>
▸ setDataSourceTemplates(templates
): Promise
<void
>
Sets DataSource templates
Name | Type | Description |
---|---|---|
templates |
DataSourceTemplate [] |
List of DataSource templates |
Promise
<void
>
▸ setReport(report
, whenDirty?
, isDirtyInitial?
): Promise
<void
>
Sets report.
Name | Type | Description |
---|---|---|
report |
Report |
Report info to load. |
whenDirty? |
WhenDirty |
Action to perform in case of 'dirty' report. |
isDirtyInitial? |
boolean |
Initial value for 'dirty' state after load. |
Promise
<void
>
▸ setReportPartsLibraries(libraries
): Promise
<void
>
Sets list of available ReportParts libraries.
Name | Type |
---|---|
libraries |
ReportPartsLibrary [] |
Promise
<void
>
▸ setResourceProvider(resourceProvider
): Promise
<void
>
Sets resource provider.
Name | Type | Description |
---|---|---|
resourceProvider |
Partial <ResourceProvider > |
Resources provider. |
Promise
<void
>