summaryrefslogtreecommitdiff
path: root/sw/inc/unotxdoc.hxx
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-07-28 18:05:20 +0530
committerPranav Kant <pranavk@collabora.co.uk>2017-10-02 10:54:52 +0530
commit0f58e974a7d6a88491a97ea3d0f30755ec330253 (patch)
tree8c3a15974009324443e042c5f6916cd435d93da5 /sw/inc/unotxdoc.hxx
parent1325fabbdd2e52169a7d1a1b9a6b9b59d908e8bb (diff)
lokdialog: Better dialog rendering API
After painting the dialog, also write width and height of the rendered dialog. The dialog is rendered always on the top left of the given canvas, so client can crop the canvas accordingly. Change-Id: If052058a6db8a85d4e28ec88cffcca05564b17f0
Diffstat (limited to 'sw/inc/unotxdoc.hxx')
-rw-r--r--sw/inc/unotxdoc.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx
index 0d782213ce61..0f8bc11d4da5 100644
--- a/sw/inc/unotxdoc.hxx
+++ b/sw/inc/unotxdoc.hxx
@@ -431,12 +431,11 @@ public:
/// @see vcl::ITiledRenderable::getPostIts().
OUString getPostIts() override;
- vcl::DialogID findDialog() override;
- void paintDialog(vcl::DialogID rDialogID, VirtualDevice &rDevice, int nWidth, int nHeight) override;
- void postDialogMouseEvent(vcl::DialogID rDialogID, int nType,
+ void paintDialog(const vcl::DialogID& rDialogID, VirtualDevice& rDevice, int& nWidth, int& nHeight) override;
+ void postDialogMouseEvent(const vcl::DialogID& rDialogID, int nType,
int nCharCode, int nKeyCode) override;
- void postDialogKeyEvent(vcl::DialogID rDialogID, int nType, int nX, int nY,
+ void postDialogKeyEvent(const vcl::DialogID& rDialogID, int nType, int nX, int nY,
int nCount, int nButtons, int nModifier) override;
// css::tiledrendering::XTiledRenderable