SinglePageUnscaledExporterVertical

A single page exporter for vertical mode. Used by the PdfExport feature to export to single page. Content is exported with dimensions required to fit all requested rows and columns. This allows generating PDF page not constrained by the standard paper formats.

You do not need to use this class directly.

Extending exporter

class MySinglePageExporter extends SinglePageUnscaledExporterVertical {
    // type is required for exporter
    static type = 'mysinglepageunscaledexporter';

    get stylesheets() {
        const stylesheets = super.stylesheets;

        stylesheets.forEach(styleNodeOrLinkTag => doSmth(styleNodeOrLinkTag))

        return stylesheets;
    }
}

const scheduler = new Scheduler({
    mode     : 'vertical',
    features : {
        pdfExport : {
            // this export feature is configured with only one exporter
            exporters : [MySinglePageExporter]
        }
    }
});

// run export with the new exporter
scheduler.features.pdfExport.export({ exporter : 'mysinglepageunscaledexporter' });

Configs

11

Common

listenersEvents

Misc

localeClassLocalizable
localizableLocalizable

Other

centerContentHorizontallySinglePageExporterVertical
keepPathNameExporterBase
rowReadyConditionExporterBase

Properties

12

Class hierarchy

Identifies an object as an instance of SinglePageUnscaledExporterVertical class, or subclass thereof.
isSinglePageUnscaledExporterVertical: Boolean= truereadonlystatic
Identifies an object as an instance of SinglePageUnscaledExporterVertical class, or subclass thereof.
isEventsEvents
isLocalizableLocalizable
isSinglePageExporterVerticalSinglePageExporterVertical
isVerticalExporterVerticalExporter

Misc

localeHelperLocalizable
localeManagerLocalizable

Other

rowReadyConditionExporterBase
stylesheetsExporterBase

Functions

15

Misc

optionalLstaticLocalizable

Other

filterStylesExporterBase
LstaticLocalizable
onEvents
pageTplExporterBase
relayAllEvents
triggerEvents
unEvents

Events

3

Event handlers

3

Typedefs

1