From 7e174f327a3cf16a09e4b2f8e2ffba2225c21901 Mon Sep 17 00:00:00 2001 From: Ashod Nakashian Date: Fri, 19 Jul 2019 23:51:16 +0100 Subject: LOK: Support detecting complex selections Includes unit-test, but is otherwise not complete implementation. Change-Id: I5fdcd543358caab1858f6351238c21312665839c --- offapi/com/sun/star/datatransfer/XTransferable2.idl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'offapi') diff --git a/offapi/com/sun/star/datatransfer/XTransferable2.idl b/offapi/com/sun/star/datatransfer/XTransferable2.idl index f792a969ded8..a6b53f0671e2 100644 --- a/offapi/com/sun/star/datatransfer/XTransferable2.idl +++ b/offapi/com/sun/star/datatransfer/XTransferable2.idl @@ -31,6 +31,11 @@ interface XTransferable2 : com::sun::star::datatransfer::XTransferable */ any getTransferData2( [in] DataFlavor aFlavor, [in] string aDestShellID ) raises ( UnsupportedFlavorException, com::sun::star::io::IOException ); + + /** + * Returns true if the selection contains embedded objects or is a large text blob. + */ + boolean isComplex(); }; }; }; }; }; -- cgit