|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.document.RtfCodePage
public class RtfCodePage
The RtfCodePage class allows different code pages to be used in the rtf document. Currently always ansi / ansicpg1252
Field Summary | |
---|---|
private static byte[] |
ANSI
Constant for ansi encoded rtf documents |
private static byte[] |
ANSI_CODEPAGE
Constant for the ansi codepage |
Fields inherited from class com.lowagie.text.rtf.RtfElement |
---|
document, inHeader, inTable |
Fields inherited from interface com.lowagie.text.rtf.RtfBasicElement |
---|
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR |
Constructor Summary | |
---|---|
RtfCodePage(RtfDocument doc)
Construct an RtfCodePage |
Method Summary | |
---|---|
byte[] |
write()
Deprecated. As of iText 2.0.6 or earlier, replaced by writeContent(OutputStream) , scheduled for removal at or after 2.1.0 |
void |
writeContent(java.io.OutputStream out)
unused |
byte[] |
writeDefinition()
Deprecated. As of iText 2.0.6 or earlier, replaced by writeDefinition(OutputStream) , scheduled for removal at or after 2.1.0 |
void |
writeDefinition(java.io.OutputStream result)
Writes the selected codepage |
Methods inherited from class com.lowagie.text.rtf.RtfElement |
---|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.lowagie.text.rtf.RtfBasicElement |
---|
setInHeader, setInTable, setRtfDocument |
Field Detail |
---|
private static final byte[] ANSI
private static final byte[] ANSI_CODEPAGE
Constructor Detail |
---|
public RtfCodePage(RtfDocument doc)
doc
- The RtfDocument this RtfCodePage belongs toMethod Detail |
---|
public byte[] write()
writeContent(OutputStream)
, scheduled for removal at or after 2.1.0
write
in interface RtfBasicElement
write
in class RtfElement
public void writeContent(java.io.OutputStream out) throws java.io.IOException
writeContent
in interface RtfBasicElement
writeContent
in class RtfElement
java.io.IOException
public byte[] writeDefinition()
writeDefinition(OutputStream)
, scheduled for removal at or after 2.1.0
writeDefinition
in interface RtfExtendedElement
public void writeDefinition(java.io.OutputStream result) throws java.io.IOException
writeDefinition
in interface RtfExtendedElement
java.io.IOException
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |