Uses of Class org.apache.fop.pdf.PDFStream (Apache FOP Core 2.11 API)
Date: 2025-04-24

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

- Packages that use PDFStream
  Package | Description
  --- | ---
  org.apache.fop.pdf | Classes for handling the low-level creation of PDF documents.
  org.apache.fop.render.pdf | PDF Renderer

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

    Subclasses of PDFStream in org.apache.fop.pdf
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ObjectStream` An object stream, as described in section 3.4.6 of the PDF 1.5 Reference.
    `class` | `PDFCMap` Class representing the CMap encodings.
    `class` | `PDFEmbeddedFile` This class represents an embedded file stream.
    `class` | `PDFICCStream` Special PDFStream for ICC profiles (color profiles).
    `class` | `PDFMetadata` Special PDFStream for Metadata.
    `class` | `PDFToUnicodeCMap` Class representing ToUnicode CMaps.

    Methods in org.apache.fop.pdf that return PDFStream
    Modifier and Type | Method and Description
    --- | ---
    `PDFStream` | PDFFactory.`makeStream(String type, boolean add)` Make a stream object

    Methods in org.apache.fop.pdf with parameters of type PDFStream
    Modifier and Type | Method and Description
    --- | ---
    `void` | PDFCharProcs.`addCharacter(String name, PDFStream stream)` add a character definition in the dictionary
    `PDFFormXObject` | PDFDocument.`addFormXObject(PDFResourceContext res, PDFStream cont, PDFReference formres, String key)` Add a form XObject to the PDF document.
    `void` | PDFCIDFont.`setCIDMap(PDFStream map)` Set the /CIDToGIDMap (to be used only for CIDFontType2)
    `void` | PDFCIDFontDescriptor.`setCIDSet(PDFStream cidSet)` Set the CID set stream.
    `void` | PDFCMap.`setUseCMap(PDFStream base)` set the base CMap

    Constructors in org.apache.fop.pdf with parameters of type PDFStream
    Constructor and Description
    `PDFFormXObject(int xnumber, PDFStream contents, PDFReference resources)` create a FormXObject with the given number and name and load the image in the object

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

    Methods in org.apache.fop.render.pdf that return PDFStream
    Modifier and Type | Method and Description
    --- | ---
    `PDFStream` | PDFContentGenerator.`getStream()` Returns the `PDFStream` associated with this instance.

    Methods in org.apache.fop.render.pdf with parameters of type PDFStream
    Modifier and Type | Method and Description
    --- | ---
    `void` | PDFContentGenerator.`setColor(Color col, boolean fill, PDFStream stream)` Establishes a new foreground or fill color.

Copyright © 2025 Apache Software Foundation. All rights reserved.