Class PdfWriter.PdfBody

java.lang.Object
com.aowagie.text.pdf.PdfWriter.PdfBody
Enclosing class:
PdfWriter

static class PdfWriter.PdfBody extends Object
This class generates the structure of a PDF document.

This class covers the third section of Chapter 5 in the 'Portable Document Format Reference Manual version 1.3' (page 55-60). It contains the body of a PDF document (section 5.14) and it can also generate a Cross-reference Table (section 5.15).

See Also:
  • Field Details

    • OBJSINSTREAM

      private static final int OBJSINSTREAM
      See Also:
    • xrefs

      private final TreeSet xrefs
      array containing the cross-reference table of the normal objects.
    • refnum

      private int refnum
    • position

      private int position
      the current byte position in the body.
    • writer

      private final PdfWriter writer
    • index

      private ByteBuffer index
    • streamObjects

      private ByteBuffer streamObjects
    • currentObjNum

      private int currentObjNum
    • numObj

      private int numObj
  • Constructor Details

    • PdfBody

      PdfBody(PdfWriter writer)
      Constructs a new PdfBody.
      Parameters:
      writer -
  • Method Details