public final class HeadersFooters
extends java.lang.Object
Constructor and Description |
---|
HeadersFooters(HSLFSheet sheet, short headerFooterType) |
HeadersFooters(HSLFSlideShow ppt, short headerFooterType) |
Modifier and Type | Method and Description |
---|---|
int |
getDateTimeFormat()
An integer that specifies the format ID to be used to style the datetime.
(一个整数,它指定用于设置日期时间样式的格式 ID。)
|
java.lang.String |
getDateTimeText()
This is the date that the user wants in the footers, instead of today's date.
(这是用户希望在页脚中出现的日期,而不是今天的日期。)
|
java.lang.String |
getFooterText()
Footer's text
(页脚的文字)
|
java.lang.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 |
isPpt2007() |
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.
(一个整数,它指定用于设置日期时间样式的格式 ID。)
|
void |
setDateTimeText(java.lang.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(java.lang.String text)
Sets footers's text
(设置页脚的文本)
|
void |
setFooterVisible(boolean flag)
whether the footer text is displayed.
(是否显示页脚文本。)
|
void |
setHeaderText(java.lang.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(HSLFSlideShow ppt, short headerFooterType)
public HeadersFooters(HSLFSheet sheet, short headerFooterType)
public java.lang.String getHeaderText()
public void setHeaderText(java.lang.String text)
text
- headers's text
(text - 标题的文本)
public java.lang.String getFooterText()
public void setFootersText(java.lang.String text)
text
- footers's text
(text - 页脚的文本)
public java.lang.String getDateTimeText()
public void setDateTimeText(java.lang.String text)
text
- custom user date
(文本 - 自定义用户日期)
public 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.
(formatId - 一个整数,指定用于设置日期时间样式的格式 ID。)
public boolean isPpt2007()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.