Ask Your Question
0

Admin configuration [closed]

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

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
2

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

Lluís Clavaguera gravatar image

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

oweng gravatar image

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.

edit flag offensive delete link more
0

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

Regina gravatar image

What information do you have already found?

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

In addition, parts of https://wiki.openoffice.org/wiki/Docu... might still be valid. Or a German guide http://www.linux-magazin.de/Online-Ar... by Florian Effenberger, who is active for LibreOffice.

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

edit flag offensive delete link more

Comments

well the first page is archived by the Internet archive ( archive.org ) at http://web.archive.org/web/2010011013...

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

Question Tools

3 followers

Stats

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

Seen: 548 times

Last updated: Apr 14 '14