Download it now!
Bug 70668 - FILEOPEN: Display does not fit to a page format from a Calligra Words document.
Summary: FILEOPEN: Display does not fit to a page format from a Calligra Words document.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1.2.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ODF-import
  Show dependency treegraph
 
Reported: 2013-10-20 13:20 UTC by Markus Elfring
Modified: 2019-08-12 18:27 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
simple test document (5.80 KB, application/vnd.oasis.opendocument.text)
2013-10-20 13:20 UTC, Markus Elfring
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Elfring 2013-10-20 13:20:36 UTC
Created attachment 87873 [details]
simple test document

I have loaded a document which I created with the program "Calligra Words 2.7.3-99.1" in a KDE 4.11.2 session. The display shows a page setting "ISO A4 portrait" instead of the specified page format "ISO A5 landscape" in the source file "styles.xml".
Do I stumble on an open issue for the handling of the XML element "style:page-layout-properties"?
Comment 1 Thomas van der Meulen 2013-11-20 16:30:45 UTC
Does anybody got an idea? 
The file opens in A4.
Comment 2 Jean-Baptiste Faure 2013-11-24 15:10:31 UTC
I do not see "A5" in the file styles.xml. Page size is given in pt, not in mm.
I do not know if this is consistent with the ODF standard.

Did you file a bug report against Calligra? If not why? 

Is there some settings in Calligra allowing to use the mm as unit? AFAIK paper formats (ISO 216) are defined in mm.

Best regards. JBF
Comment 3 Markus Elfring 2013-11-24 16:20:44 UTC
(In reply to comment #2)
> Did you file a bug report against Calligra?

Yes. - But they deal with other issues.   ;-)


> If not why?

I did not really care for the chosen unit in this case.


> Is there some settings in Calligra allowing to use the mm as unit?

Yes. - A drop-down list is available in the dialogue "page layout".
Comment 4 Jean-Baptiste Faure 2013-11-24 18:09:51 UTC
Please do not mark NEW a bug that you reported yourself.

Could you make some tests of import in LO with various settings in Calligra like the unit?

Set status back to needinfo.

Best regards. JBF
Comment 5 Markus Elfring 2013-11-24 20:30:14 UTC
(In reply to comment #4)

Calligra Words 2.7.4-5.1 does not store my alternate page unit selection into specified test files. This program seems to "prefer" the point unit there at the moment.
Comment 6 Jean-Baptiste Faure 2013-11-24 22:15:47 UTC
Ok, so I think we should ask our Writer expert:

Hi Miklos,

Please, do you know who is right here ? LO, Calligra, both, nobody? ;-)

Best regards. JBF
Comment 7 QA Administrators 2014-06-01 21:29:55 UTC Comment hidden (obsolete)
Comment 8 steve -_- 2014-10-28 00:26:59 UTC
I do not have calligra. I, as JBF already, can confirm that the test file opens in DIN A4 page format.

Setting to NEW. A dev now needs to elaborate on the details if this is indeed something that needs fixing on LOs side or if it is NOTOURBUG and needs to be fixed in Calligra.
Comment 9 Robinson Tryon (qubit) 2015-12-18 10:50:49 UTC Comment hidden (obsolete)
Comment 10 Oliver Specht (CIB) 2016-04-28 14:12:58 UTC
You can see in the list of page styles there is "Default style" and "Default"
The first is the built-in default and the latter is the loaded style.

In styles.xml you find:
    <office:master-styles>
    <style:master-page style:name="Standard" style:display-name="Default" style:page-layout-name="pm1"/>
    </office:master-styles>

After removing the attribute
    style:display-name="Default" 
the file loads correctly as A5 format.

I'm quite sure the bug is on the LO side. If built-in styles are loaded the display-name should not matter.
Comment 11 Xisco Faulí 2016-09-19 15:29:48 UTC Comment hidden (obsolete)
Comment 12 Xisco Faulí 2017-09-29 08:51:30 UTC Comment hidden (obsolete)
Comment 13 Markus Elfring 2017-10-08 12:32:44 UTC
(In reply to Xisco Faulí from comment #12)

The wrong page format is still displayed by the application “LibreOffice Writer 5.4.1.2-555.1” (Build-ID: 40m0(Build:2)) for my test document (in an XFCE session on an openSUSE Tumbleweed system).
Comment 14 QA Administrators 2018-10-09 02:52:52 UTC Comment hidden (obsolete)
Comment 15 Markus Elfring 2018-10-09 18:00:35 UTC
(In reply to QA Administrators from comment #14)
The wrong page format is still displayed by the application “LibreOffice Writer 6.1.2.1-735.4” (Build-ID: 10(Build:1)) for my test document (in an XFCE session on an openSUSE Tumbleweed system).