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 grid = new Grid({
features : {
pdfExport : {
// this export feature is configured with only one exporter
exporters : [MySinglePageUnscaledExporter]
}
}
});
// run export with the new exporter
grid.features.pdfExport.export({ exporter : 'mysinglepageunscaledexporter' });
Configs
11
Configs
11Common
listenersEvents
Misc
bubbleEventsEvents
callOnFunctionsEvents
localeClassLocalizable
localizableLocalizable
localizablePropertiesLocalizable
Other
centerContentHorizontallySinglePageExporter
keepPathNameExporterBase
rowReadyConditionExporterBase
translateURLsToAbsoluteExporterBase
Properties
12
Properties
12Class hierarchy
Identifies an object as an instance of SinglePageUnscaledExporter class, or subclass thereof.
Identifies an object as an instance of SinglePageUnscaledExporter class, or subclass thereof.
isEventsEvents
isExporterExporter
isLocalizableLocalizable
isSinglePageExporterSinglePageExporter
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