Class DocumentRevision

java.lang.Object
com.itextpdf.kernel.pdf.DocumentRevision

public class DocumentRevision extends Object
Class which stores information about single PDF document revision.
  • Constructor Details

    • DocumentRevision

      public DocumentRevision (long eofOffset, Set<PdfIndirectReference> modifiedObjects)
      Creates DocumentRevision from end-of-file byte position and a set of indirect references which were modified in this document revision.
      Parameters:
      eofOffset - end-of-file byte position
      modifiedObjects - Set of PdfIndirectReference objects which were modified
  • Method Details

    • getEofOffset

      public long getEofOffset()
      Gets end-of-file byte position.
      Returns:
      end-of-file byte position
    • getModifiedObjects

      public Set<PdfIndirectReference> getModifiedObjects()
      Gets objects which were modified in this document revision.
      Returns:
      Set of PdfIndirectReference objects which were modified