Class ExporterFactory
Exporter
instances.-
Method Summary
Modifier and TypeMethodDescriptionstatic Exporter
Create anExporter
that "exports" the original documentstatic Exporter
createPDFaExporter
(OpenAction embeddedOpenAction, com.levigo.jadice.generator.pdf.internal.profile.Conformance conformance) Create a PDFExporter
for PDF/Astatic Exporter
Create a PDFExporter
.static Exporter
createPDFExporter
(OpenAction embeddedOpenAction) Create a PDFExporter
.static JPSExporter
Create a PostscriptExporter
.static Exporter
createRasterizingPDFExporter
(OpenAction embeddedOpenAction) Create a PDFExporter
where all text is transformed into in rastered images.static Exporter
createRedactionPDFExporter
(OpenAction embeddedOpenAction, String... redactionAnnoTypes) Create a PDFExporter
where all with annotation masked areas are redacted.static Exporter
Create a TIFFExporter
.
-
Method Details
-
createPostscriptExporter
Create a PostscriptExporter
.This
Exporter
depends on the JVM to provide the appropriate backend. If no such backend is available for the current JVM, this method will returnnull
- Returns:
- a
JPSExporter
for writing Postscript export streams, ornull
if not available
-
createPDFExporter
Create a PDFExporter
.The created
Exporter
will be configured with defaults intended to produce print documents. Such defaults include full page rasterization in some cases.- Returns:
- an
Exporter
for PDF creation.
-
createPDFExporter
Create a PDFExporter
.The created
Exporter
will 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
Exporter
for PDF creation.
-
createPDFaExporter
public static Exporter createPDFaExporter(OpenAction embeddedOpenAction, com.levigo.jadice.generator.pdf.internal.profile.Conformance conformance) Create a PDFExporter
for PDF/AThe created
Exporter
will 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
Exporter
for PDF/A creation.
-
createRasterizingPDFExporter
Create a PDFExporter
where 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
Exporter
for PDF creation.
-
createRedactionPDFExporter
public static Exporter createRedactionPDFExporter(OpenAction embeddedOpenAction, String... redactionAnnoTypes) Create a PDFExporter
where 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
Exporter
for PDF creation.
-
createTIFFExporter
Create a TIFFExporter
.The created
Exporter
will be configured with defaults intended to produce print documents.- Returns:
- a
Exporter
for TIFF creation.
-
createOriginalExporter
Create anExporter
that "exports" the original document- Returns:
- a
Exporter
for exporting the original document.
-