Slides are hidden on opening converted Libre Office PPT & PPTX.
Currently using below code-
public static void UpgradeDocument(string sourcePath, string destinationPath)
{
using (var pptDocument = new Presentation(sourcePath))
{
var sourceDirectory = Path.GetDirectoryName(destinationPath);
if (sourceDirectory != null)
{
Directory.CreateDirectory(sourceDirectory);
}
pptDocument.ViewProperties.LastView = SlidesViewType.SlideView;
pptDocument.Save(destinationPath, SaveFormat.Pptx);
}
}
Find attached input & output files.
Please suggest.InputOutputFiles.zip (305.8 KB)