Description: When using FILESAVE to save a .docx file to .docx, various image properties change and this affects document layout when re-opening document. Specifically, images anchored "to paragraph" become anchored "to character". Images anchored "to paragraph" with vertical alignment to "paragraph text area" become vertically aligned to "character". Images anchored "to character" with vertical alignment to "character" become vertically aligned to "line of text". Images lose "keep inside text boundaries" if previously checked. Images with horizontal alignment "center" to "paragraph area" are inconsistently changed to "from left" alignment of "paragraph area". These issues do not appear to occur if the file format is changed to an .odt document. Steps to Reproduce: 1.Open sample file "Formula placement bug 1.odt" to confirm properties of the formulae as they were originally entered. 2.Open sample file "Formula placement but 1 from odt.docx" to confirm the property errors after the .odt file was saved to .docx format 3. Actual Results: See "Formula placement but 1.docx" . The properties of all the equations were originally as described in red type and as shown in the .odt file. Now they have been changed. Expected Results: None of the properties of the images (formulae) should have been changed during the save and open process Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: Currently using: Version: 7.3.5.2 (x64) / LibreOffice Community Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01 CPU threads: 8; OS: Windows 10.0 Build 22000; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: threaded The bug also existed in OL ver 7.2.7 and ver. 6.4.2 See screenshots to see how one page of my document was altered after saving.
Created attachment 181961 [details] File with "correct" image placement properties
Created attachment 181962 [details] File with properties altered after conversion from .odt to .docx
Created attachment 181963 [details] File I was working with - properties changed when previously saved
Created attachment 181964 [details] screenshot to show correct placement of images
Created attachment 181965 [details] screenshot of document page showing image locations changed
I confirm it with Version: 7.4.1.2 (x64) / LibreOffice Community Build ID: 3c58a8f3a960df8bc8fd77b461821e42c061c5f0 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Steps to reproduce 1. Open attachment 181961 [details] 2. Save as docx 3. Reload Actual results: See description in comment 0 Sincde there are a lot of different issues, I'm not sure, if would be better to open a separate report for each issue.
(In reply to Dave Seitman from comment #0) > When using FILESAVE to save a .docx file to .docx, I assume this was a mistake, and you meant "save an odt file to .docx". > change and this affects document layout when re-opening document. > Specifically, images anchored "to paragraph" become anchored "to character". DOCX doesn't have "to paragraph" or "to page" as options, only "as character" or "to character". [Frames on the other hand are a different story.] > Images anchored "to character" with ... I don't know about these, but likely the same kind of thing is true. MS formats do not necessarily have corresponding options to all of LO's settings (and vice versa). I'm tempted to mark this as INVALID, since the report is so open ended and unattainable. There are tons of bug reports out there about layout anchoring, and this bug report doesn't add any specific value. See bug 112313 for the report about DOCX files importing with a different wrap result. See bug 124059 for another INVALID ODT->DOCX wrapping complaint. There is one possible salvageable piece here - a centre alignment should remain centre alignment I would think. And it does in 5.1 and 7.6+ (although as soon as you move it, then it changes). OK - I'm marking as INVALID.