Bug 143983 - Table alignment 'Left' becomes 'From left' on DOCX/RTF export (not with DOC)
Summary: Table alignment 'Left' becomes 'From left' on DOCX/RTF export (not with DOC)
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-20 18:46 UTC by Telesto
Modified: 2021-10-05 06:46 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example file (8.71 KB, application/vnd.oasis.opendocument.text)
2021-08-20 18:46 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-08-20 18:46:03 UTC
Description:
Table alignment 'Left' becomes 'From left' on DOCX/RTF export (not with DOC)

Steps to Reproduce:
1. Open the attached file
2. Table -> Properties -> Table tab -> Notice setting 'Relative + Left"
3. File Save as -> DOCX
4. File reload
5.  Table -> Properties -> Table tab -> Notice setting From Left

Actual Results:
From left

Expected Results:
Left I assume?


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: f58f35b2c8ca1efbacec642a8f3de5b0c499bc6b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-08-20 18:46:16 UTC
Created attachment 174454 [details]
Example file
Comment 2 Екатерина 2021-09-04 18:10:37 UTC
confirm in Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: bc7baa18435000f47f90e47d3300710bcb4cf56b
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 3 Justin L 2021-10-04 05:43:12 UTC
I assume this has to do with differences in how borders are calculated. I know there are differences on whether borders start before the margin or after the margin. (See bug 119760 for how ridiculous this is.)

In any case, (without actually looking into the issue but just going from memory) this is just emulation in order to get things to look right. Unless there are placement problems, I would consider this to be not a bug.

Why was this not bibisected before reporting as an issue? (Already in bibisect-43all, assuming inherited from OOo.)

Since the distance "from left" is zero in this case, I guess it could be converted to a LEFT instead in this particular case, although I don't know why that would be valuable. AFAIK, those two situations are equivalent.
Comment 4 Telesto 2021-10-05 06:46:20 UTC
Lets close this one, not productive enough.

Stubble more on this as a side-kick from my vendetta with table alignment switching from Automatic to 'From Left' and losing relative property

And me not totally understanding what the difference is between 'From left' and "Left". I assume both a different in some regard.