Am Freitag, den 09.09.2005, 10:35 +1200 schrieb Ian Laurenson: > On Thu, 2005-09-08 at 15:27 +0200, Marc Santhoff wrote: > > Am Donnerstag, den 08.09.2005, 16:52 +1200 schrieb Ian Laurenson: [...] > > > And is it possible by a BASIC macro? Again some pointers would be > > > useful. > > > > > > If I can get this sorted out I would like to writeup the instructions in > > > the wiki: http://ext.openoffice.org.nz and possibly update Bernard > > > Marcelly's excellent Addons1_1en.sxw. > > > > Have you had a look at the code snippets? > > > > http://codesnippets.services.openoffice.org/ > > Thanks for this but the closest code snippet is about setting dynamic > events which is not what I want.
Hm, I only knew there was something like that. Maybe you can apply a technique like this (working perfectly in OO.o 1.1.x, don't know about 2.x): 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]