Uses of Class
org.apache.fop.pdf.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
Modifier and TypeMethodDescriptionfinal PDFDocument
PDFFactory.getDocument()
Returns the parent PDFDocument associated with this factory.final PDFDocument
PDFObject.getDocument()
Returns the parent PDFDocument if assigned.PDFProfile.getDocument()
final 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.Modifier and TypeMethodDescriptionvoid
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.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.ModifierConstructorDescriptionPDFDPartRoot
(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
ModifierConstructorDescriptionCrossReferenceStream
(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
Modifier and TypeMethodDescriptionPDFContentGenerator.getDocument()
Returns the applicable resource context for the generator.Modifier and TypeMethodDescriptionvoid
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.ModifierConstructorDescriptionPDFContentGenerator
(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
Modifier and TypeFieldDescriptionprotected PDFDocument
PDFGraphics2D.pdfDoc
the PDF Document being createdModifier and TypeMethodDescriptionPDFDocumentGraphics2D.getPDFDocument()
Get the pdf document created by this class.ModifierConstructorDescriptionPDFGraphics2D
(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.