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
Methods in org.apache.fop.pdf that return PDFDocument Modifier and Type Method Description PDFDocumentPDFFactory. getDocument()Returns the parent PDFDocument associated with this factory.PDFDocumentPDFObject. getDocument()Returns the parent PDFDocument if assigned.PDFDocumentPDFProfile. getDocument()PDFDocumentPDFObject. 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 voidPDFResources. addFonts(PDFDocument doc, FontInfo fontInfo)Add the fonts in the font info to this PDF document's Font Resources.static org.apache.xmlgraphics.xmp.MetadataPDFMetadata. createXMPFromPDFDocument(PDFDocument pdfDoc)Creates an XMP document based on the settings on the PDF Document.static VersionControllerVersionController. getDynamicVersionController(Version initialVersion, PDFDocument doc)Returns a controller that allows subsequent changes to the document's version.static PDFEncryptionPDFEncryptionJCE. make(PDFObjectNumber objectNumber, PDFEncryptionParams params, PDFDocument pdf)Creates and returns an encryption object.static PDFEncryptionPDFEncryptionManager. newInstance(PDFEncryptionParams params, PDFDocument pdf)Creates a new PDFEncryption instance if PDF encryption is available.voidAbstractPDFStream. setDocument(PDFDocument doc)voidPDFObject. setDocument(PDFDocument doc)Sets the parent PDFDocument.voidPDFObjectNumber. setDocument(PDFDocument doc)voidPDFObject. setObjectNumber(PDFDocument document)Sets the object numbervoidAlphaRasterImage. setup(PDFDocument doc)Setup the PDF image for the current document.voidBitmapImage. setup(PDFDocument doc)Setup this image with the pdf document.voidPDFImage. setup(PDFDocument doc)Setup the PDF image for the current document.static voidPDFEncryptionManager. setupPDFEncryption(PDFEncryptionParams params, PDFDocument pdf)Sets up PDF encryption if PDF encryption is requested by registering aPDFEncryptionParamsobject with the user agent and if the necessary cryptographic support is available.static PDFICCBasedColorSpacePDFICCBasedColorSpace. setupsRGBAsDefaultRGBColorSpace(PDFDocument pdfDoc)Sets sRGB as the DefaultRGB color space in the PDF document.static PDFICCStreamPDFICCBasedColorSpace. setupsRGBColorProfile(PDFDocument pdfDoc)Sets up the sRGB color profile in the PDF document.static PDFICCBasedColorSpacePDFICCBasedColorSpace. 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 PDFDPartRoot(PDFDocument document)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
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 PDFDocumentPDFSVGHandler.PDFInfo. pdfDocsee PDF_DOCUMENTMethods in org.apache.fop.render.pdf that return PDFDocument Modifier and Type Method Description PDFDocumentPDFContentGenerator. getDocument()Returns the applicable resource context for the generator.Methods in org.apache.fop.render.pdf with parameters of type PDFDocument Modifier and Type Method Description voidAbstractImageAdapter. setup(PDFDocument doc)Setup the PDF image for the current document.voidImageRawCCITTFaxAdapter. setup(PDFDocument doc)Setup the PDF image for the current document.voidImageRawJPEGAdapter. setup(PDFDocument doc)Setup the PDF image for the current document.voidImageRawPNGAdapter. setup(PDFDocument doc)Setup the PDF image for the current document.voidImageRenderedAdapter. setup(PDFDocument doc)Setup the PDF image for the current document.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) -
Uses of PDFDocument in org.apache.fop.svg
Fields in org.apache.fop.svg declared as PDFDocument Modifier and Type Field Description protected PDFDocumentPDFGraphics2D. pdfDocthe PDF Document being createdMethods in org.apache.fop.svg that return PDFDocument Modifier and Type Method Description PDFDocumentPDFDocumentGraphics2D. 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.
-