Class PdfIndirectObject

java.lang.Object
com.lowagie.text.pdf.PdfIndirectObject

@Deprecated public class PdfIndirectObject extends Object
Deprecated.
PdfIndirectObject is the Pdf indirect object.

An indirect object is an object that has been labeled so that it can be referenced by other objects. Any type of PdfObject may be labeled as an indirect object.
An indirect object consists of an object identifier, a direct object, and the endobj keyword. The object identifier consists of an integer object number, an integer generation number, and the obj keyword.
This object is described in the 'Portable Document Format Reference Manual version 1.7' section 3.2.9 (page 63-65).

See Also:
  • Field Details

    • STARTOBJ

      static final byte[] STARTOBJ
      Deprecated.
    • ENDOBJ

      static final byte[] ENDOBJ
      Deprecated.
    • SIZEOBJ

      static final int SIZEOBJ
      Deprecated.
    • number

      protected int number
      Deprecated.
      The object number
    • generation

      protected int generation
      Deprecated.
      the generation number
    • object

      PdfObject object
      Deprecated.
    • writer

      PdfWriter writer
      Deprecated.
  • Constructor Details

    • PdfIndirectObject

      PdfIndirectObject(int number, PdfObject object, PdfWriter writer)
      Deprecated.
      Constructs a PdfIndirectObject.
      Parameters:
      number - the object number
      object - the direct object
    • PdfIndirectObject

      PdfIndirectObject(PdfIndirectReference ref, PdfObject object, PdfWriter writer)
      Deprecated.
    • PdfIndirectObject

      PdfIndirectObject(int number, int generation, PdfObject object, PdfWriter writer)
      Deprecated.
      Constructs a PdfIndirectObject.
      Parameters:
      number - the object number
      generation - the generation number
      object - the direct object
  • Method Details

    • getIndirectReference

      public PdfIndirectReference getIndirectReference()
      Deprecated.
      Returns a PdfIndirectReference to this PdfIndirectObject.
      Returns:
      a PdfIndirectReference
    • writeTo

      void writeTo(OutputStream os) throws IOException
      Deprecated.
      Writes efficiently to a stream
      Parameters:
      os - the stream to write to
      Throws:
      IOException - on write error