SpreadsheetHeaderFooter
Leave feedback
On this page
Inheritance: java.lang.Object
public class SpreadsheetHeaderFooter
Represents a header/footer in an Excel document.
| Constructor | Description |
|---|---|
| SpreadsheetHeaderFooter(SpreadsheetWorksheet worksheet, int headerFooterType) |
| Method | Description |
|---|---|
| getHeaderFooterType() | Gets the type of this [SpreadsheetHeaderFooter](../../com.groupdocs.watermark.contents/spreadsheetheaderfooter). |
| getSections() | Gets the collection of header/footer sections. |
| getWorksheet() | Gets the parent worksheet of this [SpreadsheetHeaderFooter](../../com.groupdocs.watermark.contents/spreadsheetheaderfooter). |
public SpreadsheetHeaderFooter(SpreadsheetWorksheet worksheet, int headerFooterType)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| worksheet | SpreadsheetWorksheet | |
| headerFooterType | int |
public final int getHeaderFooterType()
Gets the type of this [SpreadsheetHeaderFooter](../../com.groupdocs.watermark.contents/spreadsheetheaderfooter).
Returns:
int - The type of this [SpreadsheetHeaderFooter](../../com.groupdocs.watermark.contents/spreadsheetheaderfooter).
public final SpreadsheetHeaderFooterSectionCollection getSections()
Gets the collection of header/footer sections.
Returns: SpreadsheetHeaderFooterSectionCollection - The collection of header/footer sections.
public final SpreadsheetWorksheet getWorksheet()
Gets the parent worksheet of this [SpreadsheetHeaderFooter](../../com.groupdocs.watermark.contents/spreadsheetheaderfooter).
Returns:
SpreadsheetWorksheet - The parent worksheet of this [SpreadsheetHeaderFooter](../../com.groupdocs.watermark.contents/spreadsheetheaderfooter).
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.