com.lowagie.text.pdf
Class CFFFont.IndexOffsetItem

java.lang.Object
  extended bycom.lowagie.text.pdf.CFFFont.Item
      extended bycom.lowagie.text.pdf.CFFFont.OffsetItem
          extended bycom.lowagie.text.pdf.CFFFont.IndexOffsetItem
Enclosing class:
CFFFont

private static final class CFFFont.IndexOffsetItem
extends CFFFont.OffsetItem

an index-offset item for the list. the size denotes the required size in the CFF. a positive value means that we need a specific size in bytes (for offset arrays) and a negative value means that this is a dict item that uses a variable-size representation.


Field Summary
protected  int myOffset
           
 int size
           
 int value
           
 
Constructor Summary
CFFFont.IndexOffsetItem(int size)
           
CFFFont.IndexOffsetItem(int size, int value)
           
 
Method Summary
 void emit(byte[] buffer)
          Emit the byte stream for this item.
 void increment(int[] currentOffset)
          remember the current offset and increment by item's size in bytes.
 void set(int offset)
          set the value of an offset item that was initially unknown.
 void xref()
          Fix up cross references to this item (applies only to markers).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

size

public final int size

value

public int value

myOffset

protected int myOffset
Constructor Detail

CFFFont.IndexOffsetItem

public CFFFont.IndexOffsetItem(int size,
                               int value)

CFFFont.IndexOffsetItem

public CFFFont.IndexOffsetItem(int size)
Method Detail

increment

public void increment(int[] currentOffset)
Description copied from class: CFFFont.Item
remember the current offset and increment by item's size in bytes.

Overrides:
increment in class CFFFont.Item

emit

public void emit(byte[] buffer)
Description copied from class: CFFFont.Item
Emit the byte stream for this item.

Overrides:
emit in class CFFFont.Item

set

public void set(int offset)
set the value of an offset item that was initially unknown. It will be fixed up latex by a call to xref on some marker.


xref

public void xref()
Fix up cross references to this item (applies only to markers).