Admin configuration

Hi,
I’m a Systems administrator in a city hall. We are trying to deploy LibreOffice and we are looking for deploy an admin configuration. We have found that it configs with “.xcd” and “.xcu” files, but we haven’t found a lot information about how it does and the files format.

We are trying to deploy the last version of LibreOffice in Windows 2008 R2 operationg system.

Can anyone helps us.

Thanks and regards.

Hi Regina,

I think that the copy of specification http://people.freedesktop.org/~vmiklos/2013/oor-document-format.html can help me a lot. I review that and I tell you if solves my problem.

Thanks and regards.


Hi,

Finally, I have found the way to do an admin configuration in libreoffice and I have found a lot of bugs around this theme. I try to explain it.

In LibreOffice you have a lot of properties to config the application. These properties are defined in 3 levels, the default config, admin config and user config. The first one is defined with files .xcd in /$baseinstalldir/share/registrey/. The second one is defined with .xcu files in /$baseinstalldir/share/registrey/data/org/openoffice/. The last one is in the user directory and is defined width .xcu files. All files are an xml simple file, and the schema are defined in the links that shares Regina.

The way to look up the name of the properties, it’s configure LibreOffice with the user interface, and then see the registrmodificacions.xcu file in the user profile. The Schema of the registrmodificacions.xcu and the .xcu files for admin configuration is a little diferent. I put an example of two files to configuring one property.

Example of registremodificacions.xcu

<?xml version="1.0" encoding="UTF-8"?>
<oor:items xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<item oor:path="/org.openoffice.Office.Common/Misc">
    <prop oor:name="UseSystemFileDialog" oor:op="fuse">
        <value>false</value>
    </prop>
</item>
</oor:items>

Example of enterpriseconfig.xcu

<?xml version="1.0"?>
<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="Common" oor:package="org.openoffice.Office">
<node oor:name="Misc">
    <prop oor:name="UseSystemFileDialog" oor:finalized="true">
      <value>true</value>
    </prop>
</node>
</oor:component-data>

Another thing to comment is the way to set a property and restrict users to change it. Simply is adding oor:finalized="true" in the definition of the property like in the example. But, this thing have a lot of bugs. In some properties, when you add oor:finalized="true", the user interface crash…

I expect that this article helps anyone that needs to do an admin configuration. If someone needs more information about this theme, contact with me and i can help him.

Regards.

What information do you have already found?

There had been a specification on http://util.openoffice.org/common/configuration/oor-document-format.html, but that file does no longer exists. But perhaps someone has saved it. Searching around I find http://people.freedesktop.org/~vmiklos/2013/oor-document-format.html, which seems to be a copy.

In addition, parts of Apache OpenOffice Administration Guide - Apache OpenOffice Wiki might still be valid.
Or a German guide http://www.linux-magazin.de/Online-Artikel/Positive-Einstellung by Florian Effenberger, who is active for LibreOffice.

I would ask on IRC or mailing list http://lists.freedesktop.org/mailman/listinfo/libreoffice

well the first page is archived by the Internet archive (archive.org) at util: OOo Registry Document Format