public class DemoPrint extends PrintDocumentCommand
AbstractDocumentCommand.Scope
document
Constructor and Description |
---|
DemoPrint() |
Modifier and Type | Method and Description |
---|---|
protected AbstractPrintDialog |
createDialog(PrintJobConfiguration cfg) |
protected void |
prepare(PrintJobConfiguration pjc)
Overwrite to apply own print job settings before dialog is shown.
|
execute
addPagesToPrint, isAvailable
canExecute, getRenderControls, getScope, setScope
getPageView, setPageView
getContext, propagateContextChange, setContext
canExecute, execute, getKey, isSelected, isSelected, setKey
protected void prepare(PrintJobConfiguration pjc)
DirectPrintDocumentCommand
prepare
in class DirectPrintDocumentCommand
pjc
- will be passed in by this command.protected AbstractPrintDialog createDialog(PrintJobConfiguration cfg) throws JadiceException
createDialog
in class PrintDocumentCommand
cfg
- basic print job configurationJadiceException
- if print dialog could not be created (for example if permissions
prohibit export or print).Copyright © 2024 levigo holding gmbh. All rights reserved.