public class RtfCodePage extends RtfElement implements RtfExtendedElement
Modifier and Type | Field and Description |
---|---|
private static byte[] |
ANSI
Constant for ansi encoded rtf documents
|
private static byte[] |
ANSI_CODEPAGE
Constant for the ansi codepage
|
document, inHeader, inTable
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR
Constructor and Description |
---|
RtfCodePage(RtfDocument doc)
Construct an RtfCodePage
|
Modifier and Type | Method and Description |
---|---|
byte[] |
writeDefinition()
Writes the selected codepage to a byte array
|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setInHeader, setInTable, setRtfDocument, write
private static final byte[] ANSI
private static final byte[] ANSI_CODEPAGE
public RtfCodePage(RtfDocument doc)
doc
- The RtfDocument this RtfCodePage belongs topublic byte[] writeDefinition()
writeDefinition
in interface RtfExtendedElement