use of org.openxmlformats.schemas.presentationml.x2006.main.NotesDocument 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();
}
Aggregations