14#include <LibreOfficeKit/LibreOfficeKitTypes.h>
36 int nViewId)
override;
41 int nSourceViewId)
override;
43 virtual void dumpState(rtl::OStringBuffer&)
override{};
45 virtual void Invoke()
override;
48 void callCallback(
int nType,
const char* pPayload,
int nViewId);
51 void discardUpdatedTypes(
int nType,
int nViewId);
virtual void libreOfficeKitViewCallbackWithViewId(int nType, const rtl::OString &pPayload, int nViewId)=0
virtual void libreOfficeKitViewCallback(int nType, const rtl::OString &pPayload)=0
virtual void libreOfficeKitViewAddPendingInvalidateTiles()=0
virtual void libreOfficeKitViewInvalidateTilesCallback(const tools::Rectangle *pRect, int nPart, int nMode)=0
virtual void libreOfficeKitViewUpdatedCallbackPerViewId(int nType, int nViewId, int nSourceViewId)=0
virtual void libreOfficeKitViewUpdatedCallback(int nType)=0
A helper to convert SfxLokCallbackInterface to a LIbreOfficeKitCallback for tests.
std::vector< int > m_updatedTypes
void setLOKViewId(int viewId)
Set the view id of the associated SfxViewShell.
LibreOfficeKitCallback m_callback
std::vector< PerViewIdData > m_updatedTypesPerViewId
virtual void dumpState(rtl::OStringBuffer &) override
virtual void Invoke() override
#define OOO_DLLPUBLIC_TEST