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, inTableCLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR| Constructor and Description |
|---|
RtfCodePage(RtfDocument doc)
Construct an RtfCodePage
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeContent(java.io.OutputStream out)
unused
|
void |
writeDefinition(java.io.OutputStream result)
Writes the selected codepage
|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocumentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetInHeader, setInTable, setRtfDocumentprivate static final byte[] ANSI
private static final byte[] ANSI_CODEPAGE
public RtfCodePage(RtfDocument doc)
doc - The RtfDocument this RtfCodePage belongs topublic void writeContent(java.io.OutputStream out)
throws java.io.IOException
writeContent in interface RtfBasicElementwriteContent in class RtfElementout - The OutputStream to write the content tojava.io.IOExceptionpublic void writeDefinition(java.io.OutputStream result)
throws java.io.IOException
writeDefinition in interface RtfExtendedElementresult - The OutputStream to write the element definition tojava.io.IOException