Package org.apache.poi.ss.usermodel
Interface Footer
-
- All Superinterfaces:
HeaderFooter
- All Known Implementing Classes:
HSSFEvenFooter
,HSSFFirstFooter
,HSSFFooter
public interface Footer extends HeaderFooter
Common definition of a HSSF or XSSF page footer. For a list of all the different fields that can be placed into a footer, such as page number, bold, underline etc, seeHeaderFooter
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCenter()
Get the center of the footer.String
getLeft()
Get the left side of the footer.String
getRight()
Get the right side of the footer.void
setCenter(String newCenter)
Sets the center string.void
setLeft(String newLeft)
Sets the left string.void
setRight(String newRight)
Sets the right string.
-
-
-
Method Detail
-
getLeft
String getLeft()
Get the left side of the footer.- Specified by:
getLeft
in interfaceHeaderFooter
- Returns:
- The string representing the left side.
-
setLeft
void setLeft(String newLeft)
Sets the left string.- Specified by:
setLeft
in interfaceHeaderFooter
- Parameters:
newLeft
- The string to set as the left side.
-
getCenter
String getCenter()
Get the center of the footer.- Specified by:
getCenter
in interfaceHeaderFooter
- Returns:
- The string representing the center.
-
setCenter
void setCenter(String newCenter)
Sets the center string.- Specified by:
setCenter
in interfaceHeaderFooter
- Parameters:
newCenter
- The string to set as the center.
-
getRight
String getRight()
Get the right side of the footer.- Specified by:
getRight
in interfaceHeaderFooter
- Returns:
- The string representing the right side.
-
setRight
void setRight(String newRight)
Sets the right string.- Specified by:
setRight
in interfaceHeaderFooter
- Parameters:
newRight
- The string to set as the right side.
-
-