https://issues.apache.org/bugzilla/show_bug.cgi?id=45590
Summary: Header/footer extraction must work for .ppt files saved
from PPT 2007
Product: POI
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: critical
Priority: P1
Component: HSLF
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
Created an attachment (id=22402)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=22402)
The presentation as a ppt with no header/footer data.
I have attempted to use the code outlined here for the extraction of headers
and footers from .ppt files:
http://poi.apache.org/hslf/how-to-shapes.html#HeadersFooters
However, all the values I got were null.
The test file I used was a .ppt file created in PowerPoint 2007. I.e. it was
saved in the compatibility mode. This is a very important use-case, since I
have no access to any other version of Office and our customers are very likely
to have a lot of files like this.
I am attaching the following:
1. a simple presentation, both in pptx and ppt formats (ppt saved in
compatibility mode from '07)
2. the same presentation with set headers / footers, both in ppt and pptx
formats.
Note that for the files with headers/footers, the following header/footer data
is defined:
1. Slide header/footer data:
- Fixed date: August 06, 2008
- Slide number is checked
- Slide footer is set to "THE FOOTER TEXT" for all slides but the second, where
it is actually set to "THE FOOTER TEXT FOR SLIDE 2"
2. Notes and Handouts
- Date and time is selected to 'update automatically'
- Header is set to "THE NOTES HEADER TEXT"
- Page number is selected
- Footer is set to "THE NOTES FOOTER TEXT"
This feature is critical for us.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]