public static class FNP_FontPosition.FNP_RepeatingGroup extends java.lang.Object implements IAFPDecodeableWriteable
| Constructor and Description |
|---|
FNP_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 |
getCapMHeight() |
short |
getLowercaseHeight() |
short |
getMaxAscenderHeight() |
short |
getMaxDescenderDepth() |
byte[] |
getReserved0_1() |
byte[] |
getReserved10_14() |
short |
getReserved16() |
short |
getRetired15() |
short |
getUnderscorePosition() |
short |
getUnderscoreWidth_Units() |
short |
getUnderscoreWidthFraction() |
void |
setCapMHeight(short capMHeight) |
void |
setLowercaseHeight(short lowercaseHeight) |
void |
setMaxAscenderHeight(short maxAscenderHeight) |
void |
setMaxDescenderDepth(short maxDescenderDepth) |
void |
setReserved0_1(byte[] reserved0_1) |
void |
setReserved10_14(byte[] reserved10_14) |
void |
setReserved16(short reserved16) |
void |
setRetired15(short retired15) |
void |
setUnderscorePosition(short underscorePosition) |
void |
setUnderscoreWidth_Units(short underscoreWidth_Units) |
void |
setUnderscoreWidthFraction(short underscoreWidthFraction) |
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 byte[] getReserved0_1()
public void setReserved0_1(byte[] reserved0_1)
public short getLowercaseHeight()
public void setLowercaseHeight(short lowercaseHeight)
public short getCapMHeight()
public void setCapMHeight(short capMHeight)
public short getMaxAscenderHeight()
public void setMaxAscenderHeight(short maxAscenderHeight)
public short getMaxDescenderDepth()
public void setMaxDescenderDepth(short maxDescenderDepth)
public byte[] getReserved10_14()
public void setReserved10_14(byte[] reserved10_14)
public short getRetired15()
public void setRetired15(short retired15)
public short getReserved16()
public void setReserved16(short reserved16)
public short getUnderscoreWidth_Units()
public void setUnderscoreWidth_Units(short underscoreWidth_Units)
public short getUnderscoreWidthFraction()
public void setUnderscoreWidthFraction(short underscoreWidthFraction)
public short getUnderscorePosition()
public void setUnderscorePosition(short underscorePosition)