summaryrefslogtreecommitdiff
path: root/include/vcl/ITiledRenderable.hxx
diff options
context:
space:
mode:
authorAndrzej Hunt <andrzej@ahunt.org>2015-11-04 17:24:15 +0100
committerAndrzej Hunt <andrzej@ahunt.org>2015-11-05 12:59:00 +0100
commit2bcaffd12263e8f3c2a2fbf8ccc4b9bba2642146 (patch)
tree119105313d79c52efc488fd4c8de2ef04fcadd89 /include/vcl/ITiledRenderable.hxx
parentf859dac52e40759fb8202d891df4e1442bc35803 (diff)
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
Diffstat (limited to 'include/vcl/ITiledRenderable.hxx')
-rw-r--r--include/vcl/ITiledRenderable.hxx12
1 files changed, 12 insertions, 0 deletions
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<css::datatransfer::clipboard::XClipboard>& xClipboard) = 0;