openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Eberlein <pet....@refofd.verwalt-berlin.de>
Subject Re: COM OLE Automation bridge; property Name not supported
Date Fri, 29 Aug 2014 06:39:23 GMT
Moin Mathias,
Am 29.08.2014 08:23, schrieb Mathias Röllig:
> Good morning Peter!
>
> Having no Windows and no Word I cannot test your code.
> Try:
>
> bookmark = wordDoc.Bookmarks(i)
> GlobalScope.BasicLIbraries.loadLibrary( "Tools" )
> writeDBGinfo( bookmark )
>
> If there is nothing go step by step
>
> writeDBGinfo( wordDoc )
>
XRay is the better way, but it's a COM object, which have all the same 
properties and methods (e.g. invoke(), hasProperty()).
hasProperty("Name") returns false.

Regards

Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscribe@openoffice.apache.org
For additional commands, e-mail: api-help@openoffice.apache.org


Mime
View raw message