|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.module.YModule y.module.io.IOHandlerModule yext.export.module.OutputModule yext.export.module.PDFOutputModule
public class PDFOutputModule
Exports a diagram to a PDF document.
Provides an option dialog for specifying PDF export settings interactively.
Field Summary | |
---|---|
protected static String |
ATTR_UNIT
|
protected static String |
GROUP_MARGINS
|
protected static String |
GROUP_PAGE
|
static String |
MODULE_NAME
|
protected static String |
OPTION_AUTOMATIC_PAGE_SIZE
|
protected static String |
OPTION_MARGIN_BOTTOM
|
protected static String |
OPTION_MARGIN_LEFT
|
protected static String |
OPTION_MARGIN_RIGHT
|
protected static String |
OPTION_MARGIN_TOP
|
protected static String |
OPTION_ORIENTATION
|
protected static String |
OPTION_PAPER
|
protected static String |
OPTION_TEXT_RENDERING_POLICY
|
protected static String |
TAB_PDF
|
protected static String |
VALUE_LANDSCAPE
|
protected static String |
VALUE_PLAIN_TEXT
|
protected static String |
VALUE_PLAIN_TEXT_WITH_EMBEDDED_FONTS
|
protected static String |
VALUE_PORTRAIT
|
protected static String |
VALUE_VECTORIZED_TEXT
|
Fields inherited from class yext.export.module.OutputModule |
---|
OPTION_SELECTION_PAINTING, TAB_IMAGE |
Fields inherited from class y.module.YModule |
---|
FAILED, moduleListenerSupport, PRECONDITION_VIOLATED, SUCCESS |
Constructor Summary | |
---|---|
PDFOutputModule()
Initializes a new PDFOutputModule instance with the module
name PDF_OUTPUT . |
Method Summary | |
---|---|
protected void |
addPdfOptions(OptionHandler options)
Adds PDF specific output options to the given option handler. |
protected void |
addTilingOptions(OptionHandler options)
Adds tiling specific output options to the given option handler. |
protected IOHandler |
createIOHandler()
Returns a new instance of PDFOutputHandler . |
protected OptionHandler |
createOptionHandler()
Creates an option handler for PDF output. |
protected void |
mainrun()
Exports the module's associated graph to a PDF document. |
Methods inherited from class yext.export.module.OutputModule |
---|
addRenderingOptions, configureRendering |
Methods inherited from class y.module.io.IOHandlerModule |
---|
addViewPortOptions, adoptRenderingHints, adoptViewPortOptions, configureViewPort, getIOHandler, getIOMode, getURL, setIOHandler, setIOMode, setURL |
Methods inherited from class y.module.YModule |
---|
addModuleListener, createThread, dispose, exceptionHappened, fitGraph2DView, getAuthor, getDescription, getExitStatus, getGraph2D, getGraph2DView, getModuleListeners, getModuleName, getOptionHandler, getTimer, getView, init, initGuiFactory, isAbortable, isBackupRealizersEnabled, removeModuleListener, run, setBackupRealizersEnabled, setExitStatus, setGraph2D, setModuleName, setOptionHandler, start, startAsThread |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MODULE_NAME
protected static final String TAB_PDF
protected static final String OPTION_TEXT_RENDERING_POLICY
protected static final String OPTION_AUTOMATIC_PAGE_SIZE
protected static final String GROUP_PAGE
protected static final String OPTION_PAPER
protected static final String OPTION_ORIENTATION
protected static final String GROUP_MARGINS
protected static final String OPTION_MARGIN_TOP
protected static final String OPTION_MARGIN_LEFT
protected static final String OPTION_MARGIN_BOTTOM
protected static final String OPTION_MARGIN_RIGHT
protected static final String VALUE_PORTRAIT
protected static final String VALUE_LANDSCAPE
protected static final String VALUE_PLAIN_TEXT
protected static final String VALUE_PLAIN_TEXT_WITH_EMBEDDED_FONTS
protected static final String VALUE_VECTORIZED_TEXT
protected static final String ATTR_UNIT
Constructor Detail |
---|
public PDFOutputModule()
PDFOutputModule
instance with the module
name PDF_OUTPUT
.
Method Detail |
---|
protected void addPdfOptions(OptionHandler options)
protected void addTilingOptions(OptionHandler options)
addTilingOptions
in class IOHandlerModule
protected IOHandler createIOHandler()
PDFOutputHandler
.
createIOHandler
in class IOHandlerModule
PDFOutputHandler
.protected OptionHandler createOptionHandler()
Calls
addPdfOptions(OptionHandler)
and
addTilingOptions(OptionHandler)
.
createOptionHandler
in class OutputModule
protected void mainrun()
mainrun
in class OutputModule
IOHandlerModule.getIOHandler()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |