Uses of Class
org.apache.fop.pdf.PDFDocument
Packages that use PDFDocument
Package
Description
Classes for handling the low-level creation of PDF documents.
PDF Renderer
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 PDFDocumentModifier and TypeMethodDescriptionfinal PDFDocumentPDFFactory.getDocument()Returns the parent PDFDocument associated with this factory.final PDFDocumentPDFObject.getDocument()Returns the parent PDFDocument if assigned.PDFProfile.getDocument()final 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 PDFDocumentModifier and TypeMethodDescriptionvoidPDFResources.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 PDFDocumentModifierConstructorDescriptionPDFDPartRoot(PDFDocument document) PDFFactory(PDFDocument document) Creates a new PDFFactory.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 PDFDocumentModifierConstructorDescriptionCrossReferenceStream(PDFDocument document, int objectNumber, TrailerDictionary trailerDictionary, long startxref, List<Long> uncompressedObjectReferences, List<CompressedObjectReference> compressedObjectReferences) TrailerDictionary(PDFDocument pdfDocument) -
Uses of PDFDocument in org.apache.fop.render.pdf
Fields in org.apache.fop.render.pdf declared as PDFDocumentMethods in org.apache.fop.render.pdf that return PDFDocumentModifier and TypeMethodDescriptionPDFContentGenerator.getDocument()Returns the applicable resource context for the generator.Methods in org.apache.fop.render.pdf with parameters of type PDFDocumentModifier and TypeMethodDescriptionvoidAbstractImageAdapter.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 PDFDocumentModifierConstructorDescriptionPDFContentGenerator(PDFDocument document, OutputStream out, PDFResourceContext resourceContext) Main constructor.PDFContentGenerator(PDFDocument document, OutputStream out, PDFResourceContext resourceContext, IFContext context) -
Uses of PDFDocument in org.apache.fop.svg
Fields in org.apache.fop.svg declared as PDFDocumentModifier and TypeFieldDescriptionprotected PDFDocumentPDFGraphics2D.pdfDocthe PDF Document being createdMethods in org.apache.fop.svg that return PDFDocumentModifier and TypeMethodDescriptionPDFDocumentGraphics2D.getPDFDocument()Get the pdf document created by this class.Constructors in org.apache.fop.svg with parameters of type PDFDocumentModifierConstructorDescriptionPDFGraphics2D(boolean textAsShapes, FontInfo fi, PDFDocument doc, PDFResourceContext page, PDFReference pref, String font, float size, PDFGraphics2D.TransparencyIgnoredEventListener listener) Create a new PDFGraphics2D with the given pdf document info.