use of org.openxmlformats.schemas.presentationml.x2006.main.CTNotesSlide in project poi by apache.
the class XSLFSlideShow method getNotes.
/**
* Returns the low level notes object for the given
* slide, as found from the supplied slide reference
*/
@Internal
public CTNotesSlide getNotes(CTSlideIdListEntry slide) throws IOException, XmlException {
PackagePart notesPart = getNodesPart(slide);
if (notesPart == null)
return null;
NotesDocument notesDoc = NotesDocument.Factory.parse(notesPart.getInputStream(), DEFAULT_XML_OPTIONS);
return notesDoc.getNotes();
}
use of org.openxmlformats.schemas.presentationml.x2006.main.CTNotesSlide in project poi by apache.
the class XSLFNotes method prototype.
private static CTNotesSlide prototype() {
CTNotesSlide ctNotes = CTNotesSlide.Factory.newInstance();
CTCommonSlideData cSld = ctNotes.addNewCSld();
cSld.addNewSpTree();
return ctNotes;
}
Aggregations