Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi Albert,

On Sun, 2012-02-12 at 22:28 +0100, Albert Thuswaldner wrote:

I have worked with converting the Formula options. However, while
doing the work and looking through the code I have started to question
if this conversion is such a good idea in this case?

Without knowing the exact difference between AppOptions and DocOptions
it is this this bit that worries me:

http://opengrok.libreoffice.org/xref/core/sc/source/filter/excel/impop.cxx#158

Seems that the excel import filter is setting some of these formula
options, better to keep those as DocOptions  then?

Sorry, I didn't explain the goal very well. :-P

You just need to move the options that are in the Formula options page,
which is to say move those that are below bFormulaRegexEnabled in the
ScDocOptions declaration.

IOW, we have 5 options to move: 

bUseEnglishFuncName
eFormulaGrammar
aFormulaSepArg
aFormulaSepArrayRow
aFormulaSepArrayCol

The rest should stay in ScDocOptions.  And bFormulaRegexEnable is indeed
a document-specific option as you can see in the code you referenced in
your mail.

Best,

Kohei

-- 
Kohei Yoshida, LibreOffice hacker, Calc


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.