Ask Your Question

Admin configuration [closed]

asked 2014-04-08 12:57:00 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

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.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-20 20:25:10.590372

2 Answers

Sort by » oldest newest most voted

answered 2014-04-09 11:21:42 +0100

Lluís Clavaguera gravatar image

updated 2014-04-14 09:56:23 +0100

oweng gravatar image

Hi Regina,

I think that the copy of specification can help me a lot. I review that and I tell you if solves my problem.

Thanks and regards.


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="" xmlns:xs="" xmlns:xsi="">
<item oor:path="/org.openoffice.Office.Common/Misc">
    <prop oor:name="UseSystemFileDialog" oor:op="fuse">

Example of enterpriseconfig.xcu

<?xml version="1.0"?>
<oor:component-data xmlns:oor="" xmlns:xs="" oor:name="Common" oor:package="org.openoffice.Office">
<node oor:name="Misc">
    <prop oor:name="UseSystemFileDialog" oor:finalized="true">

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.


edit flag offensive delete link more

answered 2014-04-08 21:50:47 +0100

Regina gravatar image

What information do you have already found?

There had been a specification on , but that file does no longer exists. But perhaps someone has saved it. Searching around I find , which seems to be a copy.

In addition, parts of might still be valid. Or a German guide by Florian Effenberger, who is active for LibreOffice.

I would ask on IRC or mailing list

edit flag offensive delete link more


well the first page is archived by the Internet archive ( ) at

Dennis Roczek gravatar imageDennis Roczek ( 2014-04-14 10:27:47 +0100 )edit

Question Tools



Asked: 2014-04-08 12:57:00 +0100

Seen: 827 times

Last updated: Apr 14 '14