Top Description Methods
org.apache.poi.ss.usermodel

public Interface HeaderFooter

Known Direct Subinterfaces
org.apache.poi.ss.usermodel.Footer, org.apache.poi.ss.usermodel.Header
Known Direct Implementers
org.apache.poi.hssf.usermodel.HeaderFooter

Common interface for org.apache.poi.ss.usermodel.Header and org.apache.poi.ss.usermodel.Footer.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The string representing the center.
getCenter
()

Get the center of the header or footer.

public String

Returns:

The string representing the left side.
getLeft
()

Get the left side of the header or footer.

public String

Returns:

The string representing the right side.
getRight
()

Get the right side of the header or footer.

public void
setCenter(String
The string to set as the center.
newCenter
)

Sets the center string.

public void
setLeft(String
The string to set as the left side.
newLeft
)

Sets the left string.

public void
setRight(String
The string to set as the right side.
newRight
)

Sets the right string or footer.

Method Detail

getCenterback to summary
public String getCenter()

Get the center of the header or footer.

Returns:String

The string representing the center.

getLeftback to summary
public String getLeft()

Get the left side of the header or footer.

Returns:String

The string representing the left side.

getRightback to summary
public String getRight()

Get the right side of the header or footer.

Returns:String

The string representing the right side.

setCenterback to summary
public void setCenter(String newCenter)

Sets the center string.

Parameters
newCenter:String

The string to set as the center.

setLeftback to summary
public void setLeft(String newLeft)

Sets the left string.

Parameters
newLeft:String

The string to set as the left side.

setRightback to summary
public void setRight(String newRight)

Sets the right string or footer.

Parameters
newRight:String

The string to set as the right side.