Re: [dev] Problems using %origin% in Setup.xcu
please try the development build and report whether it works: http://download.openoffice.org/next/index.html done :) yes there it woks, but unfortunately i have to use 3.2 but thanks for your help sponmonster -- View this message in context: http://old.nabble.com/Problems-using--origin--in-Setup.xcu-tp28827026p28851650.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] Problems using %origin% in Setup.xcu
Hi, %origin% get expanded to the directory where the xcu file is located. Ensure that your path is relative to the place/location of the xcu file. Maybe this helps. Juergen oxt_root/dir1/dir2/dir3/Setup.xcu oxt_root/templates/... […] node oor:name=Office node oor:name=Factories node oor:name=com.sun.star.text.TextDocument prop oor:name=ooSetupFactoryTemplateFile oor:type=xs:string value%origin%/../../../templates/standard.ott/value /prop /node /node /node […] On 6/11/10 8:18 AM, sponmonster wrote: please try the development build and report whether it works: http://download.openoffice.org/next/index.html done :) yes there it woks, but unfortunately i have to use 3.2 but thanks for your help sponmonster - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] Problems using %origin% in Setup.xcu
Juergen Schmidt-3 wrote: oxt_root/dir1/dir2/dir3/Setup.xcu oxt_root/templates/... […] node oor:name=Office node oor:name=Factories node oor:name=com.sun.star.text.TextDocument prop oor:name=ooSetupFactoryTemplateFile oor:type=xs:string value%origin%/../../../templates/standard.ott/value /prop /node /node /node […] That is my problem ;) it works the way you described it OpenOffice opens the default template BUT there also comes this little error message: http://old.nabble.com/file/p28854189/allgemeiner_fehler.jpg now i set an event in event.xcu - start a macro - and set the default template not the best solution but it works vns.sun.star.extension: is working in the next version for that i have to wait ;) -- View this message in context: http://old.nabble.com/Problems-using--origin--in-Setup.xcu-tp28827026p28854189.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] Problems using %origin% in Setup.xcu
vnd.sun.star.extension://extension-identifier/path... does that work for you when you use it in Setup.xcu for defining a default-template?? it doens't work for me with my id from my descritption.xml: prop oor:name=ooSetupFactoryTemplateFile oor:type=xs:string valuevnd.sun.star.extension://openoffice.320.sharedconfig.settings/defaultTemplate/default.ott/value /prop should equal something like: C:\Programme\OpenOffice.org 3\share\uno_packages\cache\uno_packages\A5.tmp_\MySharedSettings.oxt\defaultTemplate\default.ott but it doesn't work for me... i do not see my template when i open a new file what is my mistake? -- View this message in context: http://old.nabble.com/Problems-using--origin--in-Setup.xcu-tp28827026p28843301.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