|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRtfTextContainer
Interface for RtfElements that can contain RtfText elements.
This work was authored by Bertrand Delacretaz ([email protected]).
Method Summary | |
---|---|
RtfAttributes |
getTextContainerAttributes()
Text containers usually provide default attributes for all texts that they contain. |
void |
newLineBreak()
Add a line break |
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 element, if any, and start a new one |
Method Detail |
---|
RtfText newText(java.lang.String str, RtfAttributes attr) throws java.io.IOException
str
- if not null, added to the RtfText createdattr
- attributes for text
java.io.IOException
- for I/O problemsRtfText newText(java.lang.String str) throws java.io.IOException
str
- if not null, added to the RtfText created
java.io.IOException
- for I/O problemsvoid newLineBreak() throws java.io.IOException
java.io.IOException
- for I/O problemsRtfAttributes getTextContainerAttributes() throws FOPException
FOPException
- if attributes cannot be obtained
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |