Re: [dev] change Xcu with extension
Hi, I've tried the stuff which is explained in the docu. I want to change the paths in Path.xcu, but everything except finalized fails. I can't change the entries with replace, fuse or modify which is default. Only finalized is working and changes the entries. But when i set the entries finalize, of course , they aren't editable any longer, but that is not good they should be editable. Below is again the code example. What should i do? Maybe the entry mandatory is the reason why i cant change the entry, is it possible to change that? sponmonster wrote: 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 valuefile:///D:/DATEN/benutzer/OpenOffice/gallery/value /prop prop oor:name=WritePath oor:type=xs:string oor:finalized=true valuefile:///D:/DATEN/benutzer/OpenOffice/gallery/value /prop /node -- View this message in context: http://old.nabble.com/change-Xcu-with-extension-tp28081556p28105397.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
Re: [dev] change Xcu with extension
Hi, I've tried the stuff which is explained in the docu. I want to change the paths in Path.xcu, but everything except finalized fails. I can't change the entries with replace, fuse or modify which is default. Only finalized is working and changes the entries. But when i set the entries finalize, of course , they aren't editable any longer, but that is not good they should be editable. Below is again the code example. What should i do? Maybe the entry mandatory is the reason why i cant change the entry, is it possible to change that? sponmonster wrote: 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 valuefile:///D:/DATEN/benutzer/OpenOffice/gallery/value /prop prop oor:name=WritePath oor:type=xs:string oor:finalized=true valuefile:///D:/DATEN/benutzer/OpenOffice/gallery/value /prop /node -- View this message in context: http://old.nabble.com/change-Xcu-with-extension-tp28081556p28105403.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
Re: [dev] change Xcu with extension
Hi, have you tried, for example: Path.xcu: node oor:name=AutoText prop oor:name=UserPaths valuefile:///D:/Data/Global_Autotext_1 file:///D:/Data/Global_Autotext_2/value /prop prop oor:name=WritePath valuefile:///X:/User/Autotext/value /prop /node Common.xcu: node oor:name=Path node oor:name=Current prop oor:name=AutoText oor:type=oor:string-list value xsi:nil=true / /prop /node /node -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP digital signature
Re: [dev] change Xcu with extension
On 04/01/10 09:33, sponmonster wrote: I've tried the stuff which is explained in the docu. I want to change the paths in Path.xcu, but everything except finalized fails. I can't change the entries with replace, fuse or modify which is default. Only finalized is working and changes the entries. But when i set the entries finalize, of course , they aren't editable any longer, but that is not good they should be editable. Below is again the code example. What should i do? If the user already explicitly set those path values (via the GUI), they are marked as modified in the user layer which is higher than the extensions layer (where your Paths.xcu ends up), so your changes would only become visible if you make them finalized (which makes configmgr ignore any higher layers for those settings). That would explain what you see. -Stephan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] change Xcu with extension
Hi thanks for your help, but i found the mistake i made it was the mandatory flag in the original Paths.xcu when i set oor:mandatory=false in the extension xcu-file the default operation modify takes place, the entrie is overwritten and it still is editable, so it works :) but thanks for your answer -- View this message in context: http://old.nabble.com/change-Xcu-with-extension-tp28081556p28105656.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
Re: [dev] change Xcu with extension
Stephan Bergmann wrote: See http://util.openoffice.org/common/configuration/oor-document-format.html. Thanks, that is exactly the docu if searched for :) -- View this message in context: http://old.nabble.com/change-Xcu-with-extension-tp28081556p28092280.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
[dev] change Xcu with extension
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 valuefile:///D:/DATEN/benutzer/OpenOffice/gallery/value /prop prop oor:name=WritePath oor:type=xs:string oor:finalized=true valuefile:///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
Re: [dev] change Xcu with extension
On 03/30/10 14:07, sponmonster wrote: 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. If your extension makes specific, fixed settings, I would prefer an .xcu file. It would be great if somebody knows a list or documentation about Flags and Options used in xcu files See http://util.openoffice.org/common/configuration/oor-document-format.html. -Stephan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org