67 sal_Int32 nFoundAxisIndex = aFound->second.second;
68 if (nFoundAxisIndex < nAxisIndex)
70 sal_Int32 nFoundDimension = aFound->second.first;
71 if (nFoundDimension == 1)
73 if (nFoundDimension < nDimensionIndex)
82 sal_Int32 nCurrentMaxIndex = aIter->second;
83 if (nCurrentMaxIndex < nAxisIndex)
93 std::vector<VCoordinateSystem*> aRet;
97 if (coordinateSystem.second.first != nDimensionIndex)
99 if (coordinateSystem.second.second != nAxisIndex)
101 aRet.push_back(coordinateSystem.first);
112 nRet = aIter->second;
117 sal_Int32 nAxisIndex)
121 pVCoordinateSystem->prepareAutomaticAxisScaling(rScaleAutomatism, nDimIndex,
131 pVCoordinateSystem->setExplicitScaleAndIncrement(nDimIndex, nAxisIndex, rScale, rInc);
This class handles a collection of coordinate systems and is used for executing some action on all co...
std::vector< VCoordinateSystem * > getCoordinateSystems(sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex)
void setExplicitScaleAndIncrement(sal_Int32 nDimIndex, sal_Int32 nAxisIndex, const ExplicitScaleData &rScale, const ExplicitIncrementData &rInc)
std::map< sal_Int32, sal_Int32 > aMaxIndexPerDimension
void addCoordinateSystem(VCoordinateSystem *pCooSys, sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex)
ScaleAutomatism aAutoScaling
tCoordinateSystemMap aCoordinateSystems
sal_Int32 getMaxAxisIndexForDimension(sal_Int32 nDimensionIndex)
void prepareAutomaticAxisScaling(ScaleAutomatism &rScaleAutomatism, sal_Int32 nDimIndex, sal_Int32 nAxisIndex)
This class implements the calculation of automatic axis limits.
std::pair< sal_Int32, sal_Int32 > tFullAxisIndex
std::map< VCoordinateSystem *, tFullAxisIndex > tCoordinateSystemMap
describes how tickmarks are positioned on the scale of an axis.
This structure contains the explicit values for a scale like Minimum and Maximum.