public class PDFExporter extends Exporter
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 |
---|
PDFExporter()
Create a new PDFExporter
|
Modifier and Type | Method and Description |
---|---|
Exporter.ExporterTask |
getExporter(DocumentPanel docpanel,
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.
|
boolean |
isEnabled(DocumentPanel docpanel)
Return true if this Exporter should be available for this DocumentPanel.
|
completed, getComponent, getComponent, 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 boolean isEnabled(DocumentPanel docpanel)
Exporter
public Exporter.ExporterTask getExporter(DocumentPanel docpanel, PDF pdf, JComponent c, OutputStream out)
Exporter
Exporter.ExporterTask
that would save a PDFgetExporter
in class Exporter
docpanel
- 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