On Fri, 2012-03-02 at 09:26 +0800, huqitu du wrote:
I found
this http://ask.libreoffice.org/question/433/how-do-i-change-my-default-font-from-times-new
but this is not me wanted, I want to change default settings from
source file, so I can make a installer, and when I install Office, the
changed value is there.
In general, the way I would do that is to backup your settings
directory and then change the setting you want to change by default and
exit. Now you have two settings directories, one with and one without
the change.
diff -ur from the old to new settings directory
You'll almost certainly find the change in a huge, non-line-wrapped XML
file. So, turn that into something pretty:
xmllint --format foo.xml > baa.xml
both for before and after; then diff -u again - that'll show you which
setting is the one to change.
Then poke in officecfg/ which as the default configuration, and tweak
the equivalent setting there - re-compile that, and you should have an
updated default.
Hope that helps.
Regards,
Michael.
--
michael.meeks@suse.com <><, Pseudo Engineer, itinerant idiot
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.