diff options
Diffstat (limited to 'sw/inc/viewsh.hxx')
-rw-r--r-- | sw/inc/viewsh.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx index 1c5eddb2a5f5..574933c430e2 100644 --- a/sw/inc/viewsh.hxx +++ b/sw/inc/viewsh.hxx @@ -30,6 +30,7 @@ #include <stack> #include <vcl/mapmod.hxx> #include <vcl/print.hxx> +#include <vcl/ITiledRenderable.hxx> namespace com { namespace sun { namespace star { namespace accessibility { class XAccessible; } } } } @@ -194,6 +195,9 @@ protected: sal_uInt16 mnLockPaint; ///< != 0 if Paint is locked. bool mbSelectAll; ///< Special select all mode: whole document selected, even if doc starts with table. + LibreOfficeKitCallback mpLibreOfficeKitCallback; + void* mpLibreOfficeKitData; + public: TYPEINFO(); @@ -572,6 +576,12 @@ public: bool IsShowHeaderFooterSeparator( FrameControlType eControl ) { return (eControl == Header)? mbShowHeaderSeparator: mbShowFooterSeparator; } virtual void SetShowHeaderFooterSeparator( FrameControlType eControl, bool bShow ) { if ( eControl == Header ) mbShowHeaderSeparator = bShow; else mbShowFooterSeparator = bShow; } bool IsSelectAll() { return mbSelectAll; } + + /// The actual implementation of the vcl::ITiledRenderable::registerCallback() API for Writer. + void registerLibreOfficeKitCallback(LibreOfficeKitCallback pCallback, void* pLibreOfficeKitData); + /// Invokes the registered callback, if there are any. + void libreOfficeKitCallback(int nType, const char* pPayload); + SwViewShell* GetNext() { return GetNextInRing(); } const SwViewShell* GetNext() const |