Hi,
I am trying to insert header footer in ppt and than convert to pdf.
here is my code :-
private static void generatePDFFromPPT(String filename, String extension) {
Presentation presentation = new Presentation(filename + extension);
presentation.getHeaderFooterManager().setAllHeadersVisibility(true);
presentation.getHeaderFooterManager().setAllFootersVisibility(true);
presentation.getHeaderFooterManager().setAllHeadersText("HEADER TEXT");
presentation.getHeaderFooterManager().setAllFootersText("FOOTER TEXT");
presentation.save(filename + ".pdf", SaveFormat.Pdf);
}
Footer Text shows but Header Text doesnt show in the converted pdf.
I am evaluating the product, need help to fix this.
Thanks