From 2bcaffd12263e8f3c2a2fbf8ccc4b9bba2642146 Mon Sep 17 00:00:00 2001 From: Andrzej Hunt Date: Wed, 4 Nov 2015 17:24:15 +0100 Subject: sc lok: tdf#94605 introduce uno:CellCursor This allows the client to rerequest the current cursor position, which is necessary e.g. on zoom-level changes. Conflicts: desktop/source/lib/init.cxx sc/inc/docuno.hxx Change-Id: I10d81e220a56a36e2ec0c59005cd1d4f134857d5 --- include/vcl/ITiledRenderable.hxx | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'include/vcl') diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx index efa9bc272b40..963f1fc7054a 100644 --- a/include/vcl/ITiledRenderable.hxx +++ b/include/vcl/ITiledRenderable.hxx @@ -159,6 +159,18 @@ public: return OUString(); } + /** + * Get position and size of cell cursor in Calc. + * (This could maybe also be used for tables in Writer/Impress in future?) + */ + virtual OString getCellCursor(int /*nOutputWidth*/, + int /*nOutputHeight*/, + long /*nTileWidth*/, + long /*nTileHeight*/) + { + return OString(); + } + /// Sets the clipboard of the component. virtual void setClipboard(const css::uno::Reference& xClipboard) = 0; -- cgit