PresentationHeaderFooterManager

Inheritance: java.lang.Object, com.aspose.slides.BaseHeaderFooterManager

All Implemented Interfaces: com.aspose.slides.IPresentationHeaderFooterManager

public class PresentationHeaderFooterManager extends BaseHeaderFooterManager implements IPresentationHeaderFooterManager

Represents manager which holds behavior of all footer, date-time and page number placeholders of presentation.

Methods

MethodDescription
setAllHeadersVisibility(boolean isVisible)Changes all header placeholders visibility, including notes master, notes slides and handout master.
setAllFootersVisibility(boolean isVisible)Changes all footer placeholders visibility, including master slides, layout slides, slides, notes master, notes slides and handout master.
setAllSlideNumbersVisibility(boolean isVisible)Changes all page number placeholders visibility, including master slides, layout slides, slides, notes master, notes slides and handout master.
setAllDateTimesVisibility(boolean isVisible)Changes all date-time placeholders visibility, including master slides, layout slides, slides, notes master, notes slides and handout master.
setAllHeadersText(String text)Sets text to all header placeholders, including notes master, notes slides and handout master.
setAllFootersText(String text)Sets text to all footer placeholders, including master slides, layout slides, slides, notes master, notes slides and handout master.
setAllDateTimesText(String text)Sets text to all date-time placeholders, including master slides, layout slides, slides, notes master, notes slides and handout master.
setVisibilityOnAllTitleSlides(boolean isVisible)Changes the footer, date-time and page number placeholders visibility for all title slides and for first layout slide.

setAllHeadersVisibility(boolean isVisible)

public final void setAllHeadersVisibility(boolean isVisible)

Changes all header placeholders visibility, including notes master, notes slides and handout master.

Parameters:

ParameterTypeDescription
isVisiblebooleantrue - makes a header placeholders visible, otherwise - hides them.

setAllFootersVisibility(boolean isVisible)

public final void setAllFootersVisibility(boolean isVisible)

Changes all footer placeholders visibility, including master slides, layout slides, slides, notes master, notes slides and handout master.

Parameters:

ParameterTypeDescription
isVisiblebooleantrue - makes a footer placeholders visible, otherwise - hides them.

setAllSlideNumbersVisibility(boolean isVisible)

public final void setAllSlideNumbersVisibility(boolean isVisible)

Changes all page number placeholders visibility, including master slides, layout slides, slides, notes master, notes slides and handout master.

Parameters:

ParameterTypeDescription
isVisiblebooleantrue - makes a page number placeholders visible, otherwise - hides them.

setAllDateTimesVisibility(boolean isVisible)

public final void setAllDateTimesVisibility(boolean isVisible)

Changes all date-time placeholders visibility, including master slides, layout slides, slides, notes master, notes slides and handout master.

Parameters:

ParameterTypeDescription
isVisiblebooleantrue - makes a date-time placeholders visible, otherwise - hides them.

setAllHeadersText(String text)

public final void setAllHeadersText(String text)

Sets text to all header placeholders, including notes master, notes slides and handout master.

Parameters:

ParameterTypeDescription
textjava.lang.StringText to set.

setAllFootersText(String text)

public final void setAllFootersText(String text)

Sets text to all footer placeholders, including master slides, layout slides, slides, notes master, notes slides and handout master.

Parameters:

ParameterTypeDescription
textjava.lang.StringText to set.

setAllDateTimesText(String text)

public final void setAllDateTimesText(String text)

Sets text to all date-time placeholders, including master slides, layout slides, slides, notes master, notes slides and handout master.

Parameters:

ParameterTypeDescription
textjava.lang.StringText to set.

setVisibilityOnAllTitleSlides(boolean isVisible)

public final void setVisibilityOnAllTitleSlides(boolean isVisible)

Changes the footer, date-time and page number placeholders visibility for all title slides and for first layout slide. Title slides \u2013 slides based on first layout slide (regardless of type of this first layout).

Parameters:

ParameterTypeDescription
isVisiblebooleantrue - makes a placeholders visible, otherwise - hides them.