diff options
author | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-05-25 16:10:23 +0200 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2016-05-30 20:18:01 +0000 |
commit | 697eaa91bd008e992b325e05ce3f20853ad965f7 (patch) | |
tree | e23100edec6cd604658ec2a781b6418c207e1b83 /include | |
parent | f65b29ff13211449144455668014a80aa8b331a3 (diff) |
tdf#100068: Initial implementation of ScreenshotId
it's the same as HelpId in default implementation and extended with
'=?config=foo' string otherwise, depending on different configurations
the dialog/tabpage can have (e.g. different widgets hidden/shown)
Change-Id: I01312a5a88ef7ba784bca315b336420cdb63c8dc
Reviewed-on: https://gerrit.libreoffice.org/25455
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/window.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index 62e8c6448a5e..e93870c27140 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -1180,6 +1180,16 @@ public: void SetHelpId( const OString& ); const OString& GetHelpId() const; + /** String ID of this window for the purpose of creating a screenshot + + In default implementation this ID is the same as HelpId. Override this method + in windows (dialogs,tabpages) that need different IDs for different configurations + they can be in + + @return screenshot ID of this window + */ + virtual OString GetScreenshotId() const; + vcl::Window* FindWindow( const Point& rPos ) const; sal_uInt16 GetChildCount() const; |