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
WordProcessingHeaderFooter . |
WordProcessingSection |
getSection()
Gets the parent section of this
WordProcessingHeaderFooter . |
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()
Gets the type of this WordProcessingHeaderFooter
.
WordProcessingHeaderFooter
.public final WordProcessingSection getSection()
Gets the parent section of this WordProcessingHeaderFooter
.
WordProcessingHeaderFooter
.public final boolean isLinkedToPrevious()
Gets a value indicating whether this header/footer is linked to the corresponding header/footer in the previous section.
<p>Default is true.</p>
<p>Note, when your link a header or footer, its contents is cleared.</p>
public final void setLinkedToPrevious(boolean value)
Sets a value indicating whether this header/footer is linked to the corresponding header/footer in the previous section.
value
- <p>Default is true.</p>
<p>Note, when your link a header or footer, its contents is cleared.</p>
Copyright © 2020. All rights reserved.