diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-21 17:27:48 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-21 19:32:01 +0200 |
commit | d7788287456cb633226203f259e212c143b83050 (patch) | |
tree | bf58cd4fa76b3aa1e72016437c89e8da4929cdd9 /sw/inc | |
parent | cd72269a6a2c85ae9dd4552aa4808ef4fd1f6c0e (diff) |
lok::Document::getCommandValues: expose sw redline author colors
These colors are used in the tiles, so it's a good idea if the client
can use matching colors for cursors and selections. But to be able to do
that, we need an API to expose these colors.
Change-Id: Ia688c07e6c300fecdf8dc428d5a3f000d1857387
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/swmodule.hxx | 2 | ||||
-rw-r--r-- | sw/inc/unotxdoc.hxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx index c7bc02d15da0..6abfe6106b39 100644 --- a/sw/inc/swmodule.hxx +++ b/sw/inc/swmodule.hxx @@ -189,6 +189,8 @@ public: // Redlining. sal_uInt16 GetRedlineAuthor(); OUString GetRedlineAuthor(sal_uInt16 nPos); + /// See SwXTextDocument::getTrackedChangeAuthors(). + OUString GetRedlineAuthorInfo(); sal_uInt16 InsertRedlineAuthor(const OUString& rAuthor); void SetRedlineAuthor(const OUString& rAuthor); // for unit tests diff --git a/sw/inc/unotxdoc.hxx b/sw/inc/unotxdoc.hxx index 6b6087db685d..47e29addbb9e 100644 --- a/sw/inc/unotxdoc.hxx +++ b/sw/inc/unotxdoc.hxx @@ -438,6 +438,8 @@ public: virtual void setClientVisibleArea(const Rectangle& rRectangle) override; /// @see vcl::ITiledRenderable::getPointer(). virtual Pointer getPointer() override; + /// @see vcl::ITiledRenderable::getTrackedChangeAuthors(). + OUString getTrackedChangeAuthors() override; // css::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) override; |