public class SpreadsheetHeaderFooterSection extends Object
Represents a header/footer section in an Excel document.
| Modifier and Type | Method and Description |
|---|---|
SpreadsheetHeaderFooter |
getHeaderFooter()
Gets the parent header/footer of this
. |
SpreadsheetWatermarkableImage |
getImage()
Gets the image of this
. |
byte[] |
getImageData() |
String |
getScript()
Gets the script formatting of this
. |
int |
getSectionType()
Gets the type of this
. |
void |
resetImageReference() |
void |
setImage(SpreadsheetWatermarkableImage value)
Sets the image of this
. |
void |
setImageData(byte[] value) |
void |
setScript(String value)
Sets the script formatting of this
. |
public final SpreadsheetHeaderFooter getHeaderFooter()
SpreadsheetHeaderFooterSection.SpreadsheetHeaderFooterSection.public final SpreadsheetWatermarkableImage getImage()
SpreadsheetHeaderFooterSection.SpreadsheetHeaderFooterSection
or null if the section has no image.public final byte[] getImageData()
public final String getScript()
SpreadsheetHeaderFooterSection.SpreadsheetHeaderFooterSection.public final int getSectionType()
SpreadsheetHeaderFooterSection.SpreadsheetHeaderFooterSection.public final void resetImageReference()
public final void setImage(SpreadsheetWatermarkableImage value)
SpreadsheetHeaderFooterSection.value - The image of this SpreadsheetHeaderFooterSection
or null if the image should be removed.public final void setImageData(byte[] value)
public final void setScript(String value)
SpreadsheetHeaderFooterSection.value - The script content of this SpreadsheetHeaderFooterSection.Copyright © 2026. All rights reserved.