com.lowagie.text.rtf.document

Class RtfCodePage

public class RtfCodePage extends RtfElement implements RtfExtendedElement

The RtfCodePage class allows different code pages to be used in the rtf document. Currently always ansi / ansicpg1252

Version: $Id:RtfCodePage.java 3126 2008-02-07 20:30:46Z hallm $

Author: Mark Hall (Mark.Hall@mail.room3b.eu) Thomas Bickel (tmb99@inode.at)

Field Summary
static byte[]ANSI
Constant for ansi encoded rtf documents
static byte[]ANSI_CODEPAGE
Constant for the ansi codepage
Constructor Summary
RtfCodePage(RtfDocument doc)
Construct an RtfCodePage
Method Summary
voidwriteContent(OutputStream out)
unused
voidwriteDefinition(OutputStream result)
Writes the selected codepage

Field Detail

ANSI

private static final byte[] ANSI
Constant for ansi encoded rtf documents

ANSI_CODEPAGE

private static final byte[] ANSI_CODEPAGE
Constant for the ansi codepage

Constructor Detail

RtfCodePage

public RtfCodePage(RtfDocument doc)
Construct an RtfCodePage

Parameters: doc The RtfDocument this RtfCodePage belongs to

Method Detail

writeContent

public void writeContent(OutputStream out)
unused

writeDefinition

public void writeDefinition(OutputStream result)
Writes the selected codepage