public class TIFFExporter extends Exporter
Exporter
that handles saving a PDF as
a TIFF file.
The name of this feature is TIFFExporter
This code is copyright the Big Faceless Organization. You're welcome to use, modify and distribute it in any form in your own projects, provided those projects continue to make use of the Big Faceless PDF library.
Exporter.ExporterTask
Constructor and Description |
---|
TIFFExporter() |
Modifier and Type | Method and Description |
---|---|
JComponent |
getComponent(DocumentPanel panel,
File file)
Return a JComponent which prompts the user for additional information after
the initial save dialog.
|
Exporter.ExporterTask |
getExporter(DocumentPanel panel,
PDF pdf,
JComponent c,
OutputStream out)
Return a new
Exporter.ExporterTask that would save a PDF |
FileFilter |
getFileFilter()
Get a FileFilter that matches the Files output by this Exporter
|
String |
getFileSuffix()
Return the suffix of files normally output by this Exporter, such
as "pdf", "tif", "jpg" etc.
|
completed, getComponent, isEnabled, postProcessPDF, preProcessPDF, validateComponent
getAllEnabledFeatures, getAllFeatures, getCustomJavaScript, getFeatureProperty, getFeatureURLProperty, getName, initialize, isEnabledByDefault, setFeatureName, teardown, toString
public FileFilter getFileFilter()
Exporter
getFileFilter
in class Exporter
public String getFileSuffix()
Exporter
getFileSuffix
in class Exporter
public JComponent getComponent(DocumentPanel panel, File file)
Exporter
Return a JComponent which prompts the user for additional information after
the initial save dialog. An example might be when saving to a bitmap format -
this component could prompt for image resolution and so on. If this method
returns null
(the default), then no additional component will
be displayed on save.
By default this method calls return getComponent()
, which calls
the legacy method which was the recommended approach prior to 2.15.1
getComponent
in class Exporter
panel
- the DocumentPanel containing the PDF being savedfile
- the File being saved topublic Exporter.ExporterTask getExporter(DocumentPanel panel, PDF pdf, JComponent c, OutputStream out)
Exporter
Exporter.ExporterTask
that would save a PDFgetExporter
in class Exporter
panel
- the DocumentPanel this PDF is being saved from - may be nullpdf
- the PDF being saves (not null)c
- the JComponent returned by Exporter.getComponent(org.faceless.pdf2.viewer2.DocumentPanel, java.io.File)
out
- the OutputStream to write the PDF toCopyright © 2001-2017 Big Faceless Organization