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
java sdk draw document : where is XTransferableSupplier
-
- Posts: 3
- Joined: Tue Sep 06, 2016 5:54 pm
java sdk draw document : where is XTransferableSupplier
Open Office 3.1 on Kubuntu 14.04
Re: java sdk draw document : where is XTransferableSupplier
Also posted at https://ask.libreoffice.org/en/question ... -java-sdk/
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
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