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

            Bug ID: 105975
           Summary: SWriter can't handle formula in field form Word (docx)
           Product: LibreOffice
           Version: 5.2.5.1 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: reali...@gmail.com

Description:
This bug affects 5.2.X (probably previous versions too) and can is reproducible
on Master.

When you open a docx embedding formula which set the value of a bookmark (like
"Set mybookmark 12"), LibreOffice displays 12 whereas it shouldn't display
anything at all since it's a value affectation.

Steps to Reproduce:
1. Open MSOffice and type the sentence "This is my test"
2. Select "is" and go to "Insert > Bookmark"
3. Name the bookmark "BM" and click "Add"
4. Select "my" and go to "Insert > QuickPart > Field" and click on "Formula"
5. Remove the "=" and type "SET BM 12", selected "my" disappears.
6. Put your cursor at line end (just after "test") and go to "Insert >
QuickPart > Field" and click on "Formula"
7. Enter the formula "=INT(BM)"
8. "12" in now displayed after "test"
9. Save the file as ".docx" and open it with LibreOffice

Actual Results:  
This is 12test12

Expected Results:
This is test12

The formula "SET BM 12" displays "12", it shouldn't.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:51.0) Gecko/20100101
Firefox/51.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to