de.intarsys.pdf.font
Class CMap
java.lang.Object
de.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.font.CMap
- All Implemented Interfaces:
- ICOSObjectListener, IAttributeSupport
- Direct Known Subclasses:
- NamedCMap, StreamBasedCMap
public abstract class CMap
- extends COSBasedObject
A character map. This object can map from character codes to CID's which can
be used to index in a font object.
Nested Class Summary |
static class |
CMap.MetaClass
The meta class implementation |
Method Summary |
abstract CID |
getNextCID(byte[] bytes,
int offset)
|
abstract CID |
lookup(byte[] value)
|
static int |
toInt(byte[] bytes)
|
static int |
toInt(byte[] bytes,
int offset,
int length)
|
Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString, toString |
META
public static final CMap.MetaClass META
- The meta class instance
toInt
public static int toInt(byte[] bytes)
toInt
public static int toInt(byte[] bytes,
int offset,
int length)
lookup
public abstract CID lookup(byte[] value)
getNextCID
public abstract CID getNextCID(byte[] bytes,
int offset)
Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.