public class WordProcessingHeaderFooter extends ContentPart
Represents a header/footer in a Word document.
Modifier and Type | Method and Description |
---|---|
int |
getHeaderFooterType()
Gets the type of this
. |
WordProcessingSection |
getSection()
Gets the parent section of this
. |
boolean |
isLinkedToPrevious()
Gets a value indicating whether this header/footer is linked to the corresponding
header/footer in the previous section.
|
void |
setLinkedToPrevious(boolean value)
Sets a value indicating whether this header/footer is linked to
the corresponding header/footer in the previous section.
|
findImages, findImages, search, search
public final int getHeaderFooterType()
WordProcessingHeaderFooter
.WordProcessingHeaderFooter
.public final WordProcessingSection getSection()
WordProcessingHeaderFooter
.WordProcessingHeaderFooter
.public final boolean isLinkedToPrevious()
Default is true.
true
if this header/footer is linked to the corresponding header/footer
in the previous section; false
otherwise.public final void setLinkedToPrevious(boolean value)
Note, when your link a header or footer, its contents is cleared.
value
- true
if this header/footer has to be linked to the corresponding header/footer
in the previous section; false
otherwise.