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

Mark Hung <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #122382|0                           |1
        is obsolete|                            |
 Attachment #122383|0                           |1
        is obsolete|                            |
 Attachment #122533|0                           |1
        is obsolete|                            |

--- Comment #11 from Mark Hung <[email protected]> ---
Created attachment 123486
  --> https://bugs.documentfoundation.org/attachment.cgi?id=123486&action=edit
Sample file with Chinese style name and style display name

Steps to reproduce:
1. Set UI language to Chinese (traditional) - this is must
2. Open the attached file.
3. Save as another file.
4. Reopen it, direct formatting were missing. 
Font size are changed from 30pt to 12 pt in many paragraphs.


Version:5.1.0.3
Build ID:5e3e00a007d9b3b6efb6797a8b8e57b51ab1f737
CPU Threads: 8; OS Version: Windows 6.2; UI Render: GL; 
Lang:zh-TW (zh_TW)


Note:
In the attached document, both style name and style display name attributes of
the paragraph style of text body are in Chinese (traditional). When Writer
imports the file, it find existing style by its display name. If one is found,
the style properties are imported, otherwise a new style is created. When UI
language is set to Chinese ( traditional ), the display name of the built in
one matches the one in the file. But style names of the two are different
because LibreOffice do not localize its display name, hence leaving paragraphs
or styles referring to the name refer to a style name that is not created. I'm
not sure in what situation MS Word create both style name and display name with
localized string, but in theory it could happen for other people if they are
use MSWord to generate files in language other than English.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to