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
. |
String |
getScript()
Gets the script formatting of this
. |
int |
getSectionType()
Gets the type of this
. |
void |
setImage(SpreadsheetWatermarkableImage value)
Sets the image of this
. |
void |
setScript(String value)
Sets the script formatting of this
. |
public final int getSectionType()
SpreadsheetHeaderFooterSection
.SpreadsheetHeaderFooterSection
.public final SpreadsheetHeaderFooter getHeaderFooter()
SpreadsheetHeaderFooterSection
.SpreadsheetHeaderFooterSection
.public final String getScript()
SpreadsheetHeaderFooterSection
.SpreadsheetHeaderFooterSection
.public final void setScript(String value)
SpreadsheetHeaderFooterSection
.value
- The script content of this SpreadsheetHeaderFooterSection
.public final SpreadsheetWatermarkableImage getImage()
SpreadsheetHeaderFooterSection
.SpreadsheetHeaderFooterSection
or null
if the section has no image.public final void setImage(SpreadsheetWatermarkableImage value)
SpreadsheetHeaderFooterSection
.value
- The image of this SpreadsheetHeaderFooterSection
or null
if the image should be removed.