Am Mittwoch, den 01.11.2006, 14:29 +0100 schrieb Knut Olav Bøhmer:
> On 11/1/06, Tabish F. Mufti <[EMAIL PROTECTED]> wrote:
> > Just few days back Tobias on the mailing list referred me to the following
> > link for package installation. You might wanna look at it as well. It helped
> > me like anything.
> >
> > http://kingyo.tutms.tut.ac.jp/~toshi/StarSuite/Chap4/<http://kingyo.tutms.tut.ac.jp/%7Etoshi/StarSuite/Chap4/>
>
> I did not find anything that helped me there. Maybe there is something
> that I don't understand..
>
> > By the way what are you trying to do ?
> >
>
> I'm trying to modify /share/registry/data/org/openoffice/Setup.xcu
> from a unopkg.
If you don't mind translating some BASIC to the language of your choice
(and fiddle the node path into shape ;), here is an example:
sub testConfig
Dim aNodePath(0) as new com.sun.star.beans.PropertyValue
Globalscope.BasicLibraries.Loadlibrary("Tools")
oConfigProvider =
createUnoService("com.sun.star.configuration.ConfigurationProvider")
aNodePath(0).Name = "nodepath"
aNodePath(0).Value = "org.openoffice.Office.Calc/Layout"'/Line"
Cnf_zweig =
oConfigProvider.createInstanceWithArguments("com.sun.star.configuration.ConfigurationUpdateAccess",
aNodePath())
Wert = Cnf_zweig.getByName("Line")
ShowPropertyValues(Wert)
Wert.GridLine = FALSE
Cnf_zweig.commitChanges
end sub
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]