public class TIFFExporter extends Exporter
Exporterthat 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.
|Constructor and Description|
|Modifier and Type||Method and Description|
Return a JComponent which prompts the user for additional information after the initial save dialog.
Return a new
Get a FileFilter that matches the Files output by this Exporter
Return the suffix of files normally output by this Exporter, such as "pdf", "tif", "jpg" etc.
completed, getComponent, isEnabled, postProcessPDF, preProcessPDF, validateComponent
public javax.swing.filechooser.FileFilter getFileFilter()
public java.lang.String getFileSuffix()
public javax.swing.JComponent getComponent(DocumentPanel panel, java.io.File file)
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
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
public Exporter.ExporterTask getExporter(DocumentPanel panel, PDF pdf, javax.swing.JComponent c, java.io.OutputStream out)
Exporter.ExporterTaskthat would save a PDF
panel- the DocumentPanel this PDF is being saved from - may be null
c- the JComponent returned by
out- the OutputStream to write the PDF to
Copyright © 2001-2017 Big Faceless Organization