SpreadsheetHeaderFooterSection

Inheritance: java.lang.Object

public class SpreadsheetHeaderFooterSection

Represents a header/footer section in an Excel document.

Methods

Method Description
getSectionType() Gets the type of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).
getHeaderFooter() Gets the parent header/footer of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).
getScript() Gets the script formatting of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).
setScript(String value) Sets the script formatting of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).
getImage() Gets the image of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).
setImage(SpreadsheetWatermarkableImage value) Sets the image of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).
getImageData()
setImageData(byte[] value)
resetImageReference()

getSectionType()

public final int getSectionType()

Gets the type of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).

Returns: int - The type of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).

getHeaderFooter()

public final SpreadsheetHeaderFooter getHeaderFooter()

Gets the parent header/footer of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).

Returns: SpreadsheetHeaderFooter - The parent header/footer of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).

getScript()

public final String getScript()

Gets the script formatting of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).

Returns: java.lang.String - The script content of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).

setScript(String value)

public final void setScript(String value)

Sets the script formatting of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).

Parameters:

Parameter Type Description
value java.lang.String The script content of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).

getImage()

public final SpreadsheetWatermarkableImage getImage()

Gets the image of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).

Returns: SpreadsheetWatermarkableImage - The image of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection) or null if the section has no image.

setImage(SpreadsheetWatermarkableImage value)

public final void setImage(SpreadsheetWatermarkableImage value)

Sets the image of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection).

Parameters:

Parameter Type Description
value SpreadsheetWatermarkableImage The image of this [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection) or null if the image should be removed.

getImageData()

public final byte[] getImageData()

Returns: byte[]

setImageData(byte[] value)

public final void setImageData(byte[] value)

Parameters:

Parameter Type Description
value byte[]

resetImageReference()

public final void resetImageReference()