summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorGergo Mocsi <gmocsi91@gmail.com>2013-07-30 13:01:43 +0200
committerGergo Mocsi <gmocsi91@gmail.com>2013-09-02 18:16:52 +0200
commit8194798645517e7c54296ba47ded09a67cf71805 (patch)
tree15077e36d8726e7a451f74c083bd80c0cc15bdc0 /officecfg
parentc149c96cf4c42820f15a0fea14cb7a4927ae4b1e (diff)
GSOC work, config entry to store options
Created a config file to store configuration for the feature. NOTE: it gives a runtime error, so it is temporary disabled. Change-Id: I7103bdfad43bb5760165430a57d93a90a7e5dc7e
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/Configuration_officecfg.mk1
-rw-r--r--officecfg/files.mk1
-rw-r--r--officecfg/registry/data/org/openoffice/Office/BasicIDE.xcu38
-rw-r--r--officecfg/registry/schema/org/openoffice/Office/BasicIDE.xcs61
4 files changed, 101 insertions, 0 deletions
diff --git a/officecfg/Configuration_officecfg.mk b/officecfg/Configuration_officecfg.mk
index 89579778b959..cb27ffcc0a52 100644
--- a/officecfg/Configuration_officecfg.mk
+++ b/officecfg/Configuration_officecfg.mk
@@ -32,6 +32,7 @@ $(eval $(call gb_Configuration_add_datas,registry,officecfg/registry/data,\
org/openoffice/FirstStartWizard.xcu \
org/openoffice/Interaction.xcu \
org/openoffice/Office/Calc.xcu \
+ org/openoffice/Office/BasicIDE.xcu \
org/openoffice/Office/Canvas.xcu \
org/openoffice/Office/Compatibility.xcu \
org/openoffice/Office/ExtensionDependencies.xcu \
diff --git a/officecfg/files.mk b/officecfg/files.mk
index 3fbbfa0f0887..3110805deeab 100644
--- a/officecfg/files.mk
+++ b/officecfg/files.mk
@@ -13,6 +13,7 @@ officecfg_XCSFILES := \
LDAP \
Office/Accelerators \
Office/Addons \
+ Office/BasicIDE \
Office/Calc \
Office/CalcAddIns \
Office/Canvas \
diff --git a/officecfg/registry/data/org/openoffice/Office/BasicIDE.xcu b/officecfg/registry/data/org/openoffice/Office/BasicIDE.xcu
new file mode 100644
index 000000000000..283d8043da90
--- /dev/null
+++ b/officecfg/registry/data/org/openoffice/Office/BasicIDE.xcu
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
+ <!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:install="http://openoffice.org/2004/installation" oor:name="BasicIDE" oor:package="org.openoffice.Office">
+ <node oor:name="Autocomplete" oor:op="replace">
+ <prop oor:name="CodeComplete">
+ <value>false</value>
+ </prop>
+ <prop oor:name="AutocloseParenthesis">
+ <value>false</value>
+ </prop>
+ <prop oor:name="AutocloseDoubleQuotes">
+ <value>false</value>
+ </prop>
+ <prop oor:name="AutocloseProc">
+ <value>false</value>
+ </prop>
+ <prop oor:name="AutoCorrectSpelling">
+ <value>false</value>
+ </prop>
+ </node>
+</oor:component-data>
diff --git a/officecfg/registry/schema/org/openoffice/Office/BasicIDE.xcs b/officecfg/registry/schema/org/openoffice/Office/BasicIDE.xcs
new file mode 100644
index 000000000000..1cce64415e26
--- /dev/null
+++ b/officecfg/registry/schema/org/openoffice/Office/BasicIDE.xcs
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
+ <!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
+<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="BasicIDE" oor:package="org.openoffice.Office" xml:lang="en-US">
+ <info>
+ <desc>Contains configuration for the BASIC IDE.</desc>
+ </info>
+ <component>
+ <group oor:name="Autocomplete">
+ <info>
+ <desc>Autocomplete function configuration.</desc>
+ </info>
+ <prop oor:name="CodeComplete" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>Sets the code completition on/off. Default is false.</desc>
+ </info>
+ <value>false</value>
+ </prop>
+ <prop oor:name="AutocloseParenthesis" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>Sets the autoclose parenthesis on/off. Default is false.</desc>
+ </info>
+ <value>false</value>
+ </prop>
+ <prop oor:name="AutocloseDoubleQuotes" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>Sets the autoclose double quotes on/off. Default is false.</desc>
+ </info>
+ <value>false</value>
+ </prop>
+ <prop oor:name="AutocloseProc" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>Sets the autoclose procedures on/off. Default is false.</desc>
+ </info>
+ <value>false</value>
+ </prop>
+ <prop oor:name="AutoCorrectSpelling" oor:type="xs:boolean" oor:nillable="false">
+ <info>
+ <desc>Sets the auto correct spelling on/off. Default is false.</desc>
+ </info>
+ <value>false</value>
+ </prop>
+ </group>
+ </component>
+</oor:component-schema>