| Summary: | Setting the "Fit to Page" and "Fit to Height" print/page-setup options in BIRT reports exported to excel | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | harshdhulia88 |
| Component: | BIRT | Assignee: | Birt-ReportEngine-inbox <Birt-ReportEngine-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | Xiaoying Gu <bluesoldier> |
| Severity: | normal | ||
| Priority: | P3 | CC: | bluesoldier |
| Version: | unspecified | ||
| Target Milestone: | 3.7.0 | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | Obsolete | ||
| Attachments: | |||
|
Description
harshdhulia88
Created attachment 190093 [details]
This file belongs to the org.eclipse.birt.report.engine.emitter.excel package and is in the org.eclipse.birt.report.engine.emitter.prototype.excel_2.6.2.r262_v20110215.jar file.
I've made some changes to this file to set the "Fit to Page" and "Fit Height" options of the exported excel file of the BIRT report so that the print-setting/page-setup is set properly for excel. Please note that by setting the "Fit to Page" option, the scaling of the excel file doesn't need to be set as it will be determined automatically by excel. Changes are on line numbers 836-838 and 841-842 in the declareWorkSheetOptions method.
This bug was reproducible in the 2.6.1 release, but can not be reproduced in the latest 2.6.2 release. Set as fixed. |