Last updated

API / geotoolkit / report / widgets / DocumentViewWidget / DocumentViewWidget

Namespace: DocumentViewWidget

widgets.DocumentViewWidget.DocumentViewWidget

Table of contents

Type Aliases

Contents

Type Aliases

DocumentInfo

Ƭ DocumentInfo: Object

document info

Type declaration

NameTypeDescription
date?Datedocument Date
title?stringdocument title

EventMap

Ƭ EventMap: EventMap & { onActivePageChanged: void ; onScaleView: { factor: number } ; onTranslateView: { dx: number ; dy: number } }


Options

Ƭ Options: Options & Omit<OptionsBase, "paperformat"> & { bounds?: Rect ; previewmode?: boolean ; tools?: AnyRecord }


OptionsBase

Ƭ OptionsBase: Object

widget options

Type declaration

NameTypeDescription
contentclipping?booleanvisibility of the headers
gridsvisible?booleanvisibility of the pages grid
maxscale?numbermaximum scale factor
minscale?numberminimum scale factor
paperformat?AbstractPaperFormatpages paper format
rulersvisible?booleanvisibility of the rulers

OptionsBaseOut

Ƭ OptionsBaseOut: Required<OptionsBase>


PaperMargins

Ƭ PaperMargins: Object

paper margins

Type declaration

NameTypeDescription
bottom?string | numberbottom margin
left?string | numberleft margin
right?string | numberright margin
top?string | numbertop margin