Uses of Class
org.apache.fop.pdf.PDFDocument
-
Packages that use PDFDocument Package Description org.apache.fop.pdf Classes for handling the low-level creation of PDF documents.org.apache.fop.pdf.xref org.apache.fop.render.pdf PDF Rendererorg.apache.fop.svg Classes that add SVG support to FOP and SVG->PDF conversion for Batik. -
-
Uses of PDFDocument in org.apache.fop.pdf
Fields in org.apache.fop.pdf declared as PDFDocument Modifier and Type Field Description private PDFDocument
PDFLinearization. doc
private PDFDocument
PDFObjectNumber. doc
private PDFDocument
PDFProfile. doc
private PDFDocument
VersionController.DynamicVersion. doc
private PDFDocument
FileIDGenerator.DigestFileIDGenerator. document
private PDFDocument
PDFFactory. document
private PDFDocument
PDFObject. document
the parent PDFDocumentprivate PDFDocument
PDFRoot. document
private PDFDocument
BitmapImage. pdfDoc
private PDFDocument
ObjectStreamManager. pdfDocument
Methods in org.apache.fop.pdf that return PDFDocument Modifier and Type Method Description private PDFDocument
PDFColorHandler. getDocument()
PDFDocument
PDFFactory. getDocument()
Returns the parent PDFDocument associated with this factory.PDFDocument
PDFObject. getDocument()
Returns the parent PDFDocument if assigned.PDFDocument
PDFProfile. getDocument()
PDFDocument
PDFObject. getDocumentSafely()
Returns the parent PDFDocument, but unlikegetDocument()
it throws an informative Exception if the parent document is unavailable instead of having a NullPointerException somewhere without a message.Methods in org.apache.fop.pdf with parameters of type PDFDocument Modifier and Type Method Description void
PDFResources. addFonts(PDFDocument doc, FontInfo fontInfo)
Add the fonts in the font info to this PDF document's Font Resources.static org.apache.xmlgraphics.xmp.Metadata
PDFMetadata. createXMPFromPDFDocument(PDFDocument pdfDoc)
Creates an XMP document based on the settings on the PDF Document.(package private) static FileIDGenerator
FileIDGenerator. getDigestFileIDGenerator(PDFDocument document)
Returns an instance that generates a file ID using the digest method recommended by the PDF Reference.static VersionController
VersionController. getDynamicVersionController(Version initialVersion, PDFDocument doc)
Returns a controller that allows subsequent changes to the document's version.static PDFEncryption
PDFEncryptionJCE. make(PDFObjectNumber objectNumber, PDFEncryptionParams params, PDFDocument pdf)
Creates and returns an encryption object.static PDFEncryption
PDFEncryptionManager. newInstance(PDFEncryptionParams params, PDFDocument pdf)
Creates a new PDFEncryption instance if PDF encryption is available.void
AbstractPDFStream. setDocument(PDFDocument doc)
void
PDFObject. setDocument(PDFDocument doc)
Sets the parent PDFDocument.void
PDFObjectNumber. setDocument(PDFDocument doc)
void
PDFObject. setObjectNumber(PDFDocument document)
Sets the object numbervoid
AlphaRasterImage. setup(PDFDocument doc)
Setup the PDF image for the current document.void
BitmapImage. setup(PDFDocument doc)
Setup this image with the pdf document.void
PDFImage. setup(PDFDocument doc)
Setup the PDF image for the current document.static void
PDFEncryptionManager. setupPDFEncryption(PDFEncryptionParams params, PDFDocument pdf)
Sets up PDF encryption if PDF encryption is requested by registering aPDFEncryptionParams
object with the user agent and if the necessary cryptographic support is available.static PDFICCBasedColorSpace
PDFICCBasedColorSpace. setupsRGBAsDefaultRGBColorSpace(PDFDocument pdfDoc)
Sets sRGB as the DefaultRGB color space in the PDF document.static PDFICCStream
PDFICCBasedColorSpace. setupsRGBColorProfile(PDFDocument pdfDoc)
Sets up the sRGB color profile in the PDF document.static PDFICCBasedColorSpace
PDFICCBasedColorSpace. setupsRGBColorSpace(PDFDocument pdfDoc)
Installs the sRGB color space in the PDF document.Constructors in org.apache.fop.pdf with parameters of type PDFDocument Constructor Description DigestFileIDGenerator(PDFDocument document)
DynamicVersion(Version version, PDFDocument doc)
HintTable(PDFDocument doc)
LinearPDFDictionary(PDFDocument doc)
ObjectStreamManager(PDFDocument pdfDocument)
PDFDPartRoot(PDFDocument document)
PDFEncryptionJCE(PDFObjectNumber objectNumber, PDFEncryptionParams params, PDFDocument pdf)
PDFFactory(PDFDocument document)
Creates a new PDFFactory.PDFLinearization(PDFDocument doc)
PDFPages(PDFDocument document)
create a /Pages object.PDFProfile(PDFDocument doc)
Main constructorPDFResources(PDFDocument doc)
create a /Resources object.PDFRoot(PDFDocument document, PDFPages pages)
create a Root (/Catalog) object. -
Uses of PDFDocument in org.apache.fop.pdf.xref
Fields in org.apache.fop.pdf.xref declared as PDFDocument Modifier and Type Field Description private PDFDocument
CrossReferenceStream. document
Constructors in org.apache.fop.pdf.xref with parameters of type PDFDocument Constructor Description CrossReferenceStream(PDFDocument document, int objectNumber, TrailerDictionary trailerDictionary, long startxref, java.util.List<java.lang.Long> uncompressedObjectReferences, java.util.List<CompressedObjectReference> compressedObjectReferences)
TrailerDictionary(PDFDocument pdfDocument)
-
Uses of PDFDocument in org.apache.fop.render.pdf
Fields in org.apache.fop.render.pdf declared as PDFDocument Modifier and Type Field Description private PDFDocument
PDFContentGenerator. document
private PDFDocument
PDFDocumentHandler. pdfDoc
the PDF Document being createdprivate PDFDocument
PDFLogicalStructureHandler. pdfDoc
private PDFDocument
PDFRenderingUtil. pdfDoc
the PDF Document being createdPDFDocument
PDFSVGHandler.PDFInfo. pdfDoc
see PDF_DOCUMENTMethods in org.apache.fop.render.pdf that return PDFDocument Modifier and Type Method Description PDFDocument
PDFContentGenerator. getDocument()
Returns the applicable resource context for the generator.(package private) PDFDocument
PDFDocumentNavigationHandler. getPDFDoc()
(package private) PDFDocument
PDFDocumentHandler. getPDFDocument()
PDFDocument
PDFRenderingUtil. setupPDFDocument(java.io.OutputStream out)
Methods in org.apache.fop.render.pdf with parameters of type PDFDocument Modifier and Type Method Description private static PDFICCStream
AbstractImageAdapter. getDefaultsRGBICCStream(PDFICCBasedColorSpace cs, PDFDocument doc, java.lang.String profileDesc)
void
AbstractImageAdapter. setup(PDFDocument doc)
Setup the PDF image for the current document.void
ImageRawCCITTFaxAdapter. setup(PDFDocument doc)
Setup the PDF image for the current document.void
ImageRawJPEGAdapter. setup(PDFDocument doc)
Setup the PDF image for the current document.void
ImageRawPNGAdapter. setup(PDFDocument doc)
Setup the PDF image for the current document.void
ImageRenderedAdapter. setup(PDFDocument doc)
Setup the PDF image for the current document.private static PDFICCStream
AbstractImageAdapter. setupColorProfile(PDFDocument doc, java.awt.color.ICC_Profile prof, PDFDeviceColorSpace pdfCS)
private static PDFICCStream
AbstractImageAdapter. setupsRGBColorProfile(PDFDocument doc)
Constructors in org.apache.fop.render.pdf with parameters of type PDFDocument Constructor Description PDFContentGenerator(PDFDocument document, java.io.OutputStream out, PDFResourceContext resourceContext)
Main constructor.PDFContentGenerator(PDFDocument document, java.io.OutputStream out, PDFResourceContext resourceContext, IFContext context)
PDFLogicalStructureHandler(PDFDocument pdfDoc)
Creates a new instance for handling the logical structure of the given document. -
Uses of PDFDocument in org.apache.fop.svg
Fields in org.apache.fop.svg declared as PDFDocument Modifier and Type Field Description protected PDFDocument
PDFGraphics2D. pdfDoc
the PDF Document being createdMethods in org.apache.fop.svg that return PDFDocument Modifier and Type Method Description PDFDocument
PDFDocumentGraphics2D. getPDFDocument()
Get the pdf document created by this class.Constructors in org.apache.fop.svg with parameters of type PDFDocument Constructor Description PDFGraphics2D(boolean textAsShapes, FontInfo fi, PDFDocument doc, PDFResourceContext page, PDFReference pref, java.lang.String font, float size, PDFGraphics2D.TransparencyIgnoredEventListener listener)
Create a new PDFGraphics2D with the given pdf document info.
-