Bug 38484

Summary: Incorrect loading of ODF file
Product: LibreOffice Reporter: Andreas J Guelzow <aguelzow>
Component: SpreadsheetAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: LibreOffice, sasha.libreoffice
Version: 3.3.2 release   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: sample file

Description Andreas J Guelzow 2011-06-19 22:12:32 UTC
Created attachment 48176 [details]
sample file

According to ODF 1.2, the <style:header> element has a style:display attribute specifying whether the header or footer is displayed or not. The default value for this attribute is true. (See ODF 1.2 Part 1, 19.471)

The attached file has
-------------------------------------------------
    <style:master-page style:name="tamp-0x899f740" style:page-layout-name="pl-default">
      <style:header>
        <style:region-left><text:p><text:span>Page </text:span><text:page-number style:num-format="1"/></text:p>        </style:region-left>
        <style:region-center><text:p><text:sheet-name/></text:p>        </style:region-center>
        <style:region-right><text:p><text:span>Date: </text:span><text:date style:data-style-name="ND.0"/></text:p>        </style:region-right>
      </style:header>
      <style:footer>
        <style:region-left><text:p><text:expression text:display="formula" text:formula="of:=[.$A$1]"/></text:p>        </style:region-left>
        <style:region-center><text:p><text:span>Page </text:span><text:page-number style:num-format="1"/><text:span> of </text:span><text:page-count style:num-format="1"/></text:p>        </style:region-center>
        <style:region-right><text:p><text:file-name text:display="name-and-extension"/></text:p>        </style:region-right>
      </style:footer>
    </style:master-page>
-------------------------------------------------
and although this is read by LibreOffice calc the header and footer are initially hidden.
Comment 1 Björn Michaelsen 2011-12-23 12:25:14 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 2 Andreas J Guelzow 2011-12-23 13:04:13 UTC
I will not waste my time with checking whether this is still true in some recent unreleased version. I filed this report as a service to the LibreOffice user community. I am of course _not_ using LO myself. So if you don't care about these bugs, feel free to close this report.
Comment 3 Rainer Bielefeld Retired 2012-01-08 04:13:58 UTC
Status of this bug report has been modified wrongly by a bulk change. 
No additional info is required, but someone with ODF knowledge to confirm reporter's complaint.
Comment 4 sasha.libreoffice 2012-04-11 03:16:32 UTC
Thanks for bugreport

http://odf-validator.rhcloud.com/ complains in this file only about this:
unexpected attribute "gnm:GnmHAlign"
So, nothing about header and footer. So, IMHO problem not in attached file.
msOffice 2007 on Windows 7 opens this file with header and footer initially.
Attached file created in gnumeric/1.10.17. So, we can do some additional experiments with Gnumeric when needed.
Comment 5 Andreas J Guelzow 2012-05-15 14:23:39 UTC
Regarding comment #4: 
http://odf-validator.rhcloud.com/ complains in this file only about
unexpected attribute "gnm:GnmHAlign"
only for OASIS ODF 1.2 (conforming), not for
OASIS ODF 1.2 (extended conforming).

OASIS ODF 1.2 allows for foreign attributes and foreign elements in the extended conforming class.
Comment 6 QA Administrators 2015-01-05 17:52:35 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present on a currently supported version of LibreOffice (4.3.5 or later): https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior

If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case)

Thank you for your help!

-- The LibreOffice QA Team

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.