Bug 162214 - Incorrect display of the * character in exponentiation formulas imported from Word DOCX files in LibreOffice.
Summary: Incorrect display of the * character in exponentiation formulas imported from...
Status: RESOLVED DUPLICATE of bug 162070
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
24.2.5.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-26 16:12 UTC by jk
Modified: 2024-07-26 16:25 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jk 2024-07-26 16:12:56 UTC
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).
Comment 1 Mike Kaganski 2024-07-26 16:25:44 UTC

*** This bug has been marked as a duplicate of bug 162070 ***