Hi, our clients complaining that content added to PowerPoint footer is not visible. Attaching file here for you to test out.
It’s happening to our application using GroupDocs.Viewer, and this could be easily reproduced in your cloud too:
https://products.groupdocs.app/viewer/app/?lang=en&file=e003ea06-9a55-4d14-836a-fb6bb660bced%2FTest%20presentation.pptx
Just upload the file there and you’ll see that text added in the middle of footer is not visible on preview, but visible in real presentation in edit mode and in presentation mode as well.
Can you please resolve a problem in library and release a new version, or if there any way to fix it with additional parameters of type library let me know.
@developmentaccounts
Hi Matt,
Thank you for providing the sample PPTX, we’ve reproduced the issue when rendering this PPTX to all output formats, including HTML. Our developers have started to work on it. We will notify you when there will be some update on this issue.
With best regards,
Denis Gvardionov
@developmentaccounts
Hi Matt,
Today the GroupDocs.Viewer for .NET 25.11 was released, and the discussed issue is fixed there. You should use the PresentationOptions.RenderHeaderFooterPlaceholders flag to enable rendering placeholders in the headers/footers of the slide, like this (rendering to HTML as an example):
const string filename = "Test presentation.pptx";
string inputFilePath = Path.Combine("files", filename);
HtmlViewOptions htmlViewOptions = HtmlViewOptions.ForEmbeddedResources(string.Format("{0}-embedded-page-{{0}}.html", Path.GetFileNameWithoutExtension(filename)));
htmlViewOptions.PresentationOptions.RenderHeaderFooterPlaceholders = true;
using (Viewer viewer = new Viewer(inputFilePath))
{
viewer.View(htmlViewOptions);
}
With best regards,
Denis Gvardionov
@denisgvardionov It’s buuged tho:
Issue still persist even with PresentationOptions.RenderHeaderFooterPlaceholders set to true in case of combination of these things:
- Passing
ViewerSettings with ILogger initialized to the Viewer class constructor (e.g. var viewer = new Viewer(stream, loadOptions, viewerSettings) or var viewer = new Viewer(stream, viewerSettings)
AND
- Passing array of pages (pageNumbers parameter) to
Viewer.View method (e.g viewer.View(viewOptions, new int[] { 1, 2, 3}) or viewer.View(viewOptions, default(CancellationToken, new int[] { 1, 2, 3}) )
If you exclude one of these things viewer renders footer correctly. Please find the example attached.
Please fix this bug otherwise we are blocked and can’t use this as solution since we activelly using logging and converting by specified pages.
1 Like
@developmentaccounts
Hi Matt,
Sorry for such annoying bug, I was able to reproduce it using your sample project and then internally. I have fixed it just now. GroupDocs.Viewer 25.12 was planned for release on the next week, and this bug fix will be there.
I also removed your attached project because this is a public forum thread and archive had your valid license file.
When GD.Viewer version 25.12 will be ready, I’ll notify you here.
Sorry for the inconvenience.
With best regards,
Denis Gvardionov
@developmentaccounts
Hi Matt,
GroupDocs.Viewer for .NET 25.12 was released today, you can find it on NuGet and GroupDocs.Downloads. Discussed bug was fixed there.
With best regards,
Denis Gvardionov