Class ExporterFactory
Exporter instances.-
Method Summary
Modifier and TypeMethodDescriptionstatic ExporterCreate anExporterthat "exports" the original documentstatic ExportercreatePDFaExporter(OpenAction embeddedOpenAction, com.levigo.jadice.generator.pdf.internal.profile.Conformance conformance) Create a PDFExporterfor PDF/Astatic ExporterCreate a PDFExporter.static ExportercreatePDFExporter(OpenAction embeddedOpenAction) Create a PDFExporter.static JPSExporterCreate a PostscriptExporter.static ExportercreateRasterizingPDFExporter(OpenAction embeddedOpenAction) Create a PDFExporterwhere all text is transformed into in rastered images.static ExportercreateRedactionPDFExporter(OpenAction embeddedOpenAction, String... redactionAnnoTypes) Create a PDFExporterwhere all with annotation masked areas are redacted.static ExporterCreate a TIFFExporter.
-
Method Details
-
createPostscriptExporter
Create a PostscriptExporter.This
Exporterdepends on the JVM to provide the appropriate backend. If no such backend is available for the current JVM, this method will returnnull- Returns:
- a
JPSExporterfor writing Postscript export streams, ornullif not available
-
createPDFExporter
Create a PDFExporter.The created
Exporterwill be configured with defaults intended to produce print documents. Such defaults include full page rasterization in some cases.- Returns:
- an
Exporterfor PDF creation.
-
createPDFExporter
Create a PDFExporter.The created
Exporterwill be configured with defaults intended to produce print documents. Such defaults include full page rasterization in some cases.Additionally an open action can be specified. A viewer supporting open actions will execute the given action when the pdf document is opened. This can be used e.g. to immediately show a print dialog without further user interaction.
- Parameters:
embeddedOpenAction- The open action to be embedded into the generated pdf.- Returns:
- a
Exporterfor PDF creation.
-
createPDFaExporter
public static Exporter createPDFaExporter(OpenAction embeddedOpenAction, com.levigo.jadice.generator.pdf.internal.profile.Conformance conformance) Create a PDFExporterfor PDF/AThe created
Exporterwill be configured with defaults intended to produce print documents. Such defaults include full page rasterization in some cases.Additionally an open action can be specified. A viewer supporting open actions will execute the given action when the pdf document is opened. This can be used e.g. to immediately show a print dialog without further user interaction.
- Parameters:
embeddedOpenAction- The open action to be embedded into the generated pdf.conformance- the Conformance-Level for the PDF- Returns:
- a
Exporterfor PDF/A creation.
-
createRasterizingPDFExporter
Create a PDFExporterwhere all text is transformed into in rastered images.Additionally an open action can be specified. A viewer supporting open actions will execute the given action when the pdf document is opened. This can be used e.g. to immediately show a print dialog without further user interaction.
- Parameters:
embeddedOpenAction- The open action to be embedded into the generated pdf.- Returns:
- a
Exporterfor PDF creation.
-
createRedactionPDFExporter
public static Exporter createRedactionPDFExporter(OpenAction embeddedOpenAction, String... redactionAnnoTypes) Create a PDFExporterwhere all with annotation masked areas are redacted. This is either done by redaction the structure of the document, or by rasterizing the whole page.Additionally an open action can be specified. A viewer supporting open actions will execute the given action when the pdf document is opened. This can be used e.g. to immediately show a print dialog without further user interaction.
- Parameters:
embeddedOpenAction- The open action to be embedded into the generated pdf.redactionAnnoTypes- The archType name of the annotations which mark the are that shall be redacted- Returns:
- a
Exporterfor PDF creation.
-
createTIFFExporter
Create a TIFFExporter.The created
Exporterwill be configured with defaults intended to produce print documents.- Returns:
- a
Exporterfor TIFF creation.
-
createOriginalExporter
Create anExporterthat "exports" the original document- Returns:
- a
Exporterfor exporting the original document.
-