Bug 29725

Summary: Missing Function setPageFit to use setFitHeight and setFitWidth
Product: POI Reporter: Ulrich Kaemmerer <ulrich.kaemmerer>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P3    
Version: 2.0-FINAL   
Target Milestone: ---   
Hardware: Sun   
OS: Solaris   

Description Ulrich Kaemmerer 2004-06-21 17:56:42 UTC
I would like to use PrintSetup with setFitHeight and setFitWidth.
The values are set correctly in the sheet but there is no function to activate 
the use of this settings in Excel (scale is used always).
I think a function named setPageFit(boolean) is missing in the library which 
activates the FitHeight/FitWidth radio-button (don't know the english name of 
it because I have a german Excel).
Comment 1 Yegor Kozlov 2008-05-17 05:41:43 UTC
We have HSSFPrintSetup.setFitToPage(boolean b) for that

Yegor