PTAttrObj

@interface PTAttrObj : NSObject

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.

  • Declaration

    Objective-C

    - (NSString *)GetOwner;

    Swift

    func getOwner() -> String!

    Return Value

    The name of the application or plug-in extension owning the attribute data.

  • Declaration

    Objective-C

    - (PTObj *)GetSDFObj;

    Swift

    func getSDFObj() -> PTObj!

    Return Value

    Pointer to the underlying SDF/Cos object.

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)initWithDict: (PTObj*)dict;

    Swift

    init!(dict: PTObj!)