Class PdfStructureTreeRoot


@Deprecated public class PdfStructureTreeRoot extends PdfDictionary
Deprecated.
The structure tree root corresponds to the highest hierarchy level in a tagged PDF.
Author:
Paulo Soares (psoares@consiste.pt)
  • Method Details

    • mapRole

      public void mapRole(PdfName used, PdfName standard)
      Deprecated.
      Maps the user tags to the standard tags. The mapping will allow a standard application to make some sense of the tagged document whatever the user tags may be.
      Parameters:
      used - the user tag
      standard - the standard tag
    • getWriter

      public PdfWriter getWriter()
      Deprecated.
      Gets the writer.
      Returns:
      the writer
    • getReference

      public PdfIndirectReference getReference()
      Deprecated.
      Gets the reference this object will be written to.
      Returns:
      the reference this object will be written to
      Since:
      2.1.6 method removed in 2.1.5, but restored in 2.1.6
    • addExistingObject

      public int addExistingObject(PdfIndirectReference reference)
      Deprecated.
      Adds a reference to the existing (already added to the document) object to the parentTree. This method can be used when the object is need to be referenced via /StructParent key.
      Returns:
      key which define the object record key (e.g. in /NUMS array)