Class PRIndirectReference

All Implemented Interfaces:
Serializable

public class PRIndirectReference extends PdfIndirectReference
See Also:
  • Field Details

  • Constructor Details

    • PRIndirectReference

      public PRIndirectReference(PdfReader reader, int number, int generation)
      Constructs a PdfIndirectReference.
      Parameters:
      reader - a PdfReader
      number - the object number.
      generation - the generation number.
    • PRIndirectReference

      public PRIndirectReference(PdfReader reader, int number)
      Constructs a PdfIndirectReference.
      Parameters:
      reader - a PdfReader
      number - the object number.
  • Method Details

    • toPdf

      public void toPdf(PdfWriter writer, OutputStream os) throws IOException
      Description copied from class: PdfObject
      Writes the PDF representation of this PdfObject as an array of bytes to the writer.
      Overrides:
      toPdf in class PdfIndirectReference
      Parameters:
      writer - for backwards compatibility
      os - The OutputStream to write the bytes to.
      Throws:
      IOException
    • getReader

      public PdfReader getReader()
    • setNumber

      public void setNumber(int number, int generation)