MultiPageExporter

A multiple page exporter. Used by the PdfExport feature to export to multiple pages. You do not need to use this class directly.

Extending exporter

class MyMultiPageExporter extends MultiPageExporter {
    // type is required for exporter
    static get type() {
        return 'mymultipageexporter';
    }

    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 : [MyMultiPageExporter]
        }
    }
});

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

Configs

10

Common

listenersEvents

Misc

localeClassLocalizable
localizableLocalizable

Other

keepPathNameExporterBase
rowReadyConditionExporterBase

Properties

11

Class hierarchy

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

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