Where is XTransferableSupplier in the draw document java sdk? [closed]

asked 2016-09-06 18:38:24 +0100

quodlibetarian gravatar image

Question:

Writer and Calc documents both have XTransferableSupplier interfaces available

XComponent xComponent = ...

XModel2 xModel2 = UnoRuntime.queryInterface(XModel2.class, xComponent);

XController xController = xModel2.getCurrentController();

XTransferableSupplier xTransferableSupplier = UnoRuntime.queryInterface(XController.class, xController);

But Draw docucuments do not have the XTransferableSupplier interface and throws an exception at the last line above.

Where can I find the XTransferableSupplier interface in the Draw Document?

Objective:

I am trying to copy selected shapes from one draw document to the other

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2020-09-11 19:53:38.356062

Comments

floris v gravatar imagefloris v ( 2016-09-06 19:05:57 +0100 )edit