|
fop 0.95 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfBookmarkContainerImpl
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfParagraph
Model of an RTF paragraph, which can contain RTF text elements.
| Field Summary |
| Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
attrib, parent, writer |
| Method Summary | |
java.lang.String |
getText()
Accessor for the paragraph text |
RtfAttributes |
getTextAttributes()
accessor for text attributes |
RtfAttributes |
getTextContainerAttributes()
IRtfTextContainer requirement: return a copy of our attributes |
RtfHyperLink |
newHyperLink(java.lang.String str,
RtfAttributes attr)
Creates a new hyperlink. |
RtfExternalGraphic |
newImage()
Start a new external graphic after closing all other elements |
void |
newLineBreak()
add a line break |
void |
newPageBreak()
add a page break |
RtfPageNumber |
newPageNumber()
Add a page number |
RtfPageNumberCitation |
newPageNumberCitation(java.lang.String id)
Added by Boris POUDEROUS on 2002/07/09 |
RtfText |
newText(java.lang.String str)
Close current text run if any and start a new one with default attributes |
RtfText |
newText(java.lang.String str,
RtfAttributes attr)
Close current text run if any and start a new one |
protected boolean |
okToWriteRtf()
Depending on RtfOptions, do not emit any RTF for empty paragraphs |
void |
setKeepn()
Set the keepn attribute for this paragraph |
void |
setResetProperties()
Force reset properties |
protected void |
writeRtfPrefix()
Overridden to write our attributes before our content |
protected void |
writeRtfSuffix()
Overridden to close paragraph |
| Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfBookmarkContainerImpl |
newBookmark |
| Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer |
addChild, getChildCount, getChildren, isEmpty, setChildren, setOptions, toString, writeRtfContent |
| Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
close, getRtfAttributes, newLine, 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 |
| Method Detail |
public java.lang.String getText()
public void setKeepn()
public void setResetProperties()
public RtfAttributes getTextContainerAttributes()
getTextContainerAttributes in interface IRtfTextContainer
protected void writeRtfPrefix()
throws java.io.IOException
writeRtfPrefix in class RtfElementjava.io.IOException - for I/O problems
protected void writeRtfSuffix()
throws java.io.IOException
writeRtfSuffix in class RtfElementjava.io.IOException - for I/O problems
public RtfText newText(java.lang.String str)
throws java.io.IOException
newText in interface IRtfTextContainerstr - if not null, added to the RtfText created
java.io.IOException - for I/O problems
public RtfText newText(java.lang.String str,
RtfAttributes attr)
throws java.io.IOException
newText in interface IRtfTextContainerstr - if not null, added to the RtfText createdattr - attributes of the text
java.io.IOException - for I/O problems
public void newPageBreak()
throws java.io.IOException
newPageBreak in interface IRtfPageBreakContainerjava.io.IOException - for I/O problems
public void newLineBreak()
throws java.io.IOException
newLineBreak in interface IRtfTextContainerjava.io.IOException - for I/O problems
public RtfPageNumber newPageNumber()
throws java.io.IOException
newPageNumber in interface IRtfPageNumberContainerjava.io.IOException - for I/O problems
public RtfPageNumberCitation newPageNumberCitation(java.lang.String id)
throws java.io.IOException
newPageNumberCitation in interface IRtfPageNumberCitationContainerid - string containing the citation text
java.io.IOException - for I/O problems
public RtfHyperLink newHyperLink(java.lang.String str,
RtfAttributes attr)
throws java.io.IOException
newHyperLink in interface IRtfHyperLinkContainerstr - string containing the hyperlink textattr - attributes of new hyperlink
java.io.IOException - for I/O problems
public RtfExternalGraphic newImage()
throws java.io.IOException
newImage in interface IRtfExternalGraphicContainerjava.io.IOException - for I/O problemsprotected boolean okToWriteRtf()
okToWriteRtf in class RtfContainerpublic RtfAttributes getTextAttributes()
|
fop 0.95 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||