ToUnicodeCMap
Overview
ToUnicodeCMap is a class in Aspose.PDF FOSS for Java.
A parsed ToUnicode CMap (ISO 32000-1:2008, §9.10.3).
This class provides 5 methods for working with ToUnicodeCMap objects in Java programs.
Available methods include: ToUnicodeCMap, contains, getMappings, lookup, size.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: mappings.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
mappings | Map<Integer, String> | Read | Returns an unmodifiable view of all mappings. |
Methods
| Signature | Description |
|---|---|
ToUnicodeCMap(mappings: Map<Integer, String>) | Creates a ToUnicodeCMap with the given mappings. |
lookup(charCode: int) → String | Looks up the Unicode string for the given character code. |
contains(charCode: int) → boolean | Returns whether the given character code is mapped. |
size() → int | Returns the number of mappings. |
getMappings() → Map<Integer, String> | Returns an unmodifiable view of all mappings. |