<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN DOCX The formula field is incorrect in the table, when we change the number format"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=122224#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - FILEOPEN DOCX The formula field is incorrect in the table, when we change the number format"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=122224">bug 122224</a>
from <span class="vcard"><a class="email" href="mailto:lo_bugs@iseries-guru.com" title="Terrence Enger <lo_bugs@iseries-guru.com>"> <span class="fn">Terrence Enger</span></a>
</span></b>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=148074" name="attach_148074" title="bibisect in bibisect-linux-64-5.4, tail of terminal output">attachment 148074</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=148074&action=edit" title="bibisect in bibisect-linux-64-5.4, tail of terminal output">[details]</a></span>
bibisect in bibisect-linux-64-5.4, tail of terminal output
Working on debian-buster in bibisect-linux-64-5.4 repository, I looked
only at the displayed result when LibreOffice opened the attached
.docx. The bad commit is : commit 009e5f66, source hash c568eb7d,
2017-03-30. The commit message for the source commit is:
commit c568eb7d3bb4584867f0a1f0a7965f73097f009b
Author: Jean-Sebastien Bevilacqua <<a href="mailto:realitix@gmail.com">realitix@gmail.com</a>>
Date: Thu Feb 16 10:54:33 2017 +0100
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.
Change-Id: If7d25de5413aa3133b22523d8a3f34ab6961adfc
Reviewed-on: <a href="https://gerrit.libreoffice.org/34334">https://gerrit.libreoffice.org/34334</a>
Reviewed-by: Michael Stahl <<a href="mailto:mstahl@redhat.com">mstahl@redhat.com</a>>
Tested-by: Jenkins <<a href="mailto:ci@libreoffice.org">ci@libreoffice.org</a>>
I am removing keyword bibisectRequest and adding bisected, bibisected;
and I am adding the author and Michael Stahl to cc.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>