SinglePageExporter
A single page exporter. 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 SinglePageExporter {
// type is required for exporter
static get type() {
return 'mysinglepageexporter';
}
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 : [MySinglePageExporter]
}
}
});
// run export with the new exporter
scheduler.features.pdfExport.export({ exporter : 'mysinglepageexporter' });
Configs
11
Configs
11Common
listenersEvents
Misc
bubbleEventsEvents
callOnFunctionsEvents
localeClassLocalizable
localizableLocalizable
localizablePropertiesLocalizable
Other
centerContentHorizontallySinglePageExporter
keepPathNameExporterBase
rowReadyConditionExporterBase
translateURLsToAbsoluteExporterBase
Properties
11
Properties
11Class hierarchy
Identifies an object as an instance of SinglePageExporter class, or subclass thereof.
Identifies an object as an instance of SinglePageExporter class, or subclass thereof.
isEventsEvents
isExporterExporter
isLocalizableLocalizable
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