Bug 61473

Summary: FORMATTING: Math Formulas are changed when saving files which changes formatting
Product: LibreOffice Reporter: mcc <matt.curcio.ri>
Component: filters and storageAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal Keywords: filter:docx
Priority: medium    
Version: 3.5.4 release   
Hardware: Other   
OS: All   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 39750, 104520, 104527    
Attachments: This is an example of math formulas which have lost the alignc command and have added excess characters.

Description mcc 2013-02-26 02:17:34 UTC
Created attachment 75540 [details]
This is an example of math formulas which have lost the alignc command and have added excess characters.

Problem description: 
After creating simple math formulas, OO-Math adds undesirable characters.  I also drops formatting functions like alignc, alignr. 

Steps to reproduce:
1. For example: I will type,
tilde n `=` {left ( sum w sub i right ) sup 2} over
{sum w sub i sup 2}

widetilde {n} = {{left (sum {{w} rsub {i}} right )} ^ {2}} over {sum {{w} rsub {i} rsup {2}}}

2. when I type: {alignc n} over {abcdefg}
Then save the document, then reopen the doc. it deletes alignc.
After opening it becomes {n} over {abcdefg} {}
3. ....

Current behavior:

Expected behavior:
Really is a big problem I cannot trust it at all.
              
Operating System: Linux (Other)
Version: 3.5.4 release
Comment 1 Yifan Jiang 2013-02-26 09:27:16 UTC
Confirmed. It is actually a docx export problem.

The mentioned formula format function totally missing when exporting to docx:

{alignc n} over {x}
{alignl n} over {x}
{alignr n} over {x}

Namely, save the document as odt file doesn't trigger the problem.
Comment 2 QA Administrators 2015-02-19 15:49:26 UTC Comment hidden (obsolete)
Comment 3 Jean-Baptiste Faure 2015-02-24 08:11:20 UTC
Nothing changed. Tested with LibreOffice 4.4.2.0.0+ built at home under Ubuntu 14.10 x86-64.

Changed component to filters and storage, because it is a problem of OOXML export.

Best regards. JBF
Comment 4 tommy27 2016-04-16 07:25:42 UTC Comment hidden (obsolete)
Comment 5 Jean-Baptiste Faure 2016-05-01 09:06:57 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2017-05-22 13:40:50 UTC Comment hidden (obsolete)
Comment 7 Jean-Baptiste Faure 2017-07-24 11:55:51 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2018-07-25 02:39:47 UTC Comment hidden (obsolete)
Comment 9 Thomas Lendo 2018-10-29 19:55:45 UTC
Still reproducible.

Version: 6.2.0.0.alpha1+
Build ID: 0f190f50368816964b2a1b7bb58000ac1792d640
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); Calc: threaded
from 2 days ago
Comment 10 QA Administrators 2019-10-30 03:37:20 UTC Comment hidden (obsolete, spam)
Comment 11 Timur 2021-06-08 11:01:16 UTC
Repro 7.2+.
Comment 12 Sophie Sipasseuth 2023-06-08 08:25:26 UTC
Repro

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: f97a7b965be154824e108802b386e3132b0a237a
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded