| |
|
| java.lang.Object com.lowagie.text.rtf.RtfElement com.lowagie.text.rtf.text.RtfChunk
RtfChunk | public class RtfChunk extends RtfElement (Code) | | The RtfChunk contains one piece of text. The smallest text element available
in iText.
version: $Id: RtfChunk.java 2784 2007-05-24 15:43:40Z hallm $ author: Mark Hall (mhall@edu.uni-klu.ac.at) author: Thomas Bickel (tmb99@inode.at) |
Method Summary | |
public boolean | getSoftLineBreaks() Gets whether to use soft line breaks instead of default hard ones. | public void | setRtfDocument(RtfDocument doc) Sets the RtfDocument this RtfChunk belongs to. | public void | setSoftLineBreaks(boolean softLineBreaks) Sets whether to use soft line breaks instead of default hard ones. | public byte[] | write() Writes the content of this RtfChunk. | public void | writeContent(OutputStream result) Writes the content of this RtfChunk. |
RtfChunk | public RtfChunk(RtfDocument doc, Chunk chunk)(Code) | | Constructs a RtfChunk based on the content of a Chunk
Parameters: doc - The RtfDocument that this Chunk belongs to Parameters: chunk - The Chunk that this RtfChunk is based on |
getSoftLineBreaks | public boolean getSoftLineBreaks()(Code) | | Gets whether to use soft line breaks instead of default hard ones.
whether to use soft line breaks instead of default hard ones. |
setRtfDocument | public void setRtfDocument(RtfDocument doc)(Code) | | Sets the RtfDocument this RtfChunk belongs to.
Parameters: doc - The RtfDocument to use |
setSoftLineBreaks | public void setSoftLineBreaks(boolean softLineBreaks)(Code) | | Sets whether to use soft line breaks instead of default hard ones.
Parameters: softLineBreaks - whether to use soft line breaks instead of default hard ones. |
write | public byte[] write()(Code) | | Writes the content of this RtfChunk. First the font information
is written, then the content, and then more font information
A byte array with the content of this RtfChunkRtfChunk.writeContent(OutputStream) |
writeContent | public void writeContent(OutputStream result) throws IOException(Code) | | Writes the content of this RtfChunk. First the font information
is written, then the content, and then more font information
|
|
|
|