diff options
Diffstat (limited to 'include/oox/drawingml')
-rw-r--r-- | include/oox/drawingml/chart/axisconverter.hxx | 15 | ||||
-rw-r--r-- | include/oox/drawingml/chart/axismodel.hxx | 2 |
2 files changed, 16 insertions, 1 deletions
diff --git a/include/oox/drawingml/chart/axisconverter.hxx b/include/oox/drawingml/chart/axisconverter.hxx index e107057ad5d4..7224b97fa508 100644 --- a/include/oox/drawingml/chart/axisconverter.hxx +++ b/include/oox/drawingml/chart/axisconverter.hxx @@ -33,6 +33,21 @@ namespace chart { // ============================================================================ +struct AxisDispUnitsModel; + +class AxisDispUnitsConverter : public ConverterBase< AxisDispUnitsModel > +{ +public: + explicit AxisDispUnitsConverter( + const ConverterRoot& rParent, + AxisDispUnitsModel& rModel ); + virtual ~AxisDispUnitsConverter(); + + /** Creates a chart2 axis and inserts it into the passed coordinate system. */ + void convertFromModel( + const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XAxis >& rxAxis); +}; + struct AxisModel; class TypeGroupConverter; diff --git a/include/oox/drawingml/chart/axismodel.hxx b/include/oox/drawingml/chart/axismodel.hxx index dd543d057746..d29af7fedfa3 100644 --- a/include/oox/drawingml/chart/axismodel.hxx +++ b/include/oox/drawingml/chart/axismodel.hxx @@ -41,7 +41,7 @@ struct AxisDispUnitsModel LayoutRef mxLayout; /// Layout/position of the axis units label. TextRef mxText; /// Text source of the axis units label. double mfCustomUnit; /// Custom unit size on value axis. - sal_Int32 mnBuiltInUnit; /// Built-in unit on value axis. + OUString mnBuiltInUnit; /// Built-in unit on value axis. explicit AxisDispUnitsModel(); ~AxisDispUnitsModel(); |