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 Renderer
|
org.apache.fop.svg |
Classes that add SVG support to FOP and SVG->PDF conversion for Batik.
|
Modifier and Type | Method and Description |
---|---|
PDFDocument |
PDFProfile.getDocument() |
PDFDocument |
PDFFactory.getDocument()
Returns the parent PDFDocument associated with this factory.
|
PDFDocument |
PDFObject.getDocument()
Returns the parent PDFDocument if assigned.
|
PDFDocument |
PDFObject.getDocumentSafely()
Returns the parent PDFDocument, but unlike
getDocument()
it throws an informative Exception if the parent document is unavailable
instead of having a NullPointerException somewhere without a message. |
Modifier and Type | Method and 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.
|
static VersionController |
VersionController.getDynamicVersionController(Version initialVersion,
PDFDocument doc)
Returns a controller that allows subsequent changes to the document's version.
|
static PDFEncryption |
PDFEncryptionJCE.make(int objectNumber,
PDFEncryptionParams params,
PDFDocument pdf)
Creates and returns an encryption object.
|
static PDFEncryption |
PDFEncryptionManager.newInstance(int objnum,
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 |
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
a
PDFEncryptionParams 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.
|
Constructor and Description |
---|
PDFFactory(PDFDocument document)
Creates a new PDFFactory.
|
PDFProfile(PDFDocument doc)
Main constructor
|
Constructor and 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) |
Modifier and Type | Field and Description |
---|---|
PDFDocument |
PDFSVGHandler.PDFInfo.pdfDoc
see PDF_DOCUMENT
|
protected PDFDocument |
PDFDocumentHandler.pdfDoc
the PDF Document being created
|
Modifier and Type | Method and Description |
---|---|
PDFDocument |
PDFContentGenerator.getDocument()
Returns the applicable resource context for the generator.
|
Modifier and Type | Method and Description |
---|---|
void |
ImageRenderedAdapter.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 |
ImageRawCCITTFaxAdapter.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 |
AbstractImageAdapter.setup(PDFDocument doc)
Setup the PDF image for the current document.
|
Constructor and Description |
---|
PDFContentGenerator(PDFDocument document,
java.io.OutputStream out,
PDFResourceContext resourceContext)
Main constructor.
|
Modifier and Type | Field and Description |
---|---|
protected PDFDocument |
PDFGraphics2D.pdfDoc
the PDF Document being created
|
Modifier and Type | Method and Description |
---|---|
PDFDocument |
PDFDocumentGraphics2D.getPDFDocument()
Get the pdf document created by this class.
|
Constructor and Description |
---|
PDFGraphics2D(boolean textAsShapes,
FontInfo fi,
PDFDocument doc,
PDFResourceContext page,
java.lang.String pref,
java.lang.String font,
float size)
Create a new PDFGraphics2D with the given pdf document info.
|
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.