|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfor.jfor.rtflib.rtfdoc.RtfElement
org.jfor.jfor.rtflib.rtfdoc.RtfContainer
org.jfor.jfor.rtflib.rtfdoc.RtfAfterBeforeBase
abstract class RtfAfterBeforeBase
Common code for RtfAfter and RtfBefore
Field Summary | |
---|---|
protected RtfAttributes |
m_attrib
|
Fields inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement |
---|
m_parent, m_writer |
Constructor Summary | |
---|---|
RtfAfterBeforeBase(RtfSection parent,
java.io.Writer w,
RtfAttributes attrs)
|
Method Summary | |
---|---|
void |
closeAll()
|
RtfAttributes |
getAttributes()
|
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 abstract void |
writeMyAttributes()
must be implemented to write the header or footer attributes |
protected void |
writeRtfPrefix()
called before writeRtfContent() |
protected void |
writeRtfSuffix()
called after writeRtfContent() |
Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfContainer |
---|
addChild, containsText, dump, getChildCount, getChildren, getOptions, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContent |
Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement |
---|
close, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeStarControlWord, writeStarControlWordNS |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected RtfAttributes m_attrib
Constructor Detail |
---|
RtfAfterBeforeBase(RtfSection parent, java.io.Writer w, RtfAttributes attrs) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public RtfParagraph newParagraph() throws java.io.IOException
IRtfParagraphContainer
newParagraph
in interface IRtfParagraphContainer
java.io.IOException
public RtfParagraph newParagraph(RtfAttributes attrs) throws java.io.IOException
IRtfParagraphContainer
newParagraph
in interface IRtfParagraphContainer
java.io.IOException
public RtfExternalGraphic newImage() throws java.io.IOException
IRtfExternalGraphicContainer
newImage
in interface IRtfExternalGraphicContainer
java.io.IOException
- On errorprotected void writeRtfPrefix() throws java.io.IOException
RtfElement
writeRtfPrefix
in class RtfElement
java.io.IOException
protected abstract void writeMyAttributes() throws java.io.IOException
java.io.IOException
protected void writeRtfSuffix() throws java.io.IOException
RtfElement
writeRtfSuffix
in class RtfElement
java.io.IOException
public RtfAttributes getAttributes()
public void closeAll() throws java.io.IOException
java.io.IOException
public RtfTable newTable(RtfAttributes attrs, ITableColumnsInfo tc) throws java.io.IOException
newTable
in interface IRtfTableContainer
tc
- added by Boris Poud?rous on july 2002 in order to process number-columns-spanned attribute
java.io.IOException
public RtfTable newTable(ITableColumnsInfo tc) throws java.io.IOException
newTable
in interface IRtfTableContainer
java.io.IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |