office-gobmx/offapi/com/sun/star/datatransfer/XTransferable2.idl
Stephan Bergmann 5687eba49f Drop obsolete preprocessor directives from UNOIDL files
...which were used by ildc, which is gone since
a8485d558f "[API CHANGE] Remove deprecated idlc
and regmerge from the SDK", and have always been ignored as legacy by its
unoidl-write replacement.

This change has been carried out (making use of GNU sed extensions) with

> for i in $(git ls-files \*.idl); do sed -i -z -E -e 's/\n\n((#[^\n]*\n)+\n)*(#[^\n]*\n)+\n?/\n\n/g' -e 's/\n(#[^\n]*\n)+/\n/g' "$i"; done && git checkout extensions/source/activex/so_activex.idl odk/examples/OLE/activex/so_activex.idl

which apparently happened to do the work.  (The final two files are not UNOIDL
source files.)

Change-Id: Ic9369e05d46e8f7e8a304ab01740b171b92335cd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135683
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-06-13 16:27:45 +02:00

41 lines
1.4 KiB
Text

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
module com { module sun { module star { module datatransfer {
interface XTransferable2 : com::sun::star::datatransfer::XTransferable
{
/** This is equivalent of getTransferData of XTransferable, but takes an
additional parameter that specifies the destination document type.
@param aFlavor requested data format
@param aDestShellID destination document shell ID. The ID of each
individual shell must be unique.
@returns data in specified data format.
@throws com::sun::star::io::IOException
if the data is no longer available in the requested flavor.
@throws com::sun::star::datatransfer::UnsupportedFlavorException
if the requested DataFlavor is not supported.
*/
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.
*
* @since LibreOffice 6.4
*/
boolean isComplex();
};
}; }; }; };
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */