Structure Classes

  • An application or plug-in extension that processes logical structure can attach additional information, called attributes, to any structure element. The attribute information is held in one or more attribute objects associated with the structure element. An attribute object is a dictionary or stream that includes an entry identifying the application or plug-in that owns the attribute information. Other entries represent the attributes: the keys are attribute names, and values are the corresponding attribute values.

    See more

    Declaration

    Objective-C

    @interface PTAttrObj : NSObject

    Swift

    class PTAttrObj : NSObject
  • Declaration

    Objective-C

    @interface PTClassMap : NSObject

    Swift

    class PTClassMap : NSObject
  • Content items are graphical objects that exist in the document independently of the structure tree but are associated with structure elements.

    Content items are leaf nodes of the structure tree.

    See more

    Declaration

    Objective-C

    @interface PTContentItem : NSObject

    Swift

    class PTContentItem : NSObject
  • RoleMap is a dictionary that maps the names of structure types used in the document to their approximate equivalents in the set of standard structure types.

    See more

    Declaration

    Objective-C

    @interface PTRoleMap : NSObject

    Swift

    class PTRoleMap : NSObject
  • SElement represents PDF structural elements, which are nodes in a tree structure, defining a PDF document’s logical structure.

    Unlike the StructTree, SElement can have two different kinds of children: another SElement or a ContentItem (which can be marked content (MC), or a PDF object reference (OBJR)).

    See more

    Declaration

    Objective-C

    @interface PTSElement : NSObject

    Swift

    class PTSElement : NSObject
  • STree is the root of the structure tree, which is a central repository for information related to a PDF document’s logical structure. There is at most one structure tree in each document.

    See more

    Declaration

    Objective-C

    @interface PTSTree : NSObject

    Swift

    class PTSTree : NSObject