https://bz.apache.org/bugzilla/show_bug.cgi?id=60003
Javen O'Neal <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #34150|0 |1 is obsolete| | --- Comment #2 from Javen O'Neal <[email protected]> --- Created attachment 34152 --> https://bz.apache.org/bugzilla/attachment.cgi?id=34152&action=edit Failing unit test with logging It looks like the omission of "Prague" from the PowerPointExtractor output was likely intentional [1] > 210 if(HSLFMasterSheet.isPlaceholder(sh)) { > 211 // don't bother about boiler > 212 // plate text on master > 213 // sheets > 214 continue; > 215 } Specifically, POI identified this master slide footer as a placeholder. Since "placeholders aren't normal shapes, they are visible only in the Edit Master mode" [2], they are omitted from the powerpoint extractor output. If POI incorrectly identified this as a placeholder or the file was incorrectly saved treating this as a placeholder, then this text should be included in the PowerPointExtractor output. > Ignoring boiler plate (placeholder) text '*' on slide master > Ignoring boiler plate (placeholder) text 'Plan4all Kick-off Meeting, 14th May > 2009, Prague' on slide master > Ignoring boiler plate (placeholder) text '*' on slide master > Ignoring boiler plate (placeholder) text 'Click to edit Master title style' > on slide master The change in functionality is likely somewhere in HeadersFooters.java where > if(_newRecord) attach(); was no longer called, or changes to the implementation of > isVisible Extracting from the Master slide goes back to bug 48161 in 2009. [1] https://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/extractor/PowerPointExtractor.java?revision=1748783&view=markup#l206 [2] https://poi.apache.org/apidocs/org/apache/poi/hslf/usermodel/HSLFMasterSheet.html#isPlaceholder(org.apache.poi.hslf.usermodel.HSLFShape) -- 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]
