Bug 39948

Summary: HSLF: Slide.getTitle() and better testcase to assert the order of sheets
Product: POI Reporter: Yegor Kozlov <yegor>
Component: HSLFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: the patch for Slide.getTitle()
test case to control the order of slides
org.apache.poi.hslf.model.Slide.java

Description Yegor Kozlov 2006-07-03 06:59:40 UTC
I added Slide.getTitle() which returns title of a slide. 

Title is a text run of type TextHeaderAtom.CENTER_TITLE_TYPE or
TextHeaderAtom.TITLE_TYPE. With this method it is easier to write testcases to
control the order of slides. Just follow the pattern in
TestSlideOrdering.testTitles() if you have more files to test.

Yegor
Comment 1 Yegor Kozlov 2006-07-03 07:00:29 UTC
Created attachment 18550 [details]
the patch for Slide.getTitle()
Comment 2 Yegor Kozlov 2006-07-03 07:01:12 UTC
Created attachment 18551 [details]
test case to control the order of slides
Comment 3 Yegor Kozlov 2006-07-03 07:01:52 UTC
Created attachment 18552 [details]
org.apache.poi.hslf.model.Slide.java
Comment 4 Nick Burch 2006-07-03 09:47:26 UTC
Great, thanks for this. I'll try to commit tonight (your committer account
should appear soon after Andy gets back)
Comment 5 Nick Burch 2006-07-03 20:58:08 UTC
Thanks for this Yegor, committed