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-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org