Hello,
I afraid that must report about bug in Aspose.Slides.Export.SaveFormat.PdfNotes. If presentation has no Notes (i.e. pr.MasterNotesSlideManager.MasterNotesSlide == null) then no original slides added to output at all.
I can create MasterNotesSlide, but cannot create required placeholders, because it has no public constructor. At last I solved this by clone shapes from “template” presentation.
The complete workaround is (probably more easy solution?
if (pr.MasterNotesSlideManager.MasterNotesSlide == null)
{
using (var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(typeof(MyExport), “NotesTemplate.pptx”))
{
var template = new Aspose.Slides.Presentation(stream);
var mnslide = pr.MasterNotesSlideManager.SetDefaultMasterNotesSlide();
foreach (var tshape in template.MasterNotesSlideManager.MasterNotesSlide.Shapes)
{
mnslide.Shapes.AddClone(tshape);
}
template.Dispose();
}
}
Hi,
Hi Adnan,
Please save attached presentation as SaveFormat.PdfNotes. You will see blank page (with page number in the top-left) PowerPoint produce correct Notes export (i.e. slide thumbnail and no notes below).
Yes, I’m use 15.7.
Thanks!
Hi,
The issues you have found earlier (filed as SLIDESNET-36843) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.