IRtfExternalGraphicContainer, IRtfParagraphContainer, IRtfTableContainer, IRtfTextrunContainerpublic class RtfBefore extends RtfContainer
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
HEADER |
RtfBefore attributes
|
static java.lang.String[] |
HEADER_ATTR |
String array of attribute names
|
attrib, parent, writer| Modifier and Type | Method | Description |
|---|---|---|
void |
closeAll() |
|
RtfAttributes |
getAttributes() |
|
RtfTextrun |
getTextrun() |
Returns the current RtfTextrun object.
|
RtfExternalGraphic |
newImage() |
Creates a new image on external graphic base.
|
RtfParagraph |
newParagraph() |
Close current paragraph, if any, and start a new one with default
attributes.
|
RtfParagraph |
newParagraph(RtfAttributes attrs) |
Close current paragraph, if any, and start a new one with specified
attributes
|
RtfTable |
newTable(ITableColumnsInfo tc) |
close current table if any and start a new one
|
RtfTable |
newTable(RtfAttributes attrs,
ITableColumnsInfo tc) |
close current table if any and start a new one
|
protected void |
writeMyAttributes() |
Write the attributes for this element
|
protected void |
writeRtfPrefix() |
Called before writeRtfContent()
|
protected void |
writeRtfSuffix() |
Called after writeRtfContent()
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChild, findChildren, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContentclose, getParentOfClass, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeStarControlWord, writeStarControlWordNSpublic static final java.lang.String HEADER
public static final java.lang.String[] HEADER_ATTR
protected void writeMyAttributes()
throws java.io.IOException
java.io.IOException - for I/O problemspublic RtfParagraph newParagraph() throws java.io.IOException
IRtfParagraphContainernewParagraph in interface IRtfParagraphContainerjava.io.IOException - for I/O problems.public RtfParagraph newParagraph(RtfAttributes attrs) throws java.io.IOException
IRtfParagraphContainernewParagraph in interface IRtfParagraphContainerattrs - attributes for new paragraphjava.io.IOException - for I/O problems.public RtfExternalGraphic newImage() throws java.io.IOException
IRtfExternalGraphicContainernewImage in interface IRtfExternalGraphicContainerjava.io.IOException - On errorprotected void writeRtfPrefix()
throws java.io.IOException
RtfElementwriteRtfPrefix in class RtfElementjava.io.IOException - for I/O problemsprotected void writeRtfSuffix()
throws java.io.IOException
RtfElementwriteRtfSuffix in class RtfElementjava.io.IOException - for I/O problemspublic RtfAttributes getAttributes()
public void closeAll()
throws java.io.IOException
java.io.IOExceptionpublic RtfTable newTable(RtfAttributes attrs, ITableColumnsInfo tc) throws java.io.IOException
newTable in interface IRtfTableContainertc - added by Boris Poudérous on july 2002 in order to process
number-columns-spanned attributeattrs - for the Table attributesjava.io.IOException - for I/O problemspublic RtfTable newTable(ITableColumnsInfo tc) throws java.io.IOException
newTable in interface IRtfTableContainertc - Table Columns Infojava.io.IOException - for I/O problemspublic RtfTextrun getTextrun() throws java.io.IOException
IRtfTextrunContainergetTextrun in interface IRtfTextrunContainerjava.io.IOException - Thrown when an IO-problem occursCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.