[Libreoffice-bugs] [Bug 120972] Columns created using decimal point tab in ruler become misaligned in docx files

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 31 10:59:37 UTC 2020


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

NISZ LibreOffice Team <libreoffice at nisz.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |107830
                 CC|                            |libreoffice at nisz.hu
             Status|NEEDINFO                    |NEW

--- Comment #18 from NISZ LibreOffice Team <libreoffice at nisz.hu> ---
This is a tricky situation.
The decimal tabulator can have an arbitrary decimal separator set in Writer.
Word on the other hand does not have such a feature, so docx format does not
support at save time storing the arbitrary decimal separators set in Writer.

What happens at export time is that the separators are not saved at all, and at
import time they are imported as comma.

The difference in display is also locale-specific when comparing editing a new
file.
The default decimal separator used for decimal tabulators matches the locales
default: usually dot (English) or comma (such as German or Hungarian). 
This makes the editor align the numbers to the decimal tabulator if they
contain the locale-default separator, which is intuitive.

With locales using dot the docx save and reload messes up the layout, since
reopening the file changes the separator to comma. If they used numbers with
dot as separator, that is now left-aligned since it does not contain the
expected comma.

Word on the other hand does not support custom decimal separator, what it does
is that it supports all kinds of non-number character separators for decimal
type tabulators.
So whether a Writer-saved docx file originally aligned numbers to a dot or
comma does not matter in Word, it will align both variation to the decimal tab.

I'll attach a few example files and screenshots to document what's going on.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107830
[Bug 107830] [META] DOCX (OOXML) paragraph-related issues
-- 
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/20201231/af405397/attachment.htm>


More information about the Libreoffice-bugs mailing list