Package org.apache.fop.pdf
Class CCFFilter
java.lang.Object
org.apache.fop.pdf.PDFFilter
org.apache.fop.pdf.NullFilter
org.apache.fop.pdf.CCFFilter
CCF Filter class. Right now it is just used as a dummy filter flag so
we can write TIFF images to the PDF. The encode method just returns the
data passed to it. In the future an actual CCITT Group 4 compression should be
added to the encode method so other images can be compressed.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreturn a parameter dictionary for this filter, or nullgetName()
return a PDF string representation of the filter, e.g.void
setDecodeParms
(PDFObject decodeParms) Sets the CCF decoding parametersMethods inherited from class org.apache.fop.pdf.NullFilter
applyFilter
Methods inherited from class org.apache.fop.pdf.PDFFilter
isApplied, isASCIIFilter, setApplied
-
Constructor Details
-
CCFFilter
public CCFFilter()
-
-
Method Details
-
getName
return a PDF string representation of the filter, e.g. /FlateDecode- Overrides:
getName
in classNullFilter
- Returns:
- the filter PDF name
-
getDecodeParms
return a parameter dictionary for this filter, or null- Overrides:
getDecodeParms
in classNullFilter
- Returns:
- the decode params for the filter
-
setDecodeParms
Sets the CCF decoding parameters- Parameters:
decodeParms
- The decoding parameters
-