/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ /* * This file is part of the LibreOffice project. * * 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/. */ #ifndef INCLUDED_COMPHELPER_LOK_HXX #define INCLUDED_COMPHELPER_LOK_HXX #include // Interface between the LibreOfficeKit implementation called by LibreOfficeKit clients and other // LibreOffice code. namespace comphelper { namespace LibreOfficeKit { // Functions to be called only from the LibreOfficeKit implementation in desktop, not from other // places in LibreOffice code. COMPHELPER_DLLPUBLIC void setActive(bool bActive = true); enum class statusIndicatorCallbackType { Start, SetValue, Finish }; COMPHELPER_DLLPUBLIC void setStatusIndicatorCallback(void (*callback)(void *data, statusIndicatorCallbackType type, int percent), void *data); // Functions that can be called from arbitrary places in LibreOffice. // Check whether the code is running as invoked through LibreOfficeKit. COMPHELPER_DLLPUBLIC bool isActive(); /// Shift the coordinates before rendering each bitmap. /// Used by Calc to render each tile separately. /// This should be unnecessary (and removed) once Calc /// moves to using 100MM Unit. COMPHELPER_DLLPUBLIC void setLocalRendering(bool bLocalRendering = true); COMPHELPER_DLLPUBLIC bool isLocalRendering(); /// Check whether clients want a part number in an invalidation payload. COMPHELPER_DLLPUBLIC bool isPartInInvalidation(); /// Set whether clients want a part number in an invalidation payload. COMPHELPER_DLLPUBLIC void setPartInInvalidation(bool bPartInInvalidation); /// Check if we are doing tiled painting. COMPHELPER_DLLPUBLIC bool isTiledPainting(); /// Set if we are doing tiled painting. COMPHELPER_DLLPUBLIC void setTiledPainting(bool bTiledPainting); // Status indicator handling. Even if in theory there could be several status indicators active at // the same time, in practice there is only one at a time, so we don't handle any identification of // status indicator in this API. COMPHELPER_DLLPUBLIC void statusIndicatorStart(); COMPHELPER_DLLPUBLIC void statusIndicatorSetValue(int percent); COMPHELPER_DLLPUBLIC void statusIndicatorFinish(); } } #endif // INCLUDED_COMPHELPER_LOK_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ llabora/co-22.05 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/vcl/qt5/Qt5Clipboard.cxx
AgeCommit message (Expand)Author
2020-03-25tdf#131533 Qt5 defer dropping clipboard ownershipJan-Marek Glogowski
2019-10-07tdf#112368 Qt5 don't lose ownership in flushClipboardJan-Marek Glogowski
2019-10-02tdf#112368 Qt5 handle owned, non-LO clipboard contentJan-Marek Glogowski
2019-07-31Improved loplugin:stringconstant (now that GCC 7 supports it): vclStephan Bergmann
2019-06-15Fix typoAndrea Gelmini
2019-06-13Qt5 move boilerplate clipboard code to the end...Jan-Marek Glogowski
2019-06-13tdf#122239 Qt5 implement lazy clipboard handlingJan-Marek Glogowski
2019-06-03Qt5 refactor and move XTransferable implementationsJan-Marek Glogowski
2019-06-03Qt5 remove header using namespaces and Vcl prefixJan-Marek Glogowski
2019-05-16Revert "tdf#120836 KDE5: Clipboard: don't put images to clipboard"Luboš Luňák
2019-05-15do not add non-text to PRIMARY selection in VclQt5ClipboardLuboš Luňák
2019-02-27tdf#122689 qt5: Consider external clipboard updatesMichael Weghorn
2019-01-26tdf#120836 KDE5: Clipboard: don't put images to clipboardAleksei Nikiforov
2019-01-21tdf#122689 KDE5: Fix selection clipboardAleksei Nikiforov
2019-01-21Related tdf#120625: improve querying supported data flavoursKatarina Behrens
2019-01-18tdf#120836 KDE5: allow adding multiple mime types to clipboardAleksei Nikiforov
2018-10-12HTML and image copy into qt5 clipboardKatarina Behrens
2018-10-12Support image paste from qt5 clipboardKatarina Behrens
2018-10-12Support HTML paste from qt5 clipboardKatarina Behrens
2018-10-04loplugin:subtlezeroinit (--enable-qt5)Stephan Bergmann
2018-10-04Implement qt5 plain text copy to clipboardKatarina Behrens
2018-10-04Implement qt5 plain text paste from system clipboardKatarina Behrens
2018-10-04Clipboard support for qt5, first cutKatarina Behrens