|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.faceless.pdf2.viewer2.ViewerFeature
org.faceless.pdf2.viewer2.Exporter
org.faceless.pdf2.viewer2.feature.PDFExporter
public class PDFExporter
A subclass of Exporter that handles exporting a PDF as a PDF file. The name of this feature is PDFExporter
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.faceless.pdf2.viewer2.Exporter |
---|
Exporter.ExporterTask |
Constructor Summary | |
---|---|
PDFExporter()
Create a new PDFExporter |
Method Summary | |
---|---|
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. |
Methods inherited from class org.faceless.pdf2.viewer2.Exporter |
---|
getComponent, postProcessPDF, preProcessPDF, validateComponent |
Methods inherited from class org.faceless.pdf2.viewer2.ViewerFeature |
---|
getAllEnabledFeatures, getAllFeatures, getCustomJavaScript, getFeatureProperty, getFeatureURLProperty, getName, initialize, isEnabledByDefault, setFeatureName, teardown, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PDFExporter()
Method Detail |
---|
public FileFilter getFileFilter()
Exporter
getFileFilter
in class Exporter
public String getFileSuffix()
Exporter
getFileSuffix
in class Exporter
public boolean isEnabled(DocumentPanel docpanel)
Exporter
isEnabled
in class Exporter
public Exporter.ExporterTask getExporter(DocumentPanel docpanel, PDF pdf, JComponent c, OutputStream out)
Exporter
Exporter.ExporterTask
that would save a PDF
getExporter
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()
out
- the OutputStream to write the PDF to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |