java.lang.Object | |
↳ | com.pdftron.pdf.struct.RoleMap |
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.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RoleMap(Obj dict)
Initialize a RoleMap using an existing low-leval Cos/SDF role map dictionary.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getDirectMap(String type)
Get the direct map from the given type.
| ||||||||||
Obj |
getSDFObj()
Get the RoleMap dictionary as a SDFObj.
| ||||||||||
boolean |
isValid()
Checks if RoleMap is valid.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Initialize a RoleMap using an existing low-leval Cos/SDF role map dictionary.
Note: This constructor does not copy any data, but is instead the logical equivalent of a type cast.
dict | - a low-level (SDF/Cos) RoleMap dictionary. |
---|
Get the direct map from the given type.
type | the input StructElement type |
---|
PDFNetException |
---|
Get the RoleMap dictionary as a SDFObj.
Checks if RoleMap is valid.
PDFNetException |
---|