SinglePageExporterVertical
A single page exporter for vertical mode. Used by the PdfExport feature to export to single page. Content will be scaled in both directions to fit the page.
You do not need to use this class directly.
Extending exporter
class MySinglePageExporter extends SinglePageExporterVertical {
// type is required for exporter
static type = 'mysinglepageexporter';
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 : 'mysinglepageexporter' });
Configs
11
Configs
11Common
listenersEvents
Other
centerContentHorizontally: Boolean
Set to true to center content horizontally on the page
keepPathNameExporterBase
rowReadyConditionExporterBase
translateURLsToAbsoluteExporterBase
Misc
bubbleEventsEvents
callOnFunctionsEvents
localeClassLocalizable
localizableLocalizable
localizablePropertiesLocalizable
Properties
11
Properties
11Class hierarchy
Identifies an object as an instance of SinglePageExporterVertical class, or subclass thereof.
Identifies an object as an instance of SinglePageExporterVertical class, or subclass thereof.
isEventsEvents
isLocalizableLocalizable
isVerticalExporterVerticalExporter
Functions
15
Functions
15Other
addListenerEvents
filterStylesExporterBase
hasListenerEvents
onEvents
pageTplExporterBase
relayAllEvents
removeAllListenersEvents
removeListenerEvents
resumeEventsEvents
suspendEventsEvents
triggerEvents
unEvents
Events
3
Events
3Event handlers
3
Event handlers
3Typedefs
1
Typedefs
1BryntumListenerConfigEvents