[Libreoffice-bugs] [Bug 107410] FILEOPEN: Expression is faulty instead of numbers
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 27 00:02:22 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=107410
Xisco FaulĂ <xiscofauli at libreoffice.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|bibisectRequest |bibisected, bisected
CC| |realitix at gmail.com
--- Comment #3 from Xisco FaulĂ <xiscofauli at libreoffice.org> ---
Regression introduced by:
author Jean-Sebastien Bevilacqua <realitix at gmail.com> 2017-02-16 09:54:33
(GMT)
committer Miklos Vajna <vmiklos at collabora.co.uk> 2017-03-30 17:39:00
(GMT)
commit c568eb7d3bb4584867f0a1f0a7965f73097f009b (patch)
tree ea7e6fb1e0d77369a90bc69dd8756f589bb352e4
parent 53c2507bf97867011fd2bfbbac6c86b7fc494338 (diff)
tdf#105975 Add Formula field parsing (docx) in SWriter
Introduction
------------
In MSWord, you can create a formula field (starting with =).
When you save your file as `docx`, this `FORMULA` field is registered
in you file (a field starting with `=`). In its current state,
LibreOffice can't parse the `FORMULA` field in `docx` file.
Context of this fix
-------------------
This fix is entirely located in the `DomainMapper_Impl.cxx` file
because it's where the parsing is done.
How this fix works
------------------
First, we add `FORMULA` support by adding it to the `aFields[]` variable.
Next, to handle the `FORMULA` constant, we add a condition (swith case) in
`DomainMapper_Impl::CloseFieldCommand()` to call `handleFieldFormula`.
Note
----
In function `lcl_ExtractToken`, if command starts with `=`, it's a
`FORMULA` field.
Bisected with
Adding Cc: to Jean-Sebastien Bevilacqua
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170427/330a7259/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list