com.groupdocs.watermark.contents

Interfaces

Classes

com.groupdocs.watermark.contents

Class WordProcessingHeaderFooter



  • public class WordProcessingHeaderFooter
    extends ContentPart

    Represents a header/footer in a Word document.

    • Method Detail

      • getHeaderFooterType

        public final int getHeaderFooterType()

        Gets the type of this WordProcessingHeaderFooter.

        Returns:
        The type of this WordProcessingHeaderFooter.
      • getSection

        public final WordProcessingSection getSection()

        Gets the parent section of this WordProcessingHeaderFooter.

        Returns:
        The parent section of this 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.

        Returns:
        <p>Default is true.</p> <p>Note, when your link a header or footer, its contents is cleared.</p>
      • setLinkedToPrevious

        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.

        Parameters:
        value - <p>Default is true.</p> <p>Note, when your link a header or footer, its contents is cleared.</p>