Bug 9518

Summary: setLandscape method of HSSFPrintSetup class
Product: POI Reporter: senthilkumar <senthild>
Component: HSSFAssignee: POI Developers List <dev>
Status: CLOSED FIXED    
Severity: critical    
Priority: P3    
Version: 1.5.1   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: Patch to fix this bug

Description senthilkumar 2002-05-30 10:03:26 UTC
setLandscape method of HSSFPrintSetup class accepts a boolean variable to set 
the orientation. Logically if i pass true then the orientation should be 
landscape. but only when i pass false the orientation is set to landscape. it 
can be changed
Comment 1 Shawn Laubach 2002-06-05 14:07:51 UTC
Created attachment 2010 [details]
Patch to fix this bug
Comment 2 Shawn Laubach 2002-06-05 14:09:42 UTC
Here is a patch to fix this.  The internal record records a 0 for landscape 
mode and the record called this landscape and then the boolean functions said 
false.  I flip it in the usermodel.
Comment 3 Avik Sengupta 2002-06-06 06:05:52 UTC
Applied, thanks. Could you please verify?
Comment 4 Shawn Laubach 2002-07-27 18:33:28 UTC