java sdk draw document : where is XTransferableSupplier

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
quodlibetarian
Posts: 3
Joined: Tue Sep 06, 2016 5:54 pm

java sdk draw document : where is XTransferableSupplier

Post by quodlibetarian »

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
Open Office 3.1 on Kubuntu 14.04
User avatar
floris v
Volunteer
Posts: 4565
Joined: Wed Nov 28, 2007 1:21 pm
Location: Netherlands

Re: java sdk draw document : where is XTransferableSupplier

Post by floris v »

LibreOffice 24.2.7.2 on Ubuntu Linux
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
Post Reply