Where is XTransferableSupplier in the draw document java sdk?


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?


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

Also posted at java sdk draw document : where is XTransferableSupplier (View topic) • Apache OpenOffice Community Forum