[GSoC] On "ODF Formulas in Writer"
matteo.campanelli at gmail.com
Sat Mar 8 22:21:37 PST 2014
I'm Matteo, a PhD student in Computer Science at City University of New
I am planning to apply to GSoC '14 and a few weeks ago I started hacking
LibreOffice (I've been working on this Easy
I'm writing to start a discussion and ask some questions on the idea
project in the subject of this email
Could you please give me some feedback on my understanding of the
definition of the problem and current related work in LO (see bullets
Also - most important question (!!) - would there be anyone interested in
mentoring this project?
My understanding of the issue:
- Currently Writer uses its own, non-standard syntax for formulas. At the
moment this syntax is both what is used/typed by the user and the one used
for internal computations. (At a first glance, the class
to be responsible for both parsing and interpreting these formulas,
is that right?)
- The goal of the project would be to enable users to write formulas in the
ODF Format <http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part2.html>
and use this same format for the internal computations.
- As far as I have understood, we may use the ixion library
interpret ODF-style formulas. This library is already used by Writer for
interpreting formulas in doc/docx files (which, I suppose, are first
converted to the actual ODF format). [is this point of my interpretation
correct? Could anyone provide code pointers for the computation of formula
for .doc files?]
- Part of the project will have to deal with import/export filters and
backward compatibility: first, files with formulas in the old-syntax should
still be parsed correctly; second, users should have the option of saving
in the old syntax or in the default new ODF syntax.
Also, I have two additional questions:
- the project idea page mentions changes in the code for the formula input
bar. What should these changes to the UI consist of specifically? Are they
mostly related to the strings produced by using the "Formula" dropdown menu
in the bar?
- Can anyone who is into the code roughly assess the relative hardness of
the three subparts of this project (i.e. refactoring to use ODF and
delegation to ixion, changes in the UI, adapting import/export filters)? In
other words, which of these parts (if any) is likely to take longer
compared to the others?
 ODF Formulas in writer - Original GSoC Project Idea Page
 Open Formula - Official specification
 Ixion Library (link <https://gitorious.org/ixion>)
Comments of any kind are appreciated.
Thanks in advance for your feedback!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the LibreOffice