// This shouldn't normally happen
continue;
}
XSLFSlideMaster master = slide.getMasterSheet();
CTNotesSlide notes = rawSlideShow.getNotes(slideId);
CTCommentList comments = rawSlideShow.getSlideComments(slideId);
// TODO In POI 3.8 beta 5, improve how we get this
xhtml.startElement("div");
XSLFCommonSlideData common = new XSLFCommonSlideData(slide.getXmlObject().getCSld());
extractShapeContent(common, xhtml);
// If there are comments, extract them
if (comments != null) {
for (CTComment comment : comments.getCmArray()) {
xhtml.element("p", comment.getText());
}
}
// Get text from the master slide
// TODO: re-enable this once we fix TIKA-712
/*
if(master != null) {
// TODO In POI 3.8 beta 5, improve how we get this
extractShapeContent(new XSLFCommonSlideData(master.getXmlObject().getCSld()), xhtml);
}
*/
if (notes != null) {
// TODO In POI 3.8 beta 5, improve how we get this
extractShapeContent(new XSLFCommonSlideData(notes.getCSld()), xhtml);
}
xhtml.endElement("div");
}
}