Hi,

Anyway, notice that it works (at least on a DEV300_m68 on Linux)
without needing the uno.invoke you also suggest:

uno.invoke( xTextDoc, "storeToURL", ( sURL, aMediaDescriptor) )

should I use this indirect invocation or keep the direct call to XStoreable.storeToURL ?
the short answer: stick to the direct call.

the long answer: in the very academic use case, that your code meets an XStoreable instance which is implemented in your python environment, the direct call passes an uno.Any() instance to this local python object, but the python object implementation should not handle this. The uno.invoke layer simply takes care, that in this case, the uno.Any is stripped away. When the XStoreable instance is a "bridged" uno object, there is no difference beside uno.invoke and the direct call.


Bye,

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to