Kaydet (Commit) 81571e00 authored tarafından Kohei Yoshida's avatar Kohei Yoshida Kaydeden (comit) Fridrich Štrba

calc-formula-variable-separators-officecfg.diff: formula separators changeable

n#447164, i#92056

Make the formula separators changeable per locale setting, and add new
configuration page for formula syntax and separators.
üst f1ed85df
...@@ -1217,6 +1217,31 @@ ...@@ -1217,6 +1217,31 @@
</info> </info>
<value>true</value> <value>true</value>
</prop> </prop>
<prop oor:name="FormulaSyntax" oor:type="xs:int">
<!-- UIHints: Tools - Options Spreadsheet Calculate -->
<!-- This node is deprecated, but we still need to keep it for migration purposes. -->
<info>
<author>kyoshida</author>
<desc>Specifies what formula syntax type to use.</desc>
</info>
<constraints>
<enumeration oor:value="0">
<info>
<desc>Calc A1</desc>
</info>
</enumeration>
<enumeration oor:value="1">
<info>
<desc>Excel A1</desc>
</info>
</enumeration>
<enumeration oor:value="2">
<info>
<desc>Excel R1C1</desc>
</info>
</enumeration>
</constraints>
</prop>
<node-ref oor:name="Date" oor:node-type="Date"> <node-ref oor:name="Date" oor:node-type="Date">
<info> <info>
<desc>Specifies the date that is represented by the number 0.</desc> <desc>Specifies the date that is represented by the number 0.</desc>
...@@ -1224,6 +1249,64 @@ ...@@ -1224,6 +1249,64 @@
</node-ref> </node-ref>
</group> </group>
</group> </group>
<group oor:name="Formula">
<info>
<desc>Contains settings that affect formula handling.</desc>
</info>
<group oor:name="Syntax">
<info>
<desc>Contains settings for formula syntax.</desc>
</info>
<prop oor:name="Grammar" oor:type="xs:int">
<!-- UIHints: Tools - Options Spreadsheet Formula -->
<info>
<author>kyoshida</author>
<desc>Specifies what formula syntax type to use.</desc>
</info>
<constraints>
<enumeration oor:value="0">
<info>
<desc>Calc A1</desc>
</info>
</enumeration>
<enumeration oor:value="1">
<info>
<desc>Excel A1</desc>
</info>
</enumeration>
<enumeration oor:value="2">
<info>
<desc>Excel R1C1</desc>
</info>
</enumeration>
</constraints>
</prop>
<prop oor:name="SeparatorArg" oor:type="xs:string">
<!-- UIHints: Tools - Options Spreadsheet Formula -->
<info>
<author>kyoshida</author>
<desc>Argument separator in worksheet function</desc>
</info>
<value></value>
</prop>
<prop oor:name="SeparatorArrayRow" oor:type="xs:string">
<!-- UIHints: Tools - Options Spreadsheet Formula -->
<info>
<author>kyoshida</author>
<desc>Row separator in array constant</desc>
</info>
<value></value>
</prop>
<prop oor:name="SeparatorArrayCol" oor:type="xs:string">
<!-- UIHints: Tools - Options Spreadsheet Formula -->
<info>
<author>kyoshida</author>
<desc>Column separator in array constant</desc>
</info>
<value></value>
</prop>
</group>
</group>
<group oor:name="Revision"> <group oor:name="Revision">
<info> <info>
<desc>Contains settings that affect revision marking.</desc> <desc>Contains settings that affect revision marking.</desc>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment