|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.doc.ownerholder
com.spire.doc.documents.xml.documentserializable
com.spire.doc.documentobject
com.spire.doc.documentbase
com.spire.doc.documentcontainer
com.spire.doc.body
public class body
method summary | |
---|---|
paragraph |
addparagraph()
adds paragraph at end of section. |
table |
addtable()
adds the table. |
table |
addtable(boolean showborder)
adds the table. |
void |
ensureminimum()
if the text body has no paragraphs, creates and appends one paragraph. |
documentobjectcollection |
getchildobjects()
gets the child entities. |
documentobjecttype |
getdocumentobjecttype()
gets the type of the document object. |
iparagraph |
getfirstparagraph()
gets the first paragraph. |
formfieldcollection |
getformfields()
gets the form fields. |
iparagraph |
getlastparagraph()
gets the last paragraph. |
paragraphcollection |
getparagraphs()
gets inner paragraphs |
tablecollection |
gettables()
gets inner tables |
void |
hassdt(boolean value)
sets has stucture document tag. |
void |
insertxhtml(java.lang.string html)
inserts html at end of text body. |
void |
insertxhtml(java.lang.string html,
int paragraphindex)
inserts html. |
void |
insertxhtml(java.lang.string html,
int paragraphindex,
int paragraphitemindex)
inserts html. |
boolean |
isvalidxhtml(java.lang.string html,
xhtmlvalidationtype type)
validates the xhtml. |
boolean |
isvalidxhtml(java.lang.string html,
xhtmlvalidationtype type,
java.lang.string[] exceptionmessage)
validates the xhtml. |
methods inherited from class com.spire.doc.documentobject |
---|
deepclone, getfirstchild, getlastchild, getnextsibling, getowner, getprevioussibling, iscomposite, tostring |
methods inherited from class com.spire.doc.ownerholder |
---|
getdocument |
methods inherited from interface com.spire.doc.interfaces.idocumentobject |
---|
deepclone, getdocument, getnextsibling, getowner, getprevioussibling, iscomposite |
method detail |
---|
public documentobjecttype getdocumentobjecttype()
getdocumentobjecttype
in interface idocumentobject
getdocumentobjecttype
in class documentobject
public paragraphcollection getparagraphs()
getparagraphs
in interface ibody
public tablecollection gettables()
gettables
in interface ibody
public formfieldcollection getformfields()
getformfields
in interface ibody
public iparagraph getlastparagraph()
getlastparagraph
in interface ibody
public iparagraph getfirstparagraph()
public documentobjectcollection getchildobjects()
getchildobjects
in interface icompositeobject
getchildobjects
in class documentobject
public void hassdt(boolean value)
value
- public paragraph addparagraph()
addparagraph
in interface ibody
public table addtable()
addtable
in interface ibody
public table addtable(boolean showborder)
showborder
- is show border
public void insertxhtml(java.lang.string html)
insertxhtml
in interface ibody
html
- htmlpublic void insertxhtml(java.lang.string html, int paragraphindex)
insertxhtml
in interface ibody
html
- htmlparagraphindex
- paragraphindexpublic void insertxhtml(java.lang.string html, int paragraphindex, int paragraphitemindex)
insertxhtml
in interface ibody
html
- the html stringparagraphindex
- the pargraph indexparagraphitemindex
- the pargraph item indexpublic boolean isvalidxhtml(java.lang.string html, xhtmlvalidationtype type)
html
- the html.type
- the validation type.
public boolean isvalidxhtml(java.lang.string html, xhtmlvalidationtype type, java.lang.string[] exceptionmessage)
html
- the htmltype
- the validation type.exceptionmessage
- the exception message.
public void ensureminimum()
ensureminimum
in interface ibody
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |