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


Are you sure you got the registry paths correct.
Given that I want to enable the Sidebar in LibreOffice 4.1.X, this xcd works for me:

<?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="Common" oor:package="org.openoffice.Office">
  <node oor:name="Misc" oor:op="fuse">
    <prop oor:name="ExperimentalSidebar" oor:op="replace">
      <value>true</value>
    </prop>
  </node>
</oor:component-data>
</oor:data>

Does that one make any difference to you? You need a fresh user profile to see the change so rename your current user profile folder before you try it out.

If it doesn't work, what version of LibreOffice are you trying this on?

Regards,
Niklas Johansson

Thomas Krumbein skrev 2013-10-01 11:48:
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




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.