LibreOffice Module chart2 (master) 1
Namespaces | Typedefs | Functions
VCartesianAxis.cxx File Reference
#include "VCartesianAxis.hxx"
#include <PlottingPositionHelper.hxx>
#include <ShapeFactory.hxx>
#include <PropertyMapper.hxx>
#include <NumberFormatterWrapper.hxx>
#include <LabelPositionHelper.hxx>
#include <BaseGFXHelper.hxx>
#include <Axis.hxx>
#include <AxisHelper.hxx>
#include "Tickmarks_Equidistant.hxx"
#include <ExplicitCategoriesProvider.hxx>
#include <com/sun/star/chart2/AxisType.hpp>
#include <o3tl/safeint.hxx>
#include <rtl/math.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <tools/color.hxx>
#include <svx/unoshape.hxx>
#include <svx/unoshtxt.hxx>
#include <VSeriesPlotter.hxx>
#include <DataTableView.hxx>
#include <ChartModel.hxx>
#include <comphelper/scopeguard.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/polygon/b2dpolygonclipper.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/numeric/ftools.hxx>
#include <algorithm>
#include <limits>
#include <memory>
Include dependency graph for VCartesianAxis.cxx:

Go to the source code of this file.

Namespaces

namespace  chart
 

Typedefs

typedef std::vector< VCartesianAxis::ScreenPosAndLogicPos > chart::tScreenPosAndLogicPosList
 

Functions

static void chart::lcl_ResizeTextShapeToFitAvailableSpace (SvxShapeText &rShape2DText, const AxisLabelProperties &rAxisLabelProperties, std::u16string_view rLabel, const tNameSequence &rPropNames, const tAnySequence &rPropValues, const bool bIsHorizontalAxis)
 
static rtl::Reference< SvxShapeTextchart::createSingleLabel (const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const awt::Point &rAnchorScreenPosition2D, const OUString &rLabel, const AxisLabelProperties &rAxisLabelProperties, const AxisProperties &rAxisProperties, const tNameSequence &rPropNames, const tAnySequence &rPropValues, const bool bIsHorizontalAxis)
 
static bool chart::lcl_doesShapeOverlapWithTickmark (SvxShape &rShape, double fRotationAngleDegree, const basegfx::B2DVector &rTickScreenPosition)
 
static void chart::lcl_getRotatedPolygon (B2DPolygon &aPoly, const ::basegfx::B2DRectangle &aRect, const awt::Point &aPos, const double fRotationAngleDegree)
 
static bool chart::doesOverlap (const rtl::Reference< SvxShapeText > &xShape1, const rtl::Reference< SvxShapeText > &xShape2, double fRotationAngleDegree)
 
static void chart::removeShapesAtWrongRhythm (TickIter &rIter, sal_Int32 nCorrectRhythm, sal_Int32 nMaxTickToCheck, const rtl::Reference< SvxShapeGroupAnyD > &xTarget)
 
static B2DVector chart::lcl_getLabelsDistance (TickIter &rIter, const B2DVector &rDistanceTickToText, double fRotationAngleDegree)
 
static void chart::lcl_shiftLabels (TickIter &rIter, const B2DVector &rStaggerDistance)
 
static bool chart::lcl_hasWordBreak (const rtl::Reference< SvxShapeText > &xShape)
 
static OUString chart::getTextLabelString (const FixedNumberFormatter &rFixedNumberFormatter, const uno::Sequence< OUString > *pCategories, const TickInfo *pTickInfo, bool bComplexCat, Color &rExtraColor, bool &rHasExtraColor)
 
static void chart::getAxisLabelProperties (tNameSequence &rPropNames, tAnySequence &rPropValues, const AxisProperties &rAxisProp, const AxisLabelProperties &rAxisLabelProp, sal_Int32 nLimitedSpaceForText, bool bLimitedHeight)
 
static void chart::lcl_hideIdenticalScreenValues (TickIter &rTickIter)
 

Variable Documentation

◆ m_aPureTickIter

PureTickIter m_aPureTickIter
private

Definition at line 255 of file VCartesianAxis.cxx.

◆ m_aValidIndices

std::vector<size_t> m_aValidIndices
private

Definition at line 467 of file VCartesianAxis.cxx.

◆ m_bInnerLine

bool m_bInnerLine
private

Definition at line 257 of file VCartesianAxis.cxx.

◆ m_eAxisLabelStaggering

const AxisLabelStaggering m_eAxisLabelStaggering
private

Definition at line 256 of file VCartesianAxis.cxx.

◆ m_nCurrentIndex

size_t m_nCurrentIndex
private

Definition at line 468 of file VCartesianAxis.cxx.

◆ m_rTickInfoVector

TickInfoArrayType& m_rTickInfoVector
private

Definition at line 466 of file VCartesianAxis.cxx.