Class PRIndirectReference


@Deprecated public class PRIndirectReference extends PdfIndirectReference
Deprecated.
  • Field Details

    • reader

      protected PdfReader reader
      Deprecated.
  • Constructor Details

    • PRIndirectReference

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

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

    • toPdf

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

      public PdfReader getReader()
      Deprecated.
    • setNumber

      public void setNumber(int number, int generation)
      Deprecated.