Bug 65266 - FILEOPEN CJK: DOCX import text with Enclosed Characters not rendered
Summary: FILEOPEN CJK: DOCX import text with Enclosed Characters not rendered
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Whiteboard: BSA interoperability
Keywords: filter:docx
Depends on:
Blocks: CJK DOCX DOCX-Fields
  Show dependency treegraph
Reported: 2013-06-02 14:13 UTC by Adam CloudOn
Modified: 2023-05-16 06:42 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:

DOCX containing Enclosed Characters (12.98 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2013-06-02 14:13 UTC, Adam CloudOn
Screenshot with good and bad behavior (77.04 KB, image/png)
2013-06-02 22:34 UTC, Jorendc
Word 2013 Screenshot [Windows 8] (18.97 KB, image/png)
2013-06-03 06:52 UTC, Adam CloudOn

Note You need to log in before you can comment on or make changes to this bug.
Description Adam CloudOn 2013-06-02 14:13:18 UTC
Created attachment 80154 [details]
DOCX containing Enclosed Characters

Problem description: 
When openning a DOCX in LO that has Enclosed Characters from MS Word - LO doesn't show the enclosed characters (simply ignores them in the import).

Steps to reproduce:
1. Load the attached DOCX in LO
2. Characters that are enclosed by a circle of square are simply not rendered

Current behavior:
LO doesn't render character that have Character Enclosures

Expected behavior:
LO should render the characters with the enclosures.
Operating System: Windows 7
Version: release
Comment 1 Adam CloudOn 2013-06-02 14:23:32 UTC
Some background info I digged up:

The DOCX's 'document.xml' contains nodes that look like :     eq \o\ac(o,b)

After searching the net about this, I came accross this thread:

which recommended downloading the spec sheet from here:

In section " EQ" there is an explanation about how to compute the 'eq'.
Apparently it displays each successive argument on top of the previous one. 
Each character is displayed within an invisible character box, 
with the switches being available to align the boxes on top of one another.
Comment 2 Jorendc 2013-06-02 22:33:45 UTC
I can confirm this using Mac OSX 10.8.3 with LibreOffice rc1, in combination with Word for Mac 2011.

Thanks for such clear reports :-)!
Comment 3 Jorendc 2013-06-02 22:34:05 UTC
Created attachment 80168 [details]
Screenshot with good and bad behavior
Comment 4 Adam CloudOn 2013-06-03 06:52:40 UTC
Created attachment 80183 [details]
Word 2013 Screenshot [Windows 8]
Comment 5 Adam CloudOn 2013-06-03 06:53:54 UTC
(In reply to comment #3)
> Created attachment 80168 [details]
> Screenshot with good and bad behavior

Hi @Jerome,
Very strange you got what you got on Word for Mac.
The actual way it *should* look is the square \ circle should be on top of the letters, like the screenshot I provided from Word 2013 on Windows 8.
That's what the documentation says, anyway...
Comment 6 Jorendc 2013-06-03 09:11:18 UTC
Comment on attachment 80168 [details]
Screenshot with good and bad behavior

Oh well :-). Yet another reason to hate Word :-)
Comment 7 Alexandr 2014-07-19 08:37:26 UTC
Reproducible with LibreOffice 4.2.5 and on Debian.
Comment 8 QA Administrators 2015-09-04 02:48:36 UTC Comment hidden (obsolete)
Comment 9 Alexandr 2015-09-19 17:13:58 UTC
Reproducible with LibreOffice 5.0.1 on Debian.
Comment 10 Robinson Tryon (qubit) 2015-12-14 06:01:18 UTC Comment hidden (obsolete)
Comment 11 Volga 2017-12-18 13:46:38 UTC
Does ODF having the counterpart for this? If so, LibreOffice can making the implementation for this, otherwise just work around for compatibility purpose.
Comment 12 QA Administrators 2018-12-19 03:51:35 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2021-04-03 03:46:56 UTC Comment hidden (obsolete)
Comment 14 Po-Yen Huang 2021-04-08 05:33:41 UTC
Reproducible with LibreOffice 7.1.2 on Arch Linux.
Comment 15 QA Administrators 2023-04-09 03:26:19 UTC Comment hidden (obsolete)
Comment 16 Franklin Weng 2023-05-16 06:42:47 UTC
Still reproducible in

Version: (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW
Calc: threaded