|
|||||||||
| 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 |
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.DocumentContainer |
|---|
getCount, getIndex |
| Methods inherited from class com.spire.doc.DocumentObject |
|---|
deepClone, getFirstChild, getLastChild, getNextSibling, getNextWidgetSibling, getOwner, getPreviousSibling, getPreviousWidgetSibling, isComposite, prependChild, 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 IDocumentObjectgetDocumentObjectType in class DocumentObjectpublic ParagraphCollection getParagraphs()
getParagraphs in interface IBodypublic TableCollection getTables()
getTables in interface IBodypublic FormFieldCollection getFormFields()
getFormFields in interface IBodypublic IParagraph getLastParagraph()
getLastParagraph in interface IBodypublic IParagraph getFirstParagraph()
public DocumentObjectCollection getChildObjects()
getChildObjects in interface ICompositeObjectgetChildObjects in class DocumentObjectpublic Paragraph addParagraph()
addParagraph in interface IBodypublic Table addTable()
addTable in interface IBodypublic Table addTable(boolean showBorder)
showBorder - Is Show Border
public void insertXHTML(java.lang.String html)
insertXHTML in interface IBodyhtml -
public void insertXHTML(java.lang.String html,
int paragraphIndex)
insertXHTML in interface IBodyhtml - paragraphIndex -
public void insertXHTML(java.lang.String html,
int paragraphIndex,
int paragraphItemIndex)
insertXHTML in interface IBodyhtml - paragraphIndex - paragraphItemIndex -
public 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 HTML.type - 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 | ||||||||