27#include <com/sun/star/sdbc/XConnection.hpp>
28#include <com/sun/star/sdbc/XResultSet.hpp>
32 class OGenericUnoController;
42 bool operator()(
const DataFlavorExVector::value_type& _aType)
44 switch (_aType.mnSotId)
46 case SotClipboardFormatId::RTF:
47 case SotClipboardFormatId::HTML:
48 case SotClipboardFormatId::DBACCESS_TABLE:
50 case SotClipboardFormatId::DBACCESS_QUERY:
51 case SotClipboardFormatId::DBACCESS_COMMAND:
99 ,std::u16string_view _sDestDataSourceName
112 ,std::u16string_view _sDestDataSourceName
136 ,std::u16string_view _sDestDataSourceName
148 DropDescriptor& _rAsyncDrop,
167 std::u16string_view _sDestDataSourceName,
174 std::u16string_view i_rSourceDataSource,
175 const css::uno::Reference< css::sdbc::XConnection>& i_rSourceConnection,
176 const OUString& i_rCommand,
177 const sal_Int32 i_nCommandType,
178 const css::uno::Reference< css::sdbc::XResultSet >& i_rSourceRows,
179 const css::uno::Sequence< css::uno::Any >& i_rSelection,
180 const bool i_bBookmarkSelection,
181 std::u16string_view i_rDestDataSource,
182 const css::uno::Reference< css::sdbc::XConnection>& i_rDestConnection
OUString m_sTableNameForAppend
static bool isTableFormat(const TransferableDataHelper &_rClipboard)
returns <TRUE> if the clipboard supports a table format, otherwise <FALSE>.
OGenericUnoController * m_pController
void pasteTable(const TransferableDataHelper &_rTransData, std::u16string_view _sDestDataSourceName, const SharedConnection &_xConnection)
pastes a table into the data source
bool copyTagTable(DropDescriptor const &_rDesc, bool _bCheck, const SharedConnection &_xConnection)
copies a table which was constructed by tags like HTML or RTF
void asyncCopyTagTable(DropDescriptor &_rDesc, std::u16string_view _sDestDataSourceName, const SharedConnection &_xConnection)
copies a table which was constructed by tags like HTML or RTF
void ResetTableNameForAppend()
OTableCopyHelper(OGenericUnoController *_pController)
const OUString & GetTableNameForAppend() const
void insertTable(std::u16string_view i_rSourceDataSource, const css::uno::Reference< css::sdbc::XConnection > &i_rSourceConnection, const OUString &i_rCommand, const sal_Int32 i_nCommandType, const css::uno::Reference< css::sdbc::XResultSet > &i_rSourceRows, const css::uno::Sequence< css::uno::Any > &i_rSelection, const bool i_bBookmarkSelection, std::u16string_view i_rDestDataSource, const css::uno::Reference< css::sdbc::XConnection > &i_rDestConnection)
insert a table into the data source.
void SetTableNameForAppend(const OUString &_rDefaultTableName)
svx::ODataAccessDescriptor aDroppedData
OUString sDefaultTableName
std::unique_ptr< weld::TreeIter > xDroppedAt
tools::SvRef< SotTempStream > aHtmlRtfStorage
Functor object for class DataFlavorExVector::value_type returntype is bool.
TAppSupportedSotFunctor(const ElementType &_eEntryType)
bool operator()(const DataFlavorExVector::value_type &_aType)