MultiPageVerticalExporter

A vertical multiple page exporter. Used by the PdfExport feature to export to multiple pages. Content will be scaled in a horizontal direction to fit the page.

You do not need to use this class directly.

Extending exporter

class MyMultiPageVerticalExporter extends MultiPageVerticalExporter {
    // type is required for exporter
    static get type() {
        return 'mymultipageverticalexporter';
    }

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

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

        return stylesheets;
    }
}

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

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

Configs

10

Common

listenersEvents

Misc

localeClassLocalizable
localizableLocalizable

Other

keepPathNameExporterBase
rowReadyConditionExporterBase

Properties

11

Class hierarchy

isMultiPageVerticalExporter: Boolean= truereadonly
Identifies an object as an instance of MultiPageVerticalExporter class, or subclass thereof.
isMultiPageVerticalExporter: Boolean= truereadonlystatic
Identifies an object as an instance of MultiPageVerticalExporter 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