summaryrefslogtreecommitdiff
path: root/oox/inc/drawingml
diff options
context:
space:
mode:
authorTünde Tóth <toth.tunde@nisz.hu>2020-11-23 15:05:24 +0100
committerLászló Németh <nemeth@numbertext.org>2020-11-24 10:44:54 +0100
commit21620f9d2f50e66dffc45a5afb539edb8d54434c (patch)
treecb1f5ebdefb9053ac987b058f42c6094420249bc /oox/inc/drawingml
parent3be5e428d669accd841949662d601a6f6e1cdb3f (diff)
tdf#138194 Chart OOXML import: set text break to true
of rotated category axis label, if the rotation is 90 or 270 degree and the inner size of the chart is not fixed. Change-Id: I02e1fd940af8a277435aa46d4ad93a42b6723710 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106422 Tested-by: Jenkins Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'oox/inc/drawingml')
-rw-r--r--oox/inc/drawingml/chart/axisconverter.hxx2
-rw-r--r--oox/inc/drawingml/chart/objectformatter.hxx5
2 files changed, 1 insertions, 6 deletions
diff --git a/oox/inc/drawingml/chart/axisconverter.hxx b/oox/inc/drawingml/chart/axisconverter.hxx
index 6cebc008c3fd..6efa3af6262e 100644
--- a/oox/inc/drawingml/chart/axisconverter.hxx
+++ b/oox/inc/drawingml/chart/axisconverter.hxx
@@ -60,7 +60,7 @@ public:
void convertFromModel(
const css::uno::Reference<css::chart2::XCoordinateSystem>& rxCoordSystem,
RefVector<TypeGroupConverter>& rTypeGroups, const AxisModel* pCrossingAxis,
- sal_Int32 nAxesSetIdx, sal_Int32 nAxisIdx );
+ sal_Int32 nAxesSetIdx, sal_Int32 nAxisIdx, bool bUseFixedInnerSize );
};
diff --git a/oox/inc/drawingml/chart/objectformatter.hxx b/oox/inc/drawingml/chart/objectformatter.hxx
index 06cece4fe02c..9498f0484d50 100644
--- a/oox/inc/drawingml/chart/objectformatter.hxx
+++ b/oox/inc/drawingml/chart/objectformatter.hxx
@@ -142,11 +142,6 @@ public:
/** Returns true, if the passed shape properties have automatic fill mode. */
static bool isAutomaticFill( const ModelRef< Shape >& rxShapeProp );
- /** Returns true, if the X Axis label rotation is 0 degree. */
- static bool getTextRotation(
- const ModelRef< TextBody >& rxTextProp,
- sal_Int32 nDefaultRotation = 0 );
-
private:
std::shared_ptr< ObjectFormatterData > mxData;
};