diff options
author | László Németh <laszlo.nemeth@collabora.com> | 2015-04-24 13:58:04 +0200 |
---|---|---|
committer | László Németh <laszlo.nemeth@collabora.com> | 2015-05-07 17:47:22 +0200 |
commit | 96a6128b9259e62ae0b2872a3157bb1bb32d2a6d (patch) | |
tree | e456c27a9a6e8cbcab698df7957e6eb4a0d087b4 /sw/inc/unotxdoc.hxx | |
parent | 65376dad896d5dfc1fd6665fc5fdd1833007ce20 (diff) |
Initial XTiledRenderable API
Cherry-picked from e2ad83e25aa86bc377b664d6d07a0b86abf487c0
Change-Id: I6dc337ec958c1e116fc9763877f331b751b64e6e
Diffstat (limited to 'sw/inc/unotxdoc.hxx')
-rw-r--r-- | sw/inc/unotxdoc.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx index 8a12ff02ea04..7d8033903fdb 100644 --- a/sw/inc/unotxdoc.hxx +++ b/sw/inc/unotxdoc.hxx @@ -67,6 +67,7 @@ #include <cppuhelper/weak.hxx> #include <cppuhelper/implbase.hxx> #include <vcl/ITiledRenderable.hxx> +#include <com/sun/star/tiledrendering/XTiledRenderable.hpp> #include <unobaseclass.hxx> #include <viewopt.hxx> @@ -128,7 +129,8 @@ SwXTextDocumentBaseClass; class SW_DLLPUBLIC SwXTextDocument : public SwXTextDocumentBaseClass, public SvxFmMSFactory, public SfxBaseModel, - public vcl::ITiledRenderable + public vcl::ITiledRenderable, + public ::com::sun::star::tiledrendering::XTiledRenderable { private: class Impl; @@ -420,6 +422,9 @@ public: /// @see vcl::ITiledRenderable::resetSelection(). virtual void resetSelection() SAL_OVERRIDE; + // ::com::sun::star::tiledrendering::XTiledRenderable + virtual void SAL_CALL paintTile( const ::css::uno::Any& Parent, ::sal_Int32 nOutputWidth, ::sal_Int32 nOutputHeight, ::sal_Int32 nTilePosX, ::sal_Int32 nTilePosY, ::sal_Int32 nTileWidth, ::sal_Int32 nTileHeight ) throw (::css::uno::RuntimeException, ::std::exception) SAL_OVERRIDE; + void Invalidate(); void Reactivate(SwDocShell* pNewDocShell); SwXDocumentPropertyHelper * GetPropertyHelper (); |