summaryrefslogtreecommitdiff
path: root/chart2/source/inc/TitleHelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/inc/TitleHelper.hxx')
-rw-r--r--chart2/source/inc/TitleHelper.hxx11
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