public interface IRtfTextContainer
Modifier and Type | Method and Description |
---|---|
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 run if any and start a new one with specified attributes
|
RtfText newText(java.lang.String str, RtfAttributes attr) throws java.io.IOException
str
- if not null, added to the RtfText createdjava.io.IOException
RtfText newText(java.lang.String str) throws java.io.IOException
str
- if not null, added to the RtfText createdjava.io.IOException
void newLineBreak() throws java.io.IOException
java.io.IOException
RtfAttributes getTextContainerAttributes()