|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--ru.novosoft.dc.rtf.dom.RTFParagraph
A paragraph contains paragraph context and up to two lists of
inline objects of the RTFObject type, namely a marker and
content. If the marker presents it hangs to the left of content.
| Constructor Summary | |
RTFParagraph()
|
|
| Method Summary | |
void |
attachContext(ParagraphContext context)
Attach a context to the paragraph. |
void |
attachLabel(java.util.List label)
Attach a list label to the paragraph. |
void |
complete(CharacterContext context)
This method should be applied right after adding the paragraph mark to the content of this object. |
java.util.List |
content()
Return the paragraph content. |
ParagraphContext |
context()
Return the paragraph context or null if no context attached. |
void |
exportTo(org.w3c.dom.Element elem)
Export the contents of this object to the specified DOM element. |
int |
inlineCount()
Return a total number of inline objects in the paragraph label and content. |
java.util.List |
label()
Return the paragraph label or null if no label attached. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public RTFParagraph()
| Method Detail |
public final void attachContext(ParagraphContext context)
public final void attachLabel(java.util.List label)
public final ParagraphContext context()
public final int inlineCount()
public final java.util.List label()
public final java.util.List content()
public void complete(CharacterContext context)
public void exportTo(org.w3c.dom.Element elem)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||