diff options
author | Balazs Varga <balazs.varga991@gmail.com> | 2019-08-15 11:25:02 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2019-08-21 10:10:08 +0200 |
commit | 96a29c12a9d8734c9d2a812f38fc6654b5df9c48 (patch) | |
tree | a0fa0bb8848eb0fd36e7ffbaf276497097fec4fb /include/oox | |
parent | d7b227d116086ef2023ae9b8b0eef8288c46cf3c (diff) |
tdf#101322 Chart OOXML Export: fix missing subtitle
Concatenate subtitle and main title texts, if both exist, just like
at the XLS/DOC export, because OOXML does not support subtitles.
If we only have a subtitle, export the whole subtitle shape instead of
the title shape, keeping its properties.
Change-Id: If6a27c023fcce58f4549a0edad44027bb0348b93
Reviewed-on: https://gerrit.libreoffice.org/77499
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'include/oox')
-rw-r--r-- | include/oox/export/chartexport.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/oox/export/chartexport.hxx b/include/oox/export/chartexport.hxx index 584b448aed2c..a07a624d2b97 100644 --- a/include/oox/export/chartexport.hxx +++ b/include/oox/export/chartexport.hxx @@ -136,8 +136,8 @@ private: css::chart::XChartDocument >& rChartDoc ); void exportLegend( const css::uno::Reference< css::chart::XChartDocument >& rChartDoc ); - void exportTitle( const css::uno::Reference< - css::drawing::XShape >& xShape ); + void exportTitle( const css::uno::Reference< css::drawing::XShape >& xShape, + const OUString* pSubText = nullptr ); void exportPlotArea( const css::uno::Reference< css::chart::XChartDocument >& rChartDoc ); void exportFill( const css::uno::Reference< css::beans::XPropertySet >& xPropSet ); |