diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2022-11-22 17:40:26 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-11-22 21:45:36 +0100 |
commit | d19816350dba8daffa2deb495d4e697062579456 (patch) | |
tree | b82fccd1158fa2e46f1fd978ceeb7229e55e74eb /include | |
parent | 8cc4e6c8f572d84dc004d97fa25d17fe85505dc6 (diff) |
lok: draw Math in-place widget in sd
Change-Id: If874c0227ec724fa5b1517080db252e64f9597c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143121
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/lokcomponenthelpers.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sfx2/lokcomponenthelpers.hxx b/include/sfx2/lokcomponenthelpers.hxx index 61a3812a9d2f..c76067bc1330 100644 --- a/include/sfx2/lokcomponenthelpers.hxx +++ b/include/sfx2/lokcomponenthelpers.hxx @@ -80,7 +80,13 @@ public: bool postMouseEvent(int nType, int nX, int nY, int nCount, int nButtons, int nModifier, double fPPTScaleX, double fPPTScaleY); + static void PaintAllInPlaceOnTile(VirtualDevice& rDevice, int nOutputWidth, int nOutputHeight, + int nTilePosX, int nTilePosY, tools::Long nTileWidth, + tools::Long nTileHeight); + private: + void PaintTile(VirtualDevice& rDevice, const tools::Rectangle& rTileRect); + const SfxViewShell* mpViewShell; const SfxInPlaceClient* mpIPClient = nullptr; // not nullptr when the object is valid css::uno::Reference<css::frame::XFrame> mxFrame; // not empty when the object is valid |