Package com.independentsoft.office.word
Class Body
java.lang.Object
com.independentsoft.office.word.Body
The Class Body.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the.voidadd(StructuredDocumentTag structuredDocumentTag)Adds the.voidadd(IBlockElement contentElement)Adds the.voidAdds the.voidAdds the.clone()Gets the content.Gets the content elements.Gets the even page footer.Gets the even page header.Gets the first page footer.Gets the first page header.Gets the first page headers and footers.Gets the footer.Gets the header.Gets the section.voidsetEvenPageFooter(Footer footer)Sets the even page footer.voidsetEvenPageHeader(Header header)Sets the even page header.voidsetFirstPageFooter(Footer footer)Sets the first page footer.voidsetFirstPageHeader(Header header)Sets the first page header.voidsetFirstPageHeadersAndFooters(ExtendedBoolean firstPageHeadersAndFooters)Sets the first page headers and footers.voidSets the footer.voidSets the header.voidsetSection(Section section)Sets the section.toString()
-
Constructor Details
-
Body
public Body()Instantiates a new body.
-
-
Method Details
-
add
Adds the.- Parameters:
paragraph- the paragraph
-
add
Adds the.- Parameters:
table- the table
-
add
Adds the.- Parameters:
customXml- the custom xml
-
add
Adds the.- Parameters:
structuredDocumentTag- the structured document tag
-
add
Adds the.- Parameters:
contentElement- the content element
-
getContentElements
Gets the content elements.- Returns:
- the content elements
-
clone
-
toString
-
getContent
Gets the content.- Returns:
- the content
-
getSection
Gets the section.- Returns:
- the section
-
setSection
Sets the section.- Parameters:
section- the new section
-
getHeader
Gets the header.- Returns:
- the header
-
getFirstPageHeader
Gets the first page header.- Returns:
- the first page header
-
getEvenPageHeader
Gets the even page header.- Returns:
- the even page header
-