Issue 14890 - Page Breaks differences between Calc and Excel of xls doc
Summary: Page Breaks differences between Calc and Excel of xls doc
Status: CLOSED FIXED
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: oc
QA Contact: issues@sc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-26 10:22 UTC by john.marmion
Modified: 2013-08-07 15:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
sample doc. attached (39.00 KB, application/octet-stream)
2003-05-26 10:23 UTC, john.marmion
no flags Details
proof of concept patch (3.78 KB, patch)
2003-06-05 17:36 UTC, john.marmion
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description john.marmion 2003-05-26 10:22:57 UTC
The attached doc has a significant difference in Excel and Calc on the page 
break between Pages 1 and 2. Pages 3 and 4 are identical in Excel and Calc.
Comment 1 john.marmion 2003-05-26 10:23:54 UTC
Created attachment 6424 [details]
sample doc. attached
Comment 2 oc 2003-05-26 15:18:42 UTC
Hi Daniel, have a look at the margins. It seems that they are not
correctly set.
Comment 3 john.marmion 2003-05-30 15:33:50 UTC
taking ownership
Comment 4 john.marmion 2003-06-05 10:00:37 UTC
On further investigation, this document does not contain any explicit 
page breaks but instead the page breaks are automatically created 
from the print settings. In order to ensure compatability, the Excel 
option of 'Fit To' in the File -> Page Setup -> Page should be set 
and this is imported to Calc as "Fit to Pages". See also issue 11381 
and issue 14579. I will close this as invalid.
Comment 5 john.marmion 2003-06-05 10:01:25 UTC
closed
Comment 6 john.marmion 2003-06-05 17:35:08 UTC
re-opening this issue. One problem I overlooked is that the margins 
sizes are different in Calc and Excel. The reason is that there are 
no margins explicitly set. Thus Excel uses the following default 
values:
2.5cm top/bootom margins
1.9cm left/right margins 

while Calc defaults to 2.0cm for top/bottom/left/right. Where no 
margins have been set, Calc should default the xls file to the Excel 
default settings. This does not fix the page breaks. The workaround 
on 'Fit to pages' is still necessary. 
Comment 7 john.marmion 2003-06-05 17:36:09 UTC
Created attachment 6682 [details]
proof of concept patch
Comment 8 john.marmion 2003-06-05 17:36:30 UTC
started
Comment 9 john.marmion 2003-07-11 14:07:55 UTC
checked in fix today into CWS calc16.
Comment 10 frank 2003-08-07 15:39:43 UTC
set to verified
Comment 11 frank 2003-08-07 15:41:28 UTC
closed verified
Comment 12 frank 2003-08-08 07:53:42 UTC
closed accidentially, so reopening

Frank
Comment 13 frank 2003-08-08 07:55:10 UTC
restoring status as fixed.

Frank

Comment 14 john.marmion 2003-08-13 12:27:03 UTC
reopen to assign to QA
Comment 15 john.marmion 2003-08-13 12:27:34 UTC
assign to QA
Comment 16 john.marmion 2003-08-13 12:27:56 UTC
reset to fixed
Comment 17 oc 2003-09-05 12:06:40 UTC
Verified in internal build calc16
Comment 18 oc 2004-03-23 17:08:08 UTC
closed because fixed