public class MCF_MapCodedFont_Format1 extends StructuredField
| Modifier and Type | Class and Description |
|---|---|
static class |
MCF_MapCodedFont_Format1.MCF_RepeatingGroup |
| Constructor and Description |
|---|
MCF_MapCodedFont_Format1() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRepeatingGroup(MCF_MapCodedFont_Format1.MCF_RepeatingGroup repeatingGroup) |
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 |
getLengthOfRepeatingGroup() |
java.util.List<MCF_MapCodedFont_Format1.MCF_RepeatingGroup> |
getRepeatingGroups() |
byte[] |
getReserved1_3() |
void |
removeRepeatingGroup(MCF_MapCodedFont_Format1.MCF_RepeatingGroup repeatingGroup) |
void |
setLengthOfRepeatingGroup(short lengthOfRepeatingGroup) |
void |
setRepeatingGroups(java.util.List<MCF_MapCodedFont_Format1.MCF_RepeatingGroup> repeatingGroups) |
void |
setReserved1_3(byte[] reserved1_3) |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
Writes the object to the given os encoded as AFP data.
|
checkDataLength, getActualLength, getPadding, getStructuredFieldIntroducer, isBeginSF, isEndSF, isShallow, setPadding, setStructuredFieldIntroducer, toString, writeFullStructuredFieldpublic void decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
throws AFPParserException
IAFPDecodeableWriteabledecodeAFP in interface IAFPDecodeableWriteabledecodeAFP in class StructuredFieldsfData - 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 IAFPDecodeableWriteablewriteAFP in class StructuredFieldos - 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 getLengthOfRepeatingGroup()
public void setLengthOfRepeatingGroup(short lengthOfRepeatingGroup)
public byte[] getReserved1_3()
public void setReserved1_3(byte[] reserved1_3)
public java.util.List<MCF_MapCodedFont_Format1.MCF_RepeatingGroup> getRepeatingGroups()
public void setRepeatingGroups(java.util.List<MCF_MapCodedFont_Format1.MCF_RepeatingGroup> repeatingGroups)
public void addRepeatingGroup(MCF_MapCodedFont_Format1.MCF_RepeatingGroup repeatingGroup)
public void removeRepeatingGroup(MCF_MapCodedFont_Format1.MCF_RepeatingGroup repeatingGroup)