I am trying to configure my Open Office 3.2 per Extension (change the
standard setting). My System is Windows XP (SP3).

For example I try to change some entries in the existing .xcu files. My
question is related to the usage of xcu files within the Extension
(Configuration Data). Is that a “good” way to change settings, or is it
better to change the data with the UNO-Api.

There are some flags within the xcu files like “fuse” “replace” and
“finalized”, but I didn’t find some good documentation about all flags and
options I can set in those xcu files. I tried to change some entries in the
“Paths.xcu” but I only managed to change the entries with the usage of
“finalized”. Is that a must or does that effect only exists in a few files?

FOR Example:
----------------Paths.xcu
<node oor:name="Gallery" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/share/gallery" oor:op="fuse"/>
      </node>
      <prop oor:name="WritePath">
        <value>$(userurl)/gallery</value>
      </prop>
</node>

---------------myPath.xcu here i change the path within the extension
<node oor:name="Gallery">
        <prop oor:name="UserPaths" oor:type="oor:string-list" 
oor:finalized="true">
                <value>file:///D:/DATEN/benutzer/OpenOffice/gallery</value>
        </prop>
        <prop oor:name="WritePath" oor:type="xs:string" oor:finalized="true">
                <value>file:///D:/DATEN/benutzer/OpenOffice/gallery</value>
        </prop>
</node>



It would be great if somebody knows a list or documentation about Flags and
Options used in xcu files

PS: there are some side effect by the usage of finalized
If I use "finalized" in the “node” tag the entry is overwritten and locked
(example: “Paths.xcu”)
If I use it in the “prop” tag the entry is overwritten and not locked
If I use “replace” nothing has changed, at least in my tests 

-- 
View this message in context: 
http://old.nabble.com/change-Xcu-with-extension-tp28081556p28081556.html
Sent from the openoffice - dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to