Bug 108034 - FILESAVE ODT->DOC/X Template Resume moves sections-inside-column outside of the column.
Summary: FILESAVE ODT->DOC/X Template Resume moves sections-inside-column outside of t...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.3.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc
Depends on:
Blocks: DOC
  Show dependency treegraph
 
Reported: 2017-05-23 17:05 UTC by dshuffin
Modified: 2022-08-12 15:53 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
File just created (22.33 KB, application/pdf)
2017-05-29 11:03 UTC, webberalessandro
Details
File saved and reopened (29.45 KB, application/pdf)
2017-05-29 11:04 UTC, webberalessandro
Details
Resume saved as .doc (13.50 KB, application/msword)
2017-05-31 18:03 UTC, Buovjaga
Details
in-columnContinuousSectionBreak.docx: created by MS Word 2016 (11.52 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-07-23 10:56 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dshuffin 2017-05-23 17:05:22 UTC
Description:
A new document created from template "Resume" has broken layout after being saved to word (2003) format.

Steps to Reproduce:
1. Create a new Writer document from a built-in template "Resume"
2. Save the file as .doc (office 2003)
3. Exit writer
4. Open the just saved file - the layout of the file is different if compared with the original template

Actual Results:  
The layout of the file is broken. It doesn't lokk the same as before savingto .doc format

Expected Results:
The file should look the same after being opened, as it was before saving


Reproducible: Always

User Profile Reset: No

Additional Info:
Windows 10 Pro x64 15063.296


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Comment 1 webberalessandro 2017-05-29 11:02:30 UTC Comment hidden (obsolete)
Comment 2 webberalessandro 2017-05-29 11:03:39 UTC Comment hidden (obsolete)
Comment 3 webberalessandro 2017-05-29 11:04:33 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2017-05-31 18:03:07 UTC
Created attachment 133757 [details]
Resume saved as .doc

Note that the template is Resume, not CV.

The template has 3 sections. In the doc, they are 6 and some of them slip below the contact infos.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.5.0.0.alpha0+
Build ID: 963137415bcdf3e7a26ce5d258302f4e39e294db
CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on May 31st 2017
Comment 5 QA Administrators 2018-06-01 02:17:25 UTC Comment hidden (obsolete)
Comment 6 dshuffin 2018-06-01 22:28:17 UTC
The bug is still present in:

Version: 6.0.4.2 (x64)
Build ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: ru-RU (ru_RU); Calc: group
Comment 7 QA Administrators 2019-06-02 03:00:33 UTC Comment hidden (obsolete, spam)
Comment 8 Justin L 2020-06-11 18:28:49 UTC
Well, there actually are six or seven sections, because every space in between two sections is actually another section (since MSO doesn't pyramid sections like LO does). So the number of sections isn't a problem.

I guess it would have to be proven that MS Word can produce a similar layout using sections. I wouldn't be surprised if it is impossible for MSO to have a section in a column. [I just tried with Word 2003, and a continuous section break takes me out of the column - just like LO did.]

So this looks like a limitation of using MS formats. I'd say NOTABUG, although it could be argued that LO shouldn't supply a template design that exports to other formats so poorly - and so take the bug report in that direction.
Comment 9 Buovjaga 2020-06-13 11:59:05 UTC
(In reply to Justin L from comment #8)
> I guess it would have to be proven that MS Word can produce a similar layout
> using sections. I wouldn't be surprised if it is impossible for MSO to have
> a section in a column. [I just tried with Word 2003, and a continuous
> section break takes me out of the column - just like LO did.]

I tried this with MSO 2013. I am able to create a continuous section break in a column without it disturbing the column structure. Saving as DOCX and DOC preserves the structure.
Comment 10 Justin L 2020-07-23 10:56:04 UTC
Created attachment 163446 [details]
in-columnContinuousSectionBreak.docx: created by MS Word 2016

I did a bit more review into what LO and Word can do in terms of sections/columns - and they seem to act fairly similar.


In LO's resume template, multiple sections are staying in the right column. So how is the template doing it? I tried to reproduce that in LO with just using sections, and was unable to do that.

Well, it is doing it through a unique LO capability of specifying columns in the page style - which takes first priority. Then, sections can split that apart into one more set of columns after that. MS Word has NOTHING like that, so on export we turn page-style-columns into a section. As I mentioned in comment 8, and as confirmed by the previous paragraphs, sections alone cannot accomplish this layout.

LO's Page styles / columns in page styles is a major departure from the MS way of doing things - so this resume template is impossible to export nicely to non-ODT formats.
Comment 11 QA Administrators 2022-07-24 03:31:42 UTC Comment hidden (obsolete, spam)
Comment 12 Justin L 2022-08-12 15:53:36 UTC
Laurent: thought you might be interested in this one. It could use a re-design so that it can export well into other formats. The ability to look good in MS formats should be a "QA checklist" on templates design I would think. Is there such a checklist documented?