Build "Settings" extension

Hello,
years ago I wrote a OpenOffice 3.3 extension to set some defaults like:

- Disable Updates
- Set "ooSetupFactoryDefaultFilter" (for example save writer documents
in "Word 97" format)
- Set Autosave "TimeIntervall" and so on.

Now I use Libreoffice and some settings has changed,
Disable the Update does not work any more.
And I want to the change the "SymbolStyle" to Galaxy.

In my UserDir there is a file "registrymodifications.xcu"
with the following entry:

<item oor:path="/org.openoffice.Office.Common/Misc"><prop
oor:name="SymbolStyle" oor:op="fuse"><value>default</value></prop></item>

and this entry to the "Common.xcu" in my plugin produce an invalid XML
and this does not work.
I can't remeber how I have build the plugin.
I also found no reference there all the possible settings are listed.

The structure of my plugin is
.
├── Common.xcu
├── META-INF
│ └── manifest.xml
├── Recovery.xcu
├── Settings.xcu
├── Setup-calc.xcu
├── Setup-writer.xcu
└── Setup.xcu

1 directory, 7 files

Did anybody know the right syntax for the Common.xcu to set the icon
style and/or fix the problem with the AutoUpdate?

Basti

Hi :slight_smile:
I think it might be better to ask the devs on their irc channel (whatever
that is!) or their mailing list.

It's often best to ask questions here so that we can sign-post you to the
right place. Hopefully someone here might have a better idea of how to
reach our devs.

When you build an Extension/Add-on/Plugin it's usually best to upload it to
the Extensions Library and "copyright" it using asn OpenSource copyleft
license so that otehr people can have a go at maintaining it if they like
it.

It's a really bad idea to keep all copies of a file in MS formats. It's
better to keep files in ODF until you need to share or collaborate with
someone. At that point it's better to try to get them to install
LibreOffice, OpenOffice, Caligra, IBM Lotus Symphoiny or any non-MS office
suite or program because it's only MS Office that has trouble with ODF.
Everyone else uses it just fine. People happily install something else for
Pdfs so why not for ODFs? If they really can't install programs on their
own machine then giving them a copy of the file in the older MS formats
usually means they can read it well enough.

Regards from
Tom :slight_smile:

Hi,
Galaxy is the default, so the registrymodification line
<item oor:path="/org.openoffice.Office.Common/Misc"><prop
oor:name="SymbolStyle" oor:op="fuse"><value>default</value></prop></item>
is correct.

My best guess for Common.xcu would then be

<?xml version="1.0" encoding="UTF-8"?>
<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="SymbolStyle" oor:op="fuse"><value>default</value></prop>
  </prop>
</node>
</oor:component-data>

Please note that I didn't test this yet. Its just a guess :wink:

Cheers,
Leif Lodahl

Thanks a lot, now I have fixed it.
Invalid XML. Sorry