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

            Bug ID: 162214
           Summary: Incorrect display of the * character in exponentiation
                    formulas imported from Word DOCX files in LibreOffice.
           Product: LibreOffice
           Version: 24.2.5.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Formula Editor
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: j...@temka.de

Description:
When opening a DOCX file in LibreOffice that contains formulas with the *
character in exponentiation (e.g., 2^*), LibreOffice displays the * incorrectly
because it interprets * as an operator. In Microsoft Word, the formula 2^* is
displayed correctly without any special formatting. To display this correctly
in LibreOffice, the * character needs to be enclosed in quotes (e.g., 2^"*").

Steps to Reproduce:
1. Create a DOCX file in Microsoft Word containing a formula with 2^*.
2. Save the DOCX file.
3. Open the DOCX file in LibreOffice.
4. Observe the display of the formula in LibreOffice.

Actual Results:
The formula 2^* is displayed incorrectly in LibreOffice because * is
interpreted as an operator.

Expected Results:
The formula 2^* should be displayed correctly in LibreOffice, just as it is in
Microsoft Word.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Workaround: To display the formula correctly in LibreOffice, the * character
needs to be enclosed in quotes, resulting in 2^"*".

MS Word Version 16.87 (24071426)

Version: 24.2.5.2 (AARCH64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 10; OS: macOS 13.6.3; UI render: Skia/Metal; VCL: osx
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

I also tried this with the gotenberg docker image (docx to pdf conversion).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to