intarsys PDF library API

de.intarsys.pdf.font
Class CMap

java.lang.Object
  extended by de.intarsys.pdf.cos.COSBasedObject
      extended by 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
 
Field Summary
static CMap.MetaClass META
          The meta class instance
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

META

public static final CMap.MetaClass META
The meta class instance

Method Detail

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)

intarsys PDF library API

Copyright © 2006 intarsys consulting GmbH. All Rights Reserved.