public static class PTOCAControlSequence.TRN_TransparentData extends PTOCAControlSequence
PTOCAControlSequence.AMB_AbsoluteMoveBaseline, PTOCAControlSequence.AMI_AbsoluteMoveInline, PTOCAControlSequence.BLN_BeginLine, PTOCAControlSequence.BSU_BeginSuppression, PTOCAControlSequence.ControlSequenceFunctionType, PTOCAControlSequence.ControlSequenceIntroducer, PTOCAControlSequence.DBR_DrawBaxisRule, PTOCAControlSequence.DIR_DrawIaxisRule, PTOCAControlSequence.ESU_EndSuppression, PTOCAControlSequence.NOP_NoOperation, PTOCAControlSequence.OVS_Overstrike, PTOCAControlSequence.PTOCA_BypassFlag, PTOCAControlSequence.RMB_RelativeMoveBaseline, PTOCAControlSequence.RMI_RelativeMoveInline, PTOCAControlSequence.RPS_RepeatString, PTOCAControlSequence.SBI_SetBaselineIncrement, PTOCAControlSequence.SCFL_SetCodedFontLocal, PTOCAControlSequence.SEC_SetExtendedTextColor, PTOCAControlSequence.SIA_SetIntercharacterAdjustment, PTOCAControlSequence.SIM_SetInlineMargin, PTOCAControlSequence.STC_SetTextColor, PTOCAControlSequence.STO_SetTextOrientation, PTOCAControlSequence.SVI_SetVariableSpaceCharacterIncrement, PTOCAControlSequence.TBM_TemporaryBaselineMove, PTOCAControlSequence.TRN_TransparentData, PTOCAControlSequence.Undefined, PTOCAControlSequence.USC_Underscore| Constructor and Description |
|---|
TRN_TransparentData() |
| 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. |
java.lang.String |
getTransparentData() |
byte[] |
getTransparentDataEBCDIC() |
boolean |
isUseEBCDICData()
Returns true if the EBCDIC data is used in
writeAFP(OutputStream,
AFPParserConfiguration) without performing a encoding/decoding round trip. |
void |
setTransparentData(java.lang.String transparentData) |
void |
setTransparentDataEBCDIC(byte[] transparentDataEBCDIC) |
void |
setUseEBCDICData(boolean isUseEBCDICData)
If given parameter is true the EBCDIC data is used in
writeAFP(OutputStream,
AFPParserConfiguration) without performing an encoding/decoding round trip.This might be usefull if problems occure with special code points (eg. |
void |
writeAFP(java.io.OutputStream os,
AFPParserConfiguration config)
If
isUseEBCDICData() is set tot true the EBCDIC data is written out without
performing an encoding/decoding round trip. |
getCsi, setCsipublic void decodeAFP(byte[] sfData,
int offset,
int length,
AFPParserConfiguration config)
throws AFPParserException
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
isUseEBCDICData() is set tot true the EBCDIC data is written out without
performing an encoding/decoding round trip. See setUseEBCDICData(boolean).os - OutputStream to write to.config - contains parameter used for encoding.java.io.IOException - if a problem occurs while writing to the given OutputStream.public java.lang.String getTransparentData()
public void setTransparentData(java.lang.String transparentData)
public byte[] getTransparentDataEBCDIC()
public void setTransparentDataEBCDIC(byte[] transparentDataEBCDIC)
public boolean isUseEBCDICData()
writeAFP(OutputStream,
AFPParserConfiguration) without performing a encoding/decoding round trip.public void setUseEBCDICData(boolean isUseEBCDICData)
writeAFP(OutputStream,
AFPParserConfiguration) without performing an encoding/decoding round trip.