I am evaluating Aspose.PPT and have a need to build a single PPT file out of several, when I call cloneNode, the slides are copied to the new presentation, but the notes are not? I do not see a way to copy Notes as this is ReadOnly, does cloneNode attempt to copy the slide and its notes? or just the slide?
I would also like to be able to access the raw notes to determine the formatting (bold, italic, etc) is this possible?
Thanks
I am using this simple code below to copy all slides from p to newPres.
for (int x=0; x<p.Slides.Count; x++) { p.CloneSlide(p.Slides[x],newPres.Slides.Count,newPres); }
Cloning notes between presentations was not implemented yet but you can create new one and write formatted text (write new or clone paragraphs from source presentation). It’s possible with last hot fixes.
Alex, thanks for the response, I have looked over the API of version[1.5.14.0] and don’t see a way to clone formatted notes.
So if my source presentations have slides with rich formatted notes, I won’t be able to clone these, as there is only a property to access the raw text of the notes, is this correct?
Except for the lack of ability to clone formatted notes, I find your component perfectly suited for my needs, without this though, I will have to consider using office automation to handle this myself
I’d humbly suggest some sort of cloneNode functionality, which picks up and copies formatted notes, as well as a property to read the formatted notes in addition to the plain text, which you currently provide.
Alex, thanks for the reply, I see what you mean and have looked into the Paragraphs and Portions, however when I attempt to call Notes.Paragraphs.Add() on a newly cloned slide, a null reference exception is thrown