Pre-Configuration LibO

Thomas Krumbein thomas.krumbein at documentfoundation.org
Tue Oct 1 02:48:55 PDT 2013


Hey all,

I tried to build an xcd-file to change some presettings in LibO.
Unfortunatly it doesn´t work. Maybe someone can give me some hints?

1. I wont to enable the experimental sidebar per default. All xcd-files
are UTF8 and LF coded, places in share/registry

My first approch:

<?xml version="1.0" encoding="UTF-8"?>
<oor:data xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:oor="http://openoffice.org/2001/registry">
<dependency file="main"/>
<oor:component-data oor:name="Setup" oor:package="org.openoffice">
  <node oor:name="Office">
	<node oor:name="Common">
	  <node oor:name="Misc" oor:op="fuse">
		<prop oor:name="ExperimentalSidebar" oor:op="fuse">
			<value>true</value>
		</prop>
 	  </node>
	</node>
  </node>
</oor:component-data>
</oor:data>

Doesn´t work.

Next approch:

<?xml version="1.0" encoding="UTF-8"?>
<oor:data xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:oor="http://openoffice.org/2001/registry">
<dependency file="main"/>
<oor:component-data oor:name="Setup" oor:package="org.openoffice">
  <node oor:name="Office">
	<node oor:name="Common">
	  <node oor:name="Misc" oor:op="fuse">
		<prop oor:name="AlwaysAllowSave" oor:op="fuse">
			<value>false</value>
		</prop>
		<prop oor:name="DisableUICustomization" oor:op="fuse">
			<value>false</value>
		</prop>
		<prop oor:name="ExperimentalMode" oor:op="fuse">
			<value>false</value>
		</prop>
		<prop oor:name="ExperimentalSidebar" oor:op="fuse">
			<value>true</value>
		</prop>
		<prop oor:name="FirstRun" oor:op="fuse">
			<value>false</value>
		</prop>
		<prop oor:name="MacroRecorderMode" oor:op="fuse">
			<value>false</value>
		</prop>
		<prop oor:name="PluginsEnabled" oor:op="fuse">
			<value>false</value>
		</prop>
		<prop oor:name="ShowLinkWarningDialog" oor:op="fuse">
			<value>true</value>
		</prop>
		<prop oor:name="SymbolSet" oor:op="fuse">
			<value>2</value>
		</prop>
		<prop oor:name="SymbolStyle" oor:op="fuse">
			<value>auto</value>
		</prop>
		<prop oor:name="ToolboxStyle" oor:op="fuse">
			<value>1</value>
		</prop>
		<prop oor:name="UseSystemFileDialog" oor:op="fuse">
			<value>true</value>
		</prop>
		<prop oor:name="UseSystemPrintDialog" oor:op="fuse">
			<value>false</value>
		</prop>
          </node>
	</node>
  </node>
</oor:component-data>
</oor:data>

(thats all the datas, which will be changes in the
registrymodification.xcu, if I do the change manually)

Doesn´t work.

2. Later I tried to change the CLT-Mode and activating support for asian
language - unfortunatly same result.

3. When I change the default font the following code works:

<?xml version="1.0" encoding="UTF-8"?>
<oor:data xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:oor="http://openoffice.org/2001/registry">
<dependency file="main"/>
<oor:component-data oor:name="Writer" oor:package="org.openoffice.Office">
	<node oor:name="DefaultFont" oor:op="fuse">
		<prop oor:name="Standard" oor:op="fuse">
			<value>Arial</value>
		</prop>
    </node>
</oor:component-data>
</oor:data>

So, what is going wrong in Nr. 1 and 2? Any hints?

Best regards
Thomas


-- 
## Unterstützung der freien Office Suite
## http://de.libreOffice.org  - www.LibreOffice.org
## Vorstand Freies Office Deutschland e.V.
## Mitglieder willkommen: www.FroDeV.org


More information about the LibreOffice mailing list