SpreadsheetHeaderFooter
Contents
 [
        
            Hide
        ]
    Inheritance: java.lang.Object
public class SpreadsheetHeaderFooter
Represents a header/footer in an Excel document.
Constructors
| Constructor | Description | 
|---|---|
| SpreadsheetHeaderFooter(SpreadsheetWorksheet worksheet, int headerFooterType) | 
Methods
| 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). | 
SpreadsheetHeaderFooter(SpreadsheetWorksheet worksheet, int headerFooterType)
public SpreadsheetHeaderFooter(SpreadsheetWorksheet worksheet, int headerFooterType)
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| worksheet | SpreadsheetWorksheet | |
| headerFooterType | int | 
getHeaderFooterType()
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).
getSections()
public final SpreadsheetHeaderFooterSectionCollection getSections()
Gets the collection of header/footer sections.
Returns: SpreadsheetHeaderFooterSectionCollection - The collection of header/footer sections.
getWorksheet()
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).