Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,17 @@ protected void parse(
// Now any embedded resources
handleSlideEmbeddedResources(slide, xhtml);

// TODO Find the Notes for this slide and extract inline

// Find the Notes for this slide and extract inline
HSLFNotes notes = slide.getNotes();
if (notes != null) {
xhtml.startElement("div", "class", "slide-notes");

textRunsToText(xhtml, notes.getTextParagraphs());

xhtml.endElement("div");
}


// Slide complete
xhtml.endElement("div");
Expand Down Expand Up @@ -198,7 +208,7 @@ private void extractMaster(XHTMLContentHandler xhtml, HSLFMasterSheet master) th
for (HSLFShape shape : shapes) {
if (shape != null && !HSLFMasterSheet.isPlaceholder(shape)) {
if (shape instanceof HSLFTextShape) {
HSLFTextShape tsh = (HSLFTextShape) shape;
HSLFTextShape tsh = (HSLFTextShape) shape;
String text = tsh.getText();
if (text != null) {
xhtml.element("p", text);
Expand Down