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.
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">
<prop oor:name="UseSystemFileDialog" oor:op="fuse">
Example of enterpriseconfig.xcu
<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">
<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.