diff options
author | Feyza Yavuz <feyzaayavuz@gmail.com> | 2016-05-01 17:28:07 +0300 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-05-08 20:20:40 +0000 |
commit | 0ab7ad3bb0138c2614f66dba8af39cabe760f910 (patch) | |
tree | bf0e975fe8255c2129c297dfd8a5f7b9cfdd6abc /chart2/source/inc | |
parent | dc464bdb08cf6a3a3b118245b6eecbda5e94fb42 (diff) |
tdf#92768 Support hiding title objects
Change-Id: I879fc3d81a8fe8ca2f928305f5dc7fd9ebcfd294
Reviewed-on: https://gerrit.libreoffice.org/24564
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'chart2/source/inc')
-rw-r--r-- | chart2/source/inc/TitleHelper.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chart2/source/inc/TitleHelper.hxx b/chart2/source/inc/TitleHelper.hxx index 523575244ba8..89e1a7bbaee1 100644 --- a/chart2/source/inc/TitleHelper.hxx +++ b/chart2/source/inc/TitleHelper.hxx @@ -66,10 +66,21 @@ public: , const css::uno::Reference< css::frame::XModel >& xModel , const css::uno::Reference< css::uno::XComponentContext > & xContext , ReferenceSizeProvider * pRefSizeProvider = nullptr ); + static css::uno::Reference< + css::chart2::XTitle > + createOrShowTitle( eTitleType nTitleIndex + , const OUString& rTitleText + , const css::uno::Reference< css::frame::XModel >& xModel + , const css::uno::Reference< css::uno::XComponentContext > & xContext + , ReferenceSizeProvider * pRefSizeProvider = nullptr ); static void removeTitle( eTitleType nTitleIndex , const css::uno::Reference< css::frame::XModel >& xModel ); + static void hideTitle( eTitleType nTitleIndex + , const css::uno::Reference< css::frame::XModel >& xModel ); + + static OUString getCompleteString( const css::uno::Reference< css::chart2::XTitle >& xTitle ); static void setCompleteString( const OUString& rNewText , const css::uno::Reference< css::chart2::XTitle >& xTitle |