RoleMap

Overview

RoleMap is a class in Aspose.Pdf FOSS for Java.

Maps custom structure type names to standard types (ISO 32000-1:2008, §14.7.3).

Properties

NameTypeAccessDescription
mapMap<String, StructureTypeStandard>ReadReturns an unmodifiable view of the role map entries.

Methods

SignatureDescription
parse(roleMapDict: COSDictionary)RoleMapParses a RoleMap from a COS dictionary.
resolve(typeName: String)StructureTypeStandardResolves a type name through the role map.
getMap()Map<String, StructureTypeStandard>Returns an unmodifiable view of the role map entries.
size()intReturns the number of mappings.

See Also