Bug 20497 - The "Fit to Page" functionality does not seem to work.
Summary: The "Fit to Page" functionality does not seem to work.
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: 2.0-dev
Hardware: PC All
: P3 major with 5 votes (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
: 20701 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-05 07:26 UTC by Mose IADAROLA
Modified: 2005-03-20 17:06 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mose IADAROLA 2003-06-05 07:26:19 UTC
The "Fit to Page" functionality does not seem to work.
The radiobutton in the "File"|"Page Setup" dialog of Excel is not activated.
Is it a knowned bug?

It's not a minor bug: this functionality is very important for us.

Example:
...
sheet.getPrintSetup().setFitWidth((short)1);
sheet.getPrintSetup().setFitHeight((short)1);
sheet.setFitToPage(true);
Comment 1 Mose IADAROLA 2003-06-05 12:42:39 UTC
I add the following statement:

sheet.setAutobreaks(true;

and it now works fine!
Comment 2 Andy Oliver 2003-07-24 16:51:24 UTC
*** Bug 20701 has been marked as a duplicate of this bug. ***