HeaderFooterCollection
Overview
HeaderFooterCollection is a class in Aspose.Words FOSS for Java.
Inherits from: NodeCollection<HeaderFooter>.
Provides typed access to HeaderFooter nodes of a Section.
Edition status of its 4 listed members (a property and its accessor methods are listed separately, overloads once): 4 not yet exercised by a verified example.
This class declares 5 methods for HeaderFooterCollection objects in Java programs.
Available methods include: get, getByHeaderFooterType, linkToPrevious, toArray.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Methods
| Signature | Description |
|---|---|
get(index: int) → HeaderFooter | Retrieves a HeaderFooter at the given index. |
getByHeaderFooterType(headerFooterType: int) → HeaderFooter | Retrieves a HeaderFooter of the specified type. |
linkToPrevious(isLinkToPrevious: boolean) | Links or unlinks all headers and footers to the corresponding headers and footers in the previous section. |
linkToPrevious(headerFooterType: int, isLinkToPrevious: boolean) | Links or unlinks the specified header or footer to the corresponding header or footer in the previous section. |
toArray() → HeaderFooter[] | Copies all HeaderFooters from the collection to a new array of HeaderFooters. |