public class WordProcessingHeaderFooter extends ContentPart
Represents a header/footer in a Word document.
| Constructor and Description |
|---|
WordProcessingHeaderFooter(int headerFooterHeaderFooterType,
WordProcessingSection parent,
IStrategyManager strategyManager,
WordProcessingHeaderFooterWrapper wrapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
addWatermark(Watermark watermark,
IWordProcessingWatermarkEffects effects,
WordProcessingShapeSettings shapeSettings) |
int |
getHeaderFooterType()
Gets the type of this
. |
WordProcessingSection |
getSection()
Gets the parent section of this
. |
WordProcessingHeaderFooterWrapper |
getWrapper() |
boolean |
isLinkedToPrevious()
Gets a value indicating whether this header/footer is linked to the corresponding
header/footer in the previous section.
|
boolean |
isVisible() |
void |
setLinkedToPrevious(boolean value)
Sets a value indicating whether this header/footer is linked to
the corresponding header/footer in the previous section.
|
addWatermark, afterWatermarkAdding, checkWatermarkingLicenseRestrictions, findImages, findImages, getParts, getSearchWatermarksInParts, getStrategyManager, getTopParent, search, search, setParts, tryGetWatermarkerSettingspublic WordProcessingHeaderFooter(int headerFooterHeaderFooterType,
WordProcessingSection parent,
IStrategyManager strategyManager,
WordProcessingHeaderFooterWrapper wrapper)
public final void addWatermark(Watermark watermark, IWordProcessingWatermarkEffects effects, WordProcessingShapeSettings shapeSettings)
public final int getHeaderFooterType()
WordProcessingHeaderFooter.WordProcessingHeaderFooter.public final WordProcessingSection getSection()
WordProcessingHeaderFooter.WordProcessingHeaderFooter.public final WordProcessingHeaderFooterWrapper getWrapper()
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 boolean isVisible()
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.Copyright © 2026. All rights reserved.