java sdk draw document : where is XTransferableSupplier

Java, C++, C#, Delphi, ??? - Using the UNO bridges

java sdk draw document : where is XTransferableSupplier

Postby quodlibetarian » Tue Sep 06, 2016 6:16 pm


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
Open Office 3.1 on Kubuntu 14.04
Posts: 3
Joined: Tue Sep 06, 2016 5:54 pm

Re: java sdk draw document : where is XTransferableSupplier

Postby floris v » Tue Sep 06, 2016 7:05 pm

MS Windows 10 - AOO 4.1.3 - LibreOffice
If your problem has been solved or your question has been answered, please edit the first post in this thread and add [Solved] to the title bar.
Nederlandstalig forum
User avatar
floris v
Posts: 3978
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Return to External Programs

Who is online

Users browsing this forum: No registered users and 1 guest