Hi Frank,

Thanks for you help.

On 8/21/07, Frank Meies <[EMAIL PROTECTED]> wrote:
> Hi Matthias,
>
> On 08/20/07 10:00, Matthias B. wrote:
>
> > How do I change the definition of the standard paragraph styles such
> > as Heading 1, 2,3... on a global level. Can I do this via a uno.pkg?
>
> you can add/change the ooSetupFactoryTemplateFile setting in Setup.xcu
> to point to a new default template file.

Where can I find the default file to build on. I've grepped all xcu
files in my OOo installation for ooSetupFactoryTemplateFile and all
occurences are like this

<prop oor:name="ooSetupFactoryTemplateFile">
         <value></value>
   </prop>

so the value is empty. Are the defaults hardcoded in the binary? If
so, could you tell me where, because since we're building OOo
ourselves, patching the source is an option we should consider. The
problem I see with providing a new template file is that any
enhancements made to OOo such as new compatibility settings that are
supposed to be on by default or new paragraph styles, will be absent
from our template file. So we'd need to regularly recreate the
template file from scratch to get the new features. Maintaining a
patch may be easier, depending on where and how the data is stored in
the source tree.

As for packaging: While the change to the xcu files can certainly be
packaged in a uno.pkg, how about the needed template file itself.
Since the location in the package cache is not known, we can't
hardcode its path in our package. Is there a variable that we could
use here, so that we can provide the template file and the xcu
override in the same uno.pkg?


Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to