IHeaderFooterManager Interface Is Not Found in Aspose.Slides for Java 24.10

Hi Team,

Earlier we were using slides 16.7.0, now we are migrated to 24.10 slides, during the process observed that com.aspose.slides.IHeaderFooterManager class is not found can you please check and provide your suggestions pls.

@koteswaragunda,
Thank you for contacting free support.

We are sorry that you have to encounter this problem. Version 16.7 is very old, and it looks like the API has been changed. Could you please share a sample code demonstrating how you used this interface from Aspose.Slides for Java 16.7? We will do our best to help you do the same with version 24.10.

@andrey.potapov
this is how we are using,

IHeaderFooterManager headerFooterManager = presentation.getHeaderFooterManager();

after that, mainly we are using for setting footer visibility, footer text, visibility on title slide and slide number visible.

below is the mechanism we use, from Presentation object we will get header footer manager and will set the required props

private void configureHeaderAndFooter(Presentation presentation) {
	presentation.getHeaderFooterManager().setVisibilityOnTitleSlide(false);
	presentation.getHeaderFooterManager().setFooterVisible(false);
	presentation.getHeaderFooterManager().setSlideNumberVisible(false);
}

@koteswaragunda,
Thank you for the details. With Aspose.Slides for Java 24.10, you can use IPresentationHeaderFooterManager to perform the same operations. Please try using the following code snippet:

IPresentationHeaderFooterManager headerFooterManager = presentation.getHeaderFooterManager();

headerFooterManager.setVisibilityOnAllTitleSlides(false);
headerFooterManager.setAllFootersVisibility(false);
headerFooterManager.setAllSlideNumbersVisibility(false);

More examples: Presentation Header and Footer|Aspose.Slides Documentation