Package | Description |
---|---|
org.apache.fop.pdf |
Classes for handling the low-level creation of PDF documents.
|
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.
|
void |
PDFObject.setDocument(PDFDocument doc)
Sets the parent PDFDocument.
|
void |
PDFImage.setup(PDFDocument doc)
Setup the PDF image for the current document.
|
void |
BitmapImage.setup(PDFDocument doc)
Setup this image with the pdf document.
|
void |
AlphaRasterImage.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 |
---|
PDFColor(PDFDocument pdfDoc,
java.awt.Color col)
Create PDFColor for the given document and based on the java.awt.Color object
In case the java.awt.Color is an instance of the ColorExt class a PDFICCStream is added to
the PDFDocument that is being created
|
PDFFactory(PDFDocument document)
Creates a new PDFFactory.
|
PDFProfile(PDFDocument doc)
Main constructor
|
Modifier and Type | Field and Description |
---|---|
protected PDFDocument |
PDFDocumentHandler.pdfDoc
the PDF Document being created
|
PDFDocument |
PDFSVGHandler.PDFInfo.pdfDoc
see PDF_DOCUMENT
|
protected PDFDocument |
PDFRenderer.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 |
AbstractImageAdapter.setup(PDFDocument doc)
Setup the PDF image for the current document.
|
void |
ImageRenderedAdapter.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.
|
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-2010 The Apache Software Foundation. All Rights Reserved.