Hi Oliver, Thanks for your help.[?] Further, I tried creating a sample package to achieve this, but its not working for me . Can you please have a look at the sample package i have made.
Thanks Jaunty Date: Wed, 14 Jan 2009 18:03:15 +0100 From: Oliver Brinzing <oliver.brinz...@gmx.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0C4EBE371A7A769E7FC3735E" Subject: [dev] non code extensions Hi, i have an *.oxt extension which will deploy keyboard shortcuts: +META-INF +config +soffice.cfg + global +accelerator +de current.xml +registry paths.xcu common.xcu description.xml my "Paths.xcu" has an entry: <node oor:name="UserConfig" oor:op="fuse" oor:mandatory="true"> <prop oor:name="IsSinglePath" oor:finalized="true"> <value>true</value> </prop> <node oor:name="InternalPaths" oor:finalized="true"/> <prop oor:name="UserPaths" oor:finalized="true"/> <prop oor:name="WritePath"> <value>%origin%/../config</value> </prop> </node> and my "Common.xcu" looks like <node oor:name="Path"> <node oor:name="Current"> <prop oor:name="UserConfig" oor:type="xs:string"> <value xsi:nil="true"/> </prop> </node> </node> Oliver Am 14.01.2009 12:32 schrieb jaunty ashu: > Hi, > > I have a doubt relating to non code extension: > > How to add some .xml files to config subfolders in user install directory > like we add templates using extensions. I tried it by "UIconfig" and > "UserConfig" , similar to the way as "Template" is used under Paths.xcu in > templates extensions. Can anyone plz. tell how to achieve this. > > This is the Paths.xcu i used. > > > Paths.xcu > > <?xml version='1.0' encoding='UTF-8'?> > > <oor:component-data oor:package="org.openoffice.Office" oor:name="Paths" > xmlns:install="http://openoffice.org/2004/installation" xmlns:oor=" > http://openoffice.org/2001/registry" xmlns:xs=" > http://www.w3.org/2001/XMLSchema" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"> > > <node oor:name="Paths"> > > <node oor:name="UIConfig" oor:op="fuse" oor:mandatory="true"> > <node oor:name="InternalPaths"> > <node oor:name="%origin%/config//sunfolder/" oor:op="fuse"/> > </node> > </node> > > > </node> > </oor:component-data> > > Thanks > -- Oliver Brinzing fon +49 7181 481401 fax +49 7181 475635 Ludwigstrasse 14 mobil +49 174 3015743 73614 Schorndorf mailto:oliver.brinz...@gmx.de GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A
<<330.gif>>
soffice6.oxt
Description: application/vnd.openofficeorg.extension
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org