[]
        
(Showing Draft Content)

ReportDesigner.ActionHandlers

Interface: ActionHandlers

ReportDesigner.ActionHandlers

ツールバーボタンのアクションとホットキーのアクションハンドラを表します。

Table of contents

メソッド

Methods

onCreate

Optional onCreate(): Promise<undefined | Report>

Called on open report.

Returns

Promise<undefined | Report>

Promise with report info or 'undefined' if operation was cancelled.

Defined in

node_modules/@grapecity/activereports-designer/types/ar-js-designer.d.ts:204


onOpen

Optional onOpen(): Promise<undefined | Report>

Called on opening report.

Returns

Promise<undefined | Report>

Promise with report info or 'undefined' if operation was cancelled.

Defined in

node_modules/@grapecity/activereports-designer/types/ar-js-designer.d.ts:199


onOpenFileMenu

Optional onOpenFileMenu(): void

カスタムのファイルメニューを開くときに呼び出されます。

Returns

void

Defined in

node_modules/@grapecity/activereports-designer/types/ar-js-designer.d.ts:214


onRender

Optional onRender(report, resourceLocator?): Promise<void>

現在のレポートが描画する時に呼び出されます。

Parameters

Name Type Description
report ReportDefinition 現在のレポート情報。
resourceLocator? Partial<ResourceLocator> ResourceLocatorインスタンス。

Returns

Promise<void>

Defined in

node_modules/@grapecity/activereports-designer/types/ar-js-designer.d.ts:210


onSave

Optional onSave(options): Promise<undefined | SaveResult>

Called on saving report.

Parameters

Name Type Description
options SaveReportInfo 現在のレポート情報。

Returns

Promise<undefined | SaveResult>

Promise with new report info if report was saved or 'undefined' if operation was cancelled.

Defined in

node_modules/@grapecity/activereports-designer/types/ar-js-designer.d.ts:188


onSaveAs

Optional onSaveAs(options): Promise<undefined | SaveAsResult>

Called on saving report as new.

Parameters

Name Type Description
options SaveNewReportInfo 現在のレポート情報。

Returns

Promise<undefined | SaveAsResult>

Promise with new report info if report was saved or 'undefined' if operation was cancelled.

Defined in

node_modules/@grapecity/activereports-designer/types/ar-js-designer.d.ts:194