LibreOffice Module oox (master)  1
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at .
18  */
23 #include <oox/drawingml/shape.hxx>
26 namespace oox::drawingml::chart {
29 {
35  ShapeRef mxShapeProp;
36  TextBodyRef mxTextProp;
37  LayoutRef mxLayout;
38  TextRef mxText;
39  double mfCustomUnit;
40  OUString mnBuiltInUnit;
42  explicit AxisDispUnitsModel();
44 };
46 struct AxisModel
47 {
53  ShapeRef mxShapeProp;
54  TextBodyRef mxTextProp;
55  TitleRef mxTitle;
56  AxisDispUnitsRef mxDispUnits;
57  ShapeRef mxMajorGridLines;
58  ShapeRef mxMinorGridLines;
67  sal_Int32 mnAxisId;
68  sal_Int32 mnAxisPos;
69  sal_Int32 mnCrossAxisId;
70  sal_Int32 mnCrossBetween;
71  sal_Int32 mnCrossMode;
72  sal_Int32 mnLabelAlign;
73  sal_Int32 mnLabelOffset;
74  sal_Int32 mnMajorTickMark;
75  sal_Int32 mnMajorTimeUnit;
76  sal_Int32 mnMinorTickMark;
77  sal_Int32 mnMinorTimeUnit;
78  sal_Int32 mnOrientation;
79  sal_Int32 mnTickLabelPos;
80  sal_Int32 mnTickLabelSkip;
81  sal_Int32 mnTickMarkSkip;
82  sal_Int32 mnTypeId;
83  bool mbAuto;
84  bool mbDeleted;
87  explicit AxisModel( sal_Int32 nTypeId, bool bMSO2007Doc );
88  ~AxisModel();
89 };
91 } // namespace oox::drawingml::chart
93 #endif
95 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sal_Int32 mnMinorTickMark
Time unit for major tick marks on date axis.
Definition: axismodel.hxx:76
LayoutRef mxLayout
Label text formatting.
Definition: axismodel.hxx:37
sal_Int32 mnAxisId
Base time unit shown on a date axis.
Definition: axismodel.hxx:67
bool mbAuto
Type identifier of this axis.
Definition: axismodel.hxx:83
sal_Int32 mnTickMarkSkip
Number of tick mark labels to skip.
Definition: axismodel.hxx:81
TextRef mxText
Layout/position of the axis units label.
Definition: axismodel.hxx:38
TitleRef mxTitle
Axis label text formatting.
Definition: axismodel.hxx:55
OptValue< double > mofMin
Maximum axis value.
Definition: axismodel.hxx:65
sal_Int32 mnAxisPos
Unique axis identifier.
Definition: axismodel.hxx:68
OptValue< sal_Int32 > monBaseTimeUnit
Minimum axis value.
Definition: axismodel.hxx:66
bool mbNoMultiLevel
True = axis has been deleted manually.
Definition: axismodel.hxx:85
TextBodyRef mxTextProp
Axis line formatting.
Definition: axismodel.hxx:54
ModelRef< TextBody > TextBodyRef
Definition: axismodel.hxx:49
NumberFormat maNumberFormat
Minor grid lines formatting.
Definition: axismodel.hxx:59
bool mbDeleted
True = automatic selection of text/date axis type.
Definition: axismodel.hxx:84
sal_Int32 mnOrientation
Time unit for minor tick marks on date axis.
Definition: axismodel.hxx:78
AxisDispUnitsRef mxDispUnits
Axis title.
Definition: axismodel.hxx:56
sal_Int32 mnTickLabelSkip
Position of tick mark labels relative to the axis.
Definition: axismodel.hxx:80
sal_Int32 mnCrossAxisId
Position of the axis (top/bottom/left/right).
Definition: axismodel.hxx:69
ShapeRef mxMajorGridLines
Axis units label.
Definition: axismodel.hxx:57
sal_Int32 mnLabelAlign
Mode this axis crosses another axis (min, max, auto).
Definition: axismodel.hxx:72
OptValue< double > mofMajorUnit
Position on this axis where another axis crosses.
Definition: axismodel.hxx:61
sal_Int32 mnCrossMode
This value axis crosses between or inside category.
Definition: axismodel.hxx:71
OptValue< double > mofCrossesAt
Number format for axis tick labels.
Definition: axismodel.hxx:60
Built-in unit on value axis.
Definition: axismodel.cxx:25
sal_Int32 mnLabelOffset
Tick mark label alignment.
Definition: axismodel.hxx:73
sal_Int32 mnMajorTickMark
Tick mark label distance from axis.
Definition: axismodel.hxx:74
OptValue< double > mofMinorUnit
Unit for major tick marks on date/value axis.
Definition: axismodel.hxx:62
OUString mnBuiltInUnit
Custom unit size on value axis.
Definition: axismodel.hxx:40
ModelRef< TitleModel > TitleRef
Definition: axismodel.hxx:50
sal_Int32 mnCrossBetween
Identifier of a crossing axis.
Definition: axismodel.hxx:70
TextBodyRef mxTextProp
Label frame formatting.
Definition: axismodel.hxx:36
sal_Int32 mnTypeId
Number of tick marks to skip.
Definition: axismodel.hxx:82
OptValue< double > mofMax
Logarithmic base for logarithmic axes.
Definition: axismodel.hxx:64
sal_Int32 mnMinorTimeUnit
Minor tick mark style.
Definition: axismodel.hxx:77
sal_Int32 mnTickLabelPos
Axis orientation (value order min to max, or max to min).
Definition: axismodel.hxx:79
ModelRef< AxisDispUnitsModel > AxisDispUnitsRef
Definition: axismodel.hxx:51
double mfCustomUnit
Text source of the axis units label.
Definition: axismodel.hxx:39
OptValue< double > mofLogBase
Unit for minor tick marks on date/value axis.
Definition: axismodel.hxx:63
ShapeRef mxMinorGridLines
Major grid lines formatting.
Definition: axismodel.hxx:58
sal_Int32 mnMajorTimeUnit
Major tick mark style.
Definition: axismodel.hxx:75
AxisModel(sal_Int32 nTypeId, bool bMSO2007Doc)
True = no multi-level categories supported.
Definition: axismodel.cxx:34