On Tue, Feb 26, 2008 at 10:49 PM, Bernard Marcelly <[EMAIL PROTECTED]> wrote: > Message de Dmitry Teslenko date 2008-02-26 16:04 : > > Hello! > > I've using OO api via COM/Automation and I've stumbled upon this > > thing: I can't instantiate/manipulate structs such as > > com.sun.star.beans.PropertyValue or com.sun.star.table.CellAddress. > > COM/Automation is acessed via Trolltech Qt's wrapper, QAxContainter > > (In brier, this wrapper can perform fuction calls, retrieve > > sub-objects and read/write properties). > > Is there any constructors for structs such as > > ServiceManager.createInstance(...)? > > This is described in the Developer's Guide, chapter Professional Uno > > Uno language bindings > Automation Bridge. > To get a structure like com.sun.star.beans.PropertyValue, see > > <http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Bridge/Usage_of_Types> > > They are widely used in the API, if you cannot instantiate them and use > them in your language you can't pilot OpenOffice. (This answer is also > valid for your other mail). > > ServiceManager.createInstance(...) returns a Uno object, not a Uno > structure. See also the beginning of Dev'Guide Automation Bridge for > more explanations. > > <http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Bridge/Automation_Bridge>
Thanks! That's what I was looking for. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
