[Libreoffice-commits] .: officecfg/registry svx/inc svx/source

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Jun 13 13:07:51 PDT 2011


 officecfg/registry/schema/org/openoffice/Office/Calc.xcs |   22 +++++++++++++--
 svx/inc/svx/dialogs.hrc                                  |    1 
 svx/source/src/app.hrc                                   |    1 
 3 files changed, 22 insertions(+), 2 deletions(-)

New commits:
commit 87df184a1c90e59406048b14c6b8730da70d58ff
Author: Albert Thuswaldner <albert.thuswaldner at gmail.com>
Date:   Mon Jun 13 15:42:56 2011 -0400

    fdo#33293: Option to configure initial number of sheets in Calc.

diff --git a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
index 8e50f95..a5528eb 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Calc.xcs
@@ -1570,6 +1570,24 @@
                     </constraints>
                 </prop>
             </group>
-        </group>
-	</component>
+	</group>
+	<group oor:name="Defaults">
+	  <info>
+		<desc>Contains various defaults settings.</desc>
+	  </info>
+	  <group oor:name="Other">
+		<info>
+			  <desc>Other Program defaults</desc>
+		</info>
+		<prop oor:name="TabCount" oor:type="xs:int">
+			  <!-- UIHints: Tools - Options - Spreadsheet - Defaults -->
+			  <info>
+				<author>Albert Thuswaldner</author>
+				<desc>Option to set initial number of sheet tabs</desc>
+			  </info>
+		  <value>3</value>
+		</prop>
+	  </group>
+	</group>
+      </component>
 </oor:component-schema>
diff --git a/svx/inc/svx/dialogs.hrc b/svx/inc/svx/dialogs.hrc
index 4a30eb4..c399162 100755
--- a/svx/inc/svx/dialogs.hrc
+++ b/svx/inc/svx/dialogs.hrc
@@ -166,6 +166,7 @@
 #define	RID_OFA_TP_INTERNATIONAL_SD		(RID_OFA_START + 253)
 #define	RID_OFA_TP_INTERNATIONAL_IMPR	(RID_OFA_START + 254)
 #define	RID_OFA_TP_INTERNATIONAL		(RID_OFA_START + 252) // calc
+#define RID_SC_TP_DEFAULTS         		(RID_OFA_START + 253)
 
 //---------------------------------------------------------------------
 // ResId's fuer die Zeichen-TabPages
diff --git a/svx/source/src/app.hrc b/svx/source/src/app.hrc
index 69f5766..bcacb30 100755
--- a/svx/source/src/app.hrc
+++ b/svx/source/src/app.hrc
@@ -199,6 +199,7 @@
 #define RID_SW_TP_OPTCAPTION_PAGE       (RID_OFA_START + 256)
 #define SID_SC_TP_FORMULA               (RID_OFA_START + 257)
 #define SID_SC_TP_COMPATIBILITY         (RID_OFA_START + 258)
+#define RID_SC_TP_DEFAULTS     		(RID_OFA_START + 259)
 
 // Strings ------------------------------------------
 


More information about the Libreoffice-commits mailing list