https://bugs.documentfoundation.org/show_bug.cgi?id=173671
Bug ID: 173671
Summary: FILESAVE DOC: AT_CHAR TEXT_LINE needs to swap top and
bottom due to opposite meanings in MS Word
Product: LibreOffice
Version: 5.4 all versions
Hardware: All
OS: All
Status: UNCONFIRMED
Keywords: bisected, filter:doc, regression
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Blocks: 120468
Created attachment 208678
--> https://bugs.documentfoundation.org/attachment.cgi?id=208678&action=edit
169024_verticalCenter.doc: minimal example
If you look at OOXML PositionHandler::orientation(), it says
// It appears that to 'line of text' alignment is backwards to other
alignments,
// 'top' meaning putting on top of the line instead of having top at the line.
What we import seems to be ok - it matches what MS Word does with the file.
But when we save an image that is Top/Bottom to 'line of text',
then it flip-flops back and forth each save.
So obviously our export is wrong.
This started in LO 5.4 with commit 85a621be87c88d8c317eb0fa296ae64f2b3253a5
Author: Bjoern Michaelsen on Sun Dec 25 00:09:24 2016 +0000
move handling of pWW8AnchorConvHint from SwDrawContact to SwContact
Reviewed-on: https://gerrit.libreoffice.org/32393
Earlier in 5.4 it was always saving as 'from bottom', but that was fixed with
commit d2be1f90faa64cbbfe789eb62370555eb5400ae3
Author: Bjoern Michaelsen on Mon Dec 12 11:35:24 2016 +0000
use message passing
Reviewed-on: https://gerrit.libreoffice.org/31863
Steps to reproduce:
-open 169024_verticalCenter.doc
-save it
-reload and notice the image is now on the opposite side of the line.
Referenced Bugs:
https://bugs.documentfoundation.org/show_bug.cgi?id=120468
[Bug 120468] [META] DOC (binary) anchor and text wrapping bugs and enhancements
--
You are receiving this mail because:
You are the assignee for the bug.