public static class FNI_FontIndex.FNI_RepeatingGroup extends java.lang.Object implements IAFPDecodeableWriteable
| Modifier and Type | Class and Description |
|---|---|
static class |
FNI_FontIndex.FNI_RepeatingGroup.ComparatorForFNIRepeatinGroups
Comparator used to sort
Collections of FNI_FontIndex.FNI_RepeatingGroups by graphicCharacterGlobalID_GCGID. |
| Constructor and Description |
|---|
FNI_RepeatingGroup() |
| Modifier and Type | Method and Description |
|---|---|
void |
decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
Decodes the given AFP data.
Parameter length specifies the length in bytes of the data to be decoded, beginning with position offset. |
short |
getAscenderHeight() |
short |
getASpace() |
short |
getBaselineOffset() |
short |
getBSpace() |
short |
getCharacterIncrement() |
short |
getCSpace() |
short |
getDescenderDepth() |
int |
getFnmIndex() |
java.lang.String |
getGraphicCharacterGlobalID_GCGID() |
short |
getRepeatingGroupLength() |
byte[] |
getReserved14_15() |
byte[] |
getReserved24_25() |
void |
setAscenderHeight(short ascenderHeight) |
void |
setASpace(short aSpace) |
void |
setBaselineOffset(short baselineOffset) |
void |
setBSpace(short bSpace) |
void |
setCharacterIncrement(short characterIncrement) |
void |
setCSpace(short cSpace) |
void |
setDescenderDepth(short descenderDepth) |
void |
setFnmIndex(int fnmIndex) |
void |
setGraphicCharacterGlobalID_GCGID(java.lang.String graphicCharacterGlobalID_GCGID) |
void |
setRepeatingGroupLength(short repeatingGroupLength)
Sets the repeating group length.
|
void |
setReserved14_15(byte[] reserved14_15) |
void |
setReserved24_25(byte[] reserved24_25) |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
public void decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
throws AFPParserException
IAFPDecodeableWriteabledecodeAFP in interface IAFPDecodeableWriteablesfData - contains the AFP data to decode.offset - the byte index position where the decoding should start.length - the length in bytes of the data to be decoded, beginning with position offset.config - contains parameter used for decoding.AFPParserException - if the given AFP data are invalid.public void writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
throws java.io.IOException
IAFPDecodeableWriteablewriteAFP in interface IAFPDecodeableWriteableos - OutputStream to write to.config - contains parameter used for encoding.java.io.IOException - if a problem occurs while writing to the given OutputStream.public short getRepeatingGroupLength()
public void setRepeatingGroupLength(short repeatingGroupLength)
FNI_FontIndex.FNI_RepeatingGroup
where fields habe been set manually. If the FNI_FontIndex.FNI_RepeatingGroup is set by decodeAFP(byte[], int, int, AFPParserConfiguration), the repeating group length is
determined by the parameters. The length of the repeating group has thepublic java.lang.String getGraphicCharacterGlobalID_GCGID()
public void setGraphicCharacterGlobalID_GCGID(java.lang.String graphicCharacterGlobalID_GCGID)
public short getCharacterIncrement()
public void setCharacterIncrement(short characterIncrement)
public short getAscenderHeight()
public void setAscenderHeight(short ascenderHeight)
public short getDescenderDepth()
public void setDescenderDepth(short descenderDepth)
public byte[] getReserved14_15()
public void setReserved14_15(byte[] reserved14_15)
public int getFnmIndex()
public void setFnmIndex(int fnmIndex)
public short getASpace()
public void setASpace(short aSpace)
public short getBSpace()
public void setBSpace(short bSpace)
public short getCSpace()
public void setCSpace(short cSpace)
public byte[] getReserved24_25()
public void setReserved24_25(byte[] reserved24_25)
public short getBaselineOffset()
public void setBaselineOffset(short baselineOffset)