Gets the type of this [WordProcessingHeaderFooter](../../com.groupdocs.watermark.contents/wordprocessingheaderfooter).
Returns:
int - The type of this [WordProcessingHeaderFooter](../../com.groupdocs.watermark.contents/wordprocessingheaderfooter).
getSection()
public final WordProcessingSection getSection()
Gets the parent section of this [WordProcessingHeaderFooter](../../com.groupdocs.watermark.contents/wordprocessingheaderfooter).
Returns:WordProcessingSection - The parent section of this [WordProcessingHeaderFooter](../../com.groupdocs.watermark.contents/wordprocessingheaderfooter).
isLinkedToPrevious()
public final boolean isLinkedToPrevious()
Gets a value indicating whether this header/footer is linked to the corresponding header/footer in the previous section.
Default is true.
Returns:
boolean - true if this header/footer is linked to the corresponding header/footer in the previous section; false otherwise.
setLinkedToPrevious(boolean value)
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.
Note, when your link a header or footer, its contents is cleared.
Parameters:
Parameter
Type
Description
value
boolean
true if this header/footer has to be linked to the corresponding header/footer in the previous section; false otherwise.