Bug 144288

Summary: SUM(ABOVE) is turned into SUM(<A3:A1>)
Product: LibreOffice Reporter: Dave McKellar <dmckellar>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: minor CC: 79045_79045, michael.warner.ut+libreoffice
Priority: medium Keywords: filter:docx
Version: 7.1.5.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=123355
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 122755    
Attachments: An RTF doc made with Microsoft Word that uses SUM(ABOVE)

Description Dave McKellar 2021-09-03 22:10:09 UTC
Description:
When I open a Microsoft Word RTF document that has a formula of SUM(ABOVE)
it is changed into SUM(<A3:A1>) in LibreOffice Writer.
This is ok for read the document in.  But it changes the meaning.
For example if we add a row, then want more columns automatically included in the sum.  I seems LibreOffice needs to support ABOVE for good fidelity.

Steps to Reproduce:
1.  Make a RTF doc in MS Word that uses SUM(ABOVE)
2.  Read it with LibreOffice Writer
3.  Right click on to Edit Field and its no longer SUM(ABOVE)

Actual Results:
Its now SUM(<A3:A1>) or other numbers

Expected Results:
Should preserve SUM(ABOVE)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.5.2 (x64) / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 Dave McKellar 2021-09-03 22:11:05 UTC
Created attachment 174767 [details]
An RTF doc made with Microsoft Word that uses SUM(ABOVE)
Comment 2 Roman Kuznetsov 2021-09-04 16:45:21 UTC
this workaround was implemented in bug 123355. But I agree LO should save ABOVE, BELOW, etc. table's MS Word function arguments.
Comment 3 QA Administrators 2023-09-05 03:13:22 UTC Comment hidden (obsolete)
Comment 4 Dave McKellar 2023-09-07 20:19:40 UTC
I retested this with LibreOffice 7.6.0.3.   Its still there.  When I right-click on the field and select Edit Formula from the context menu it says "=SUM(<A3:A1>)" when it should say "=SUM(above)"