summaryrefslogtreecommitdiff
path: root/chart2/source/inc/chartview/ExplicitScaleValues.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/inc/chartview/ExplicitScaleValues.hxx')
-rw-r--r--chart2/source/inc/chartview/ExplicitScaleValues.hxx39
1 files changed, 19 insertions, 20 deletions
diff --git a/chart2/source/inc/chartview/ExplicitScaleValues.hxx b/chart2/source/inc/chartview/ExplicitScaleValues.hxx
index 731d4c087a91..504ff4481e1b 100644
--- a/chart2/source/inc/chartview/ExplicitScaleValues.hxx
+++ b/chart2/source/inc/chartview/ExplicitScaleValues.hxx
@@ -16,25 +16,25 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CHART2_SOURCE_INC_CHARTVIEW_EXPLICITSCALEVALUES_HXX
-#define INCLUDED_CHART2_SOURCE_INC_CHARTVIEW_EXPLICITSCALEVALUES_HXX
+#pragma once
-#include <chartview/chartviewdllapi.hxx>
#include <com/sun/star/chart/TimeInterval.hpp>
#include <com/sun/star/chart2/AxisOrientation.hpp>
#include <com/sun/star/chart2/XScaling.hpp>
#include <tools/date.hxx>
#include <vector>
-namespace com::sun::star::chart2 { class XScaling; }
+namespace com::sun::star::chart2
+{
+class XScaling;
+}
namespace chart
{
-
/** This structure contains the explicit values for a scale like Minimum and Maximum.
See also css::chart2::ScaleData.
*/
-struct OOO_DLLPUBLIC_CHARTVIEW ExplicitScaleData
+struct ExplicitScaleData
{
ExplicitScaleData();
@@ -42,14 +42,14 @@ struct OOO_DLLPUBLIC_CHARTVIEW ExplicitScaleData
double Maximum;
double Origin;
- css::chart2::AxisOrientation Orientation;
+ css::chart2::AxisOrientation Orientation;
- css::uno::Reference< css::chart2::XScaling > Scaling;
+ css::uno::Reference<css::chart2::XScaling> Scaling;
- sal_Int32 AxisType;//see css::chart2::AxisType
- bool ShiftedCategoryPosition;
- sal_Int32 TimeResolution; //constant of type <type>css::chart::TimeUnit</type>
- Date NullDate;
+ sal_Int32 AxisType; //see css::chart2::AxisType
+ bool m_bShiftedCategoryPosition;
+ sal_Int32 TimeResolution; //constant of type <type>css::chart::TimeUnit</type>
+ Date NullDate;
};
struct ExplicitSubIncrement
@@ -72,14 +72,14 @@ struct ExplicitSubIncrement
/** describes how tickmarks are positioned on the scale of an axis.
*/
-struct OOO_DLLPUBLIC_CHARTVIEW ExplicitIncrementData
+struct ExplicitIncrementData
{
ExplicitIncrementData();
/** the following two members are only for date-time axis
*/
- css::chart::TimeInterval MajorTimeInterval;
- css::chart::TimeInterval MinorTimeInterval;
+ css::chart::TimeInterval MajorTimeInterval;
+ css::chart::TimeInterval MinorTimeInterval;
/** the other members are for *not* date-time axis
*/
@@ -104,7 +104,7 @@ struct OOO_DLLPUBLIC_CHARTVIEW ExplicitIncrementData
<p><member>PostEquidistant</member> rules whether the <member>Distance</member>
is meant to be a value before or after scaling.</p>
*/
- double Distance;
+ double Distance;
/**
<member>PostEquidistant</member> rules whether the member <member>Distance</member>
@@ -116,7 +116,7 @@ struct OOO_DLLPUBLIC_CHARTVIEW ExplicitIncrementData
If <member>PostEquidistant</member> equals <FALSE/> <member>Distance</member>
is given in values before <type>XScaling</type> is applied.</p>
*/
- bool PostEquidistant;
+ bool PostEquidistant;
/** The <member>BaseValue</member> gives a starting point on the scale
to which all further main tickmarks are relatively positioned.
@@ -134,7 +134,7 @@ struct OOO_DLLPUBLIC_CHARTVIEW ExplicitIncrementData
And setting BaseValue to 2, -2, 4, -4 etc. in this example
leads to the same result as BaseValue=0.</p>
*/
- double BaseValue;
+ double BaseValue;
/** <member>SubIncrements</member> describes the positioning of further
sub tickmarks on the scale of an axis.
@@ -145,10 +145,9 @@ struct OOO_DLLPUBLIC_CHARTVIEW ExplicitIncrementData
positions of subsequent tickmarks in relation to their parent tickmarks
given by the preceding SubIncrement.</p>
*/
- std::vector< ExplicitSubIncrement > SubIncrements;
+ std::vector<ExplicitSubIncrement> SubIncrements;
};
} //namespace chart
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */