[Libreoffice-bugs] [Bug 121659] FILESAVE DOCX Manual Column Break is lost after exported

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Dec 21 12:55:55 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=121659

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jluth at mail.com

--- Comment #6 from Justin L <jluth at mail.com> ---
Created attachment 147740
  --> https://bugs.documentfoundation.org/attachment.cgi?id=147740&action=edit
columns2.docx: more paragraphs added so balanced and column break don't match

(In reply to raal from comment #5)
I get the same 4.4 bibisect result as you, but that specific commit just
exposes several other things that happened in that time period from Feb till
Jul. Although Word2003 still sees the manual break, the key problem to look for
in bibisect4.4max is the loss of the column break, which actually happened from
export commit 80fd9fb7209cfd5c0622ee99d59e42e6db32f021
    Author:     Umesh Kadam  @synerzip.com
    CommitDate: Thu May 22 02:31:53 2014 -0500
        fdo#78333 : SdtContent and a Shape overlapping causes corruption


The following commit should be ENTIRELY unrelated - even though reverting it
visually "fixes" the original columns.docx.
commit d185204737031955c56a24356ed003d342548434
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Jul 17 14:59:19 2014 +0200
    DOCX import: set DontBalanceTextColumns=true for the last section ...
    ... if it has multiple columns.

    See wwSectionManager::InsertSegments() for the related binary import
    code which already did this.

There are two problems here. One is that the column break is being absorbed
into the shape on import. Removing the shape also "fixes" the problem.
The other problem is that the shape should be imported BEFORE the column break
- probably requiring another fake/split paragraph.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181221/85eb6cd1/attachment.html>


More information about the Libreoffice-bugs mailing list