API / geotoolkit / report / widgets / DocumentViewWidget / DocumentViewWidget
widgets.DocumentViewWidget.DocumentViewWidget
Type Aliases
Ƭ DocumentInfo: Object
document info
| Name | Type | Description |
|---|---|---|
date? | Date | document Date |
title? | string | document title |
Ƭ EventMap: EventMap & { onActivePageChanged: void ; onScaleView: { factor: number } ; onTranslateView: { dx: number ; dy: number } }
Ƭ Options: Options & Omit<OptionsBase, "paperformat"> & { bounds?: Rect ; previewmode?: boolean ; tools?: AnyRecord }
Ƭ OptionsBase: Object
widget options
| Name | Type | Description |
|---|---|---|
contentclipping? | boolean | visibility of the headers |
gridsvisible? | boolean | visibility of the pages grid |
maxscale? | number | maximum scale factor |
minscale? | number | minimum scale factor |
paperformat? | AbstractPaperFormat | pages paper format |
rulersvisible? | boolean | visibility of the rulers |
Ƭ OptionsBaseOut: Required<OptionsBase>
Ƭ PaperMargins: Object
paper margins
| Name | Type | Description |
|---|---|---|
bottom? | string | number | bottom margin |
left? | string | number | left margin |
right? | string | number | right margin |
top? | string | number | top margin |