poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com.INVALID>
Subject pptx: how to parse sectionLst/section nodes from presentation.xml
Date Sat, 01 Nov 2014 01:51:47 GMT
How can I get the section names within a slideshow and the slides that belong to each section?
The example below has 7 slides: 2 in Intro and 5 in Review. In PowerPoint 2010 the section
names appear as a collapsible row on the left side within the Slide tab:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<p:presentation 
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" 
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" 
xmlns:p="http://schemas.openxmlformats.org/presentationml/2006/main" 
saveSubsetFonts="1">
<!-- snip -->
<p:extLst>
<p:ext uri="{FF64AA52-CC49-43D1-AE80-FB87A981D0C9}">
<p14:sectionLst xmlns:p14="http://schemas.microsoft.com/office/powerpoint/2010/main">
<p14:section name="Intro" id="{71E834DF-9D09-47CB-96D5-585004CCEA17}">
<p14:sldIdLst>
<p14:sldId id="256"/>
<p14:sldId id="257"/>
</p14:sldIdLst>
</p14:section>
<p14:section name="Review" id="{4A17A8CD-2573-4B68-B88D-43CAF5F799F7}">
<p14:sldIdLst>
<p14:sldId id="258"/>
<p14:sldId id="356"/>
<p14:sldId id="310"/>
<p14:sldId id="344"/>
<p14:sldId id="345"/>
</p14:sldIdLst>
</p14:section>
</p14:sectionLst>
</p:ext>
</p:extLst>
</p:presentation>


I glanced through the test-data/slideshow folder but didn't see any files with section names.

Thanks,
Ron

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message