Hello everybody,
I am trying to convert changes to 
/home/$USER/.config/libreoffice/4/user/registrymodifications.xcu into 
systemwide configuration for users that start libreoffice for the first 
time under linux with systemwide settings.
I tried placing a xml file in 
/usr/lib/libreoffice/share/registry/registrymodifications-system-wide.xcu 
but I can not seem to get the syntax right.
I found the schema here, not sure how to use them to create my own 
configuration: 
https://cgit.freedesktop.org/libreoffice/core/tree/officecfg/registry/schema/org/openoffice
Can somebody give me example for a system wide registrymodificaton or 
look at the attachments and help me out with these few settings.
Kind regards and best wishes,
Jelle de Jong (GNU/Linux Consultant)
<item oor:path="/org.openoffice.Office.Common/Save/Document"><prop oor:name="WarnAlienFormat" 
oor:op="fuse"><value>false</value></prop></item>
<item 
oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.text.TextDocument']"><prop
 oor:name="ooSetupFactoryDefaultFilter" oor:op="fuse"><value>MS Word 2007 XML</value></prop></item>
<item 
oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.presentation.PresentationDocument']"><prop
 oor:name="ooSetupFactoryDefaultFilter" oor:op="fuse"><value>Impress MS PowerPoint 2007 
XML</value></prop></item>
<item 
oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.sheet.SpreadsheetDocument']"><prop
 oor:name="ooSetupFactoryDefaultFilter" oor:op="fuse"><value>Calc MS Excel 2007 
XML</value></prop></item>
<?xml version="1.0"?>
<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 xmlns:install="http://openoffice.org/2004/installation" oor:name="Common" 
oor:package="org.openoffice.Office">
    <node 
oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.text.TextDocument']">
      <prop oor:name="ooSetupFactoryDefaultFilter"  oor:op="fuse" oor:type="xs:string">
        <value>MS Word 2007 XML</value>
      </prop>
    </node>
    <node 
oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.presentation.PresentationDocument']">
      <prop oor:name="ooSetupFactoryDefaultFilter"  oor:op="fuse" oor:type="xs:string">
        <value>Impress MS PowerPoint 2007 XML</value>
      </prop>
    </node>
    <node 
oor:path="/org.openoffice.Setup/Office/Factories/org.openoffice.Setup:Factory['com.sun.star.sheet.SpreadsheetDocument']">
      <prop oor:name="ooSetupFactoryDefaultFilter"  oor:op="fuse" oor:type="xs:string">
        <value>Calc MS Excel 2007 XML</value>
      </prop>
    </node>
  </oor:component-data>
  <oor:component-data xmlns:install="http://openoffice.org/2004/installation" oor:name="Common" 
oor:package="org.openoffice.Office">
    <node oor:name="Save">
        <node oor:name="Document">
            <prop oor:name="WarnAlienFormat"  oor:op="fuse" oor:type="xs:boolean">
        <value>false</value>
      </prop>
        </node>
    </node>
  </oor:component-data>
</oor:data>
Context
- libreoffice converstion of egistrymodifications.xcu user items to systemwide xml registry share · Jelle de Jong
 
   
 
  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.