Issue 111308

Summary: Lengths of fields in header/footer incorrect in page preview
Product: Calc Reporter: jeremygharrison <jeremygharrison>
Component: viewingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: elish, issues
Version: OOO320m12   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Screen shot of 'page preview', with header & footer mis-displayed
none
Exported PDF of same file, with header/footer correctly rendered
none
And the original .ods spreadsheet file none

Description jeremygharrison 2010-05-01 15:54:10 UTC
In page preview, in header & footer, the lengths of displayed fields (date,
time, sheet name, etc.) are not calculated (or used) correctly, hence start
points of field, or following field, are incorrect, causing truncation or
overlap of fields, certainly at some display sizes (zoom levels). In particular,
a date in the right area of footer/header appears to lose the last digit
(appearing as 01/05/201, not 01/05/2010).

To recreate:
1. Create new Calc spreadsheet, with some data.
2. Edit -> Header/Footer   
3. Add succession of fields (followed by a character perhaps) to left & centre
areas, and just date/time to right areas; OK to apply.
4. File -> Page Preview. Headers/footers do not display correctly.

Note: All appears correct when doing Print or Export as PDF.
At some zoom levels, hence character sizes, it appears correct in page preview.
So my supposition would be that in page preview header/footer routine, the
granularity associated with character sizes for field lengths is coarser than
that for the characters.
Comment 1 jeremygharrison 2010-05-01 15:56:47 UTC
Created attachment 69223 [details]
Screen shot of 'page preview', with header & footer mis-displayed
Comment 2 jeremygharrison 2010-05-01 15:58:48 UTC
Created attachment 69224 [details]
Exported PDF of same file, with header/footer correctly rendered
Comment 3 jeremygharrison 2010-05-01 16:02:21 UTC
Created attachment 69225 [details]
And the original .ods spreadsheet file
Comment 4 Edwin Sharp 2013-07-26 11:06:34 UTC
Confirmed on Rev. 1503704 Win 7.