public final class HeadersFooters extends Object
Constructor and Description |
---|
HeadersFooters(HeadersFootersContainer rec,
Sheet sheet,
boolean newRecord,
boolean isPpt2007) |
HeadersFooters(HeadersFootersContainer rec,
SlideShow ppt,
boolean newRecord,
boolean isPpt2007) |
Modifier and Type | Method and Description |
---|---|
int |
getDateTimeFormat()
An integer that specifies the format ID to be used to style the datetime.
|
String |
getDateTimeText()
This is the date that the user wants in the footers, instead of today's date.
|
String |
getFooterText()
Footer's text
|
String |
getHeaderText()
Headers's text
|
boolean |
isDateTimeVisible()
whether the date is displayed in the footer.
|
boolean |
isFooterVisible()
whether the footer text is displayed.
|
boolean |
isHeaderVisible()
whether the header text is displayed.
|
boolean |
isSlideNumberVisible()
whether the slide number is displayed in the footer.
|
boolean |
isUserDateVisible()
whether the custom user date is used instead of today's date.
|
void |
setDateTimeFormat(int formatId)
An integer that specifies the format ID to be used to style the datetime.
|
void |
setDateTimeText(String text)
Sets custom user date to be displayed instead of today's date.
|
void |
setDateTimeVisible(boolean flag)
whether the date is displayed in the footer.
|
void |
setFootersText(String text)
Sets footers's text
|
void |
setFooterVisible(boolean flag)
whether the footer text is displayed.
|
void |
setHeaderText(String text)
Sets headers's text
|
void |
setHeaderVisible(boolean flag)
whether the header text is displayed.
|
void |
setSlideNumberVisible(boolean flag)
whether the slide number is displayed in the footer.
|
void |
setUserDateVisible(boolean flag)
whether the date is displayed in the footer.
|
public HeadersFooters(HeadersFootersContainer rec, SlideShow ppt, boolean newRecord, boolean isPpt2007)
public HeadersFooters(HeadersFootersContainer rec, Sheet sheet, boolean newRecord, boolean isPpt2007)
public String getHeaderText()
public void setHeaderText(String text)
text
- headers's textpublic String getFooterText()
public void setFootersText(String text)
text
- footers's textpublic String getDateTimeText()
public void setDateTimeText(String text)
text
- custom user datepublic boolean isFooterVisible()
public void setFooterVisible(boolean flag)
public boolean isHeaderVisible()
public void setHeaderVisible(boolean flag)
public boolean isDateTimeVisible()
public void setDateTimeVisible(boolean flag)
public boolean isUserDateVisible()
public void setUserDateVisible(boolean flag)
public boolean isSlideNumberVisible()
public void setSlideNumberVisible(boolean flag)
public int getDateTimeFormat()
public void setDateTimeFormat(int formatId)
formatId
- an integer that specifies the format ID to be used to style the datetime.Copyright © 2020. All rights reserved.