Bug 39948 - HSLF: Slide.getTitle() and better testcase to assert the order of sheets
Summary: HSLF: Slide.getTitle() and better testcase to assert the order of sheets
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSLF (show other bugs)
Version: unspecified
Hardware: Other other
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-03 06:59 UTC by Yegor Kozlov
Modified: 2006-07-03 13:58 UTC (History)
0 users



Attachments
the patch for Slide.getTitle() (4.75 KB, patch)
2006-07-03 07:00 UTC, Yegor Kozlov
Details | Diff
test case to control the order of slides (5.79 KB, application/octet-stream)
2006-07-03 07:01 UTC, Yegor Kozlov
Details
org.apache.poi.hslf.model.Slide.java (6.53 KB, application/octet-stream)
2006-07-03 07:01 UTC, Yegor Kozlov
Details

Note You need to log in before you can comment on or make changes to this bug.
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