Uses of Class org.apache.fop.pdf.PDFResourceContext (Apache FOP 2.7 API)
Date: 2022-01-12

## Uses of Class
org.apache.fop.pdf.PDFResourceContext

- Packages that use PDFResourceContext
  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.

- - ### Uses of PDFResourceContext in org.apache.fop.pdf

    Subclasses of PDFResourceContext in org.apache.fop.pdf
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PDFPage` Class representing a /Page object.

    Fields in org.apache.fop.pdf with type parameters of type PDFResourceContext
    Modifier and Type | Field and Description
    --- | ---
    `protected java.util.Set<PDFResourceContext>` | PDFResources.`contexts`

    Methods in org.apache.fop.pdf with parameters of type PDFResourceContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | PDFResources.`addContext(PDFResourceContext c)`
    `PDFFormXObject` | PDFDocument.`addFormXObject(PDFResourceContext res, PDFStream cont, PDFReference formres, java.lang.String key)` Add a form XObject to the PDF document.
    `PDFImageXObject` | PDFDocument.`addImage(PDFResourceContext res, PDFImage img)` Add an image to the PDF document.
    `PDFICCBasedColorSpace` | PDFFactory.`makeICCBasedColorSpace(PDFResourceContext res, java.lang.String explicitName, PDFICCStream iccStream)` Makes a new ICCBased color space and registers it in the resource context.
    `PDFPattern` | PDFFactory.`makePattern(PDFResourceContext res, int thePatternType, PDFResources theResources, int thePaintType, int theTilingType, java.util.List theBBox, double theXStep, double theYStep, java.util.List theMatrix, java.util.List theXUID, java.lang.StringBuffer thePatternDataStream)` Make a tiling pattern
    `PDFSeparationColorSpace` | PDFFactory.`makeSeparationColorSpace(PDFResourceContext res, org.apache.xmlgraphics.java2d.color.NamedColorSpace ncs)` Create a new Separation color space.
    `PDFPattern` | PDFFactory.`registerPattern(PDFResourceContext res, PDFPattern pattern)`
    `PDFShading` | PDFFactory.`registerShading(PDFResourceContext res, PDFShading shading)` Registers a shading object against the document

  - ### Uses of PDFResourceContext in org.apache.fop.render.pdf

    Fields in org.apache.fop.render.pdf declared as PDFResourceContext
    Modifier and Type | Field and Description
    --- | ---
    `PDFResourceContext` | PDFSVGHandler.PDFInfo.`pdfContext` see PDF_CONTEXT

    Methods in org.apache.fop.render.pdf that return PDFResourceContext
    Modifier and Type | Method and Description
    --- | ---
    `PDFResourceContext` | PDFContentGenerator.`getResourceContext()` Returns the applicable resource context for the generator.

    Constructors in org.apache.fop.render.pdf with parameters of type PDFResourceContext
    Constructor and 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 PDFResourceContext in org.apache.fop.svg

    Fields in org.apache.fop.svg declared as PDFResourceContext
    Modifier and Type | Field and Description
    --- | ---
    `protected PDFResourceContext` | PDFGraphics2D.`resourceContext` The current resource context for adding fonts, patterns etc.

    Constructors in org.apache.fop.svg with parameters of type PDFResourceContext
    Constructor and 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.

Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.