diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-06-16 13:50:49 +0100 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-06-25 13:04:33 +0100 |
commit | 5da5882df48b4ef9cb9807798102453249cd1aef (patch) | |
tree | 4a08c43217e215a1fe6b90102ad7287070140e48 /sc/inc | |
parent | cd96b0498d9147422ecb25a38aa2b04a480cdfa9 (diff) |
Add tiled rendering outline to Calc.
(No real implementation yet.)
Change-Id: I67b84b554dbb29db449d8c190ef816645a8bff07
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/docuno.hxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx index 9e2f53c419bd..27575fe66a2c 100644 --- a/sc/inc/docuno.hxx +++ b/sc/inc/docuno.hxx @@ -54,6 +54,7 @@ #include <cppuhelper/implbase5.hxx> #include <cppuhelper/interfacecontainer.h> #include <svl/itemprop.hxx> +#include <vcl/ITiledRenderable.hxx> #include "drwlayer.hxx" class ScDocShell; @@ -69,6 +70,7 @@ class ScPrintUIOptions; class ScSheetSaveData; class SC_DLLPUBLIC ScModelObj : public SfxBaseModel, + public ::vcl::ITiledRenderable, public com::sun::star::sheet::XSpreadsheetDocument, public com::sun::star::document::XActionLockable, public com::sun::star::sheet::XCalculatable, @@ -350,6 +352,17 @@ public: virtual com::sun::star::uno::Sequence< com::sun::star::sheet::opencl::OpenCLPlatform > SAL_CALL getOpenCLPlatforms() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + + + // ITiledRenderable + virtual void paintTile( VirtualDevice& rDevice, + int nOutputWidth, + int nOutputHeight, + int nTilePosX, + int nTilePosY, + long nTileWidth, + long nTileHeight ) SAL_OVERRIDE; + virtual Size getDocumentSize() SAL_OVERRIDE; }; class ScDrawPagesObj : public cppu::WeakImplHelper2< |