Class Header
java.lang.Object
com.independentsoft.office.word.headerFooter.Header
The Class Header.
-
Constructor Summary
ConstructorsConstructorDescriptionHeader()Instantiates a new header.Header(byte[] buffer, Relationship relationship)Instantiates a new header. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(IBlockElement contentElement)Adds the.voidAdds the.voidAdds the.clone()Gets the content.Gets the content elements.Gets the mc:Ignorable attribute value of the header root, ornullif absent.getType()Gets the type.voidsetMarkupCompatibilityIgnorable(String markupCompatibilityIgnorable)Sets the mc:Ignorable attribute value of the header root.voidsetType(HeaderFooterType type)Sets the type.toString()
-
Constructor Details
-
Header
public Header()Instantiates a new header. -
Header
Instantiates a new header.- Parameters:
buffer- the bufferrelationship- the relationship- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
add
Adds the.- Parameters:
paragraph- the paragraph
-
add
Adds the.- Parameters:
table- the table
-
add
Adds the.- Parameters:
contentElement- the content element
-
getContentElements
Gets the content elements.- Returns:
- the content elements
-
clone
-
getMarkupCompatibilityIgnorable
Gets the mc:Ignorable attribute value of the header root, ornullif absent.- Returns:
- the markup-compatibility ignorable prefixes
-
setMarkupCompatibilityIgnorable
Sets the mc:Ignorable attribute value of the header root.- Parameters:
markupCompatibilityIgnorable- the new value
-
toString
-
getContent
Gets the content.- Returns:
- the content
-
getType
Gets the type.- Returns:
- the type
-