Issue 111308 - Lengths of fields in header/footer incorrect in page preview
Summary: Lengths of fields in header/footer incorrect in page preview
Status: CONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: viewing (show other issues)
Version: OOO320m12
Hardware: PC Windows XP
: P4 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-01 15:54 UTC by jeremygharrison
Modified: 2013-07-26 11:06 UTC (History)
2 users (show)

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


Attachments
Screen shot of 'page preview', with header & footer mis-displayed (79.73 KB, image/png)
2010-05-01 15:56 UTC, jeremygharrison
no flags Details
Exported PDF of same file, with header/footer correctly rendered (16.11 KB, application/pdf)
2010-05-01 15:58 UTC, jeremygharrison
no flags Details
And the original .ods spreadsheet file (7.49 KB, application/vnd.oasis.opendocument.spreadsheet)
2010-05-01 16:02 UTC, jeremygharrison
no flags Details

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