Bug 29725 - Missing Function setPageFit to use setFitHeight and setFitWidth
Summary: Missing Function setPageFit to use setFitHeight and setFitWidth
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-FINAL
Hardware: Sun Solaris
: P3 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2004-06-21 17:56 UTC by Ulrich Kaemmerer
Modified: 2008-05-17 05:41 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
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