Skip to main content

Interface: PdfDialogProps

Props of PdfDialog.

Properties​

className?​

className?: string;

Class of the dialog element.


current​

current: string;

View shown now (checked by default).


note?​

note?: string | null;

Note under the summary, e.g. "Some text uses characters the PDF fonts lack…".


views​

views: object[];

Views that can be printed (name '*' = all tables). An empty view (no tables, notes or groups; isViewEmpty) is never printed: the page count says it is left out.

empty?​

empty?: boolean;

label​

label: string;

name​

name: string;

Methods​

onClose()​

onClose(): void;

Called when the dialog is dismissed (Esc, Cancel, or after export).

Returns​

void


onExport()​

onExport(o): void;

Called with the chosen options and views when the user exports.

Parameters​

o​

PdfOptions & object

Returns​

void


planFor()​

planFor(o, view?): TilePlan;

Tile grid of a view for these options (default: the current view).

Parameters​

o​

PdfOptions

view?​

string

Returns​

TilePlan