Bug 45814

Summary: [PATCH] Specify RecordType for slide show Handout (4041)
Product: POI Reporter: Don Boulia <djboulia>
Component: HSLFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X 10.4   
Attachments: Patch for RecordTypes.java
Test case file
input test case powerpoint file
Image file (used in test case)

Description Don Boulia 2008-09-15 15:27:45 UTC
Created attachment 22580 [details]
Patch for RecordTypes.java

The Handout type is currently specified as null in RecordTypes.java.  When a slideshow that has the handout specified is modified, dumping the resulting file with SlideShowRecordDumper reports an invalid offset in the Handout record.  Changing the Handout record to a type of DummyPositionSensitiveRecordWithChildren resolves the issue.  Test case, supporting files and patch attached.
Comment 1 Don Boulia 2008-09-15 15:28:46 UTC
Created attachment 22581 [details]
Test case file
Comment 2 Don Boulia 2008-09-15 15:29:26 UTC
Created attachment 22582 [details]
input test case powerpoint file
Comment 3 Don Boulia 2008-09-15 15:30:03 UTC
Created attachment 22583 [details]
Image file (used in test case)
Comment 4 Yegor Kozlov 2008-09-18 03:59:05 UTC
Fixed in r696627.

Yegor