Bug 135327 - FILESAVE ODT->DOCX: Export has hard time by space created by dragging an image as character down
Summary: FILESAVE ODT->DOCX: Export has hard time by space created by dragging an imag...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: lowest minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Limitations
  Show dependency treegraph
 
Reported: 2020-07-30 18:25 UTC by Telesto
Modified: 2024-05-31 15:33 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (19.45 KB, application/vnd.oasis.opendocument.text)
2020-07-30 18:25 UTC, Telesto
Details
positionedAsChar_135327.odt: as character image, but with positioning distance (25.96 KB, application/vnd.oasis.opendocument.text)
2020-07-31 06:32 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-30 18:25:25 UTC
Description:
FILESAVE DOCX: Export has hard time by space created by dragging an image as character down

Steps to Reproduce:
1. open the attached file
2. Save as DOCX
3. File reload

Actual Results:
Table shrinks

Expected Results:
Screen layout?


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); GI: nl-NL
Calc: CL
Comment 1 Telesto 2020-07-30 18:25:41 UTC
Created attachment 163790 [details]
Example file
Comment 2 Telesto 2020-07-30 18:35:50 UTC
@Justin
Is this a thing or me being abusive.
Comment 3 Justin L 2020-07-31 06:32:26 UTC
Created attachment 163796 [details]
positionedAsChar_135327.odt: as character image, but with positioning distance

(In reply to Telesto from comment #2)
> Is this a thing or me being abusive.

In the picture properties, this is set as "at character", "from bottom" "-10cm".

In Word 2003, I don't see any layout options available for positioning in-line (as-character) objects. Once you set to wrap to something else (aka at-character), then you can set the distances.

So, the export code has to decide whether to honour the as-character attribute (which has wrapping implications - a single line of text can wrap) or else to handle the "from bottom" distance.
Comment 4 Anton F 2021-08-10 16:25:30 UTC
Reproduced.

.docx - correct display
.odt - displacement

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: b2130ad3fda841c68a0436fbddf29bcedede0af5
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-08-09_13:03:07
Calc: threaded