SinglePageUnscaledExporter

A single page exporter. 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 to generate PDF page not constrained by the standard paper formats.

You do not need to use this class directly.

Extending exporter

class MySinglePageUnscaledExporter extends SinglePageUnscaledExporter {
    // type is required for exporter
    static get type() {
        return 'mysinglepageunscaledexporter';
    }

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

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

        return stylesheets;
    }
}

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

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

Configs

11

Common

listenersEvents

Misc

localeClassLocalizable
localizableLocalizable

Other

centerContentHorizontallySinglePageExporter
keepPathNameExporterBase
rowReadyConditionExporterBase

Properties

12

Class hierarchy

isSinglePageUnscaledExporter: Boolean= truereadonly
Identifies an object as an instance of SinglePageUnscaledExporter class, or subclass thereof.
isSinglePageUnscaledExporter: Boolean= truereadonlystatic
Identifies an object as an instance of SinglePageUnscaledExporter class, or subclass thereof.
isEventsEvents
isExporterExporter
isLocalizableLocalizable
isSinglePageExporterSinglePageExporter

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