40 , sal_Int32 nDimensionCount )
41 :
VPolarAxis( rAxisProperties, xNumberFormatsSupplier, 0, nDimensionCount )
71 *pColorAny >>= nColor;
80 ; pTickInfo = rTickIter.
nextInfo(), nTick++ )
83 if( nTick%rAxisLabelProperties.
m_nRhythm != 0)
87 if( !pTickInfo->bPaintIt )
94 if(!pTickInfo->xTextShape.is())
97 bool bHasExtraColor=
false;
103 sal_Int32
nIndex =
static_cast< sal_Int32
>(pTickInfo->getUnscaledTickValue()) - 1;
108 aLabel = aFixedNumberFormatter.
getFormattedString( pTickInfo->getUnscaledTickValue(), nExtraColor, bHasExtraColor );
111 *pColorAny <<= bHasExtraColor?nExtraColor:nColor;
113 double fLogicAngle = pTickInfo->getUnscaledTickValue();
119 eLabelAlignment, fLogicAngle, fLogicRadius, fLogicZ, nScreenValueOffsetInRadiusDirection ));
159 double fLogicRadius =
m_pPosHelper->getOuterLogicRadius();
174 double const fLogicZ = 1.0;
176 , aAxisLabelProperties
177 , fLogicRadius, fLogicZ
188 double fLogicRadius =
m_pPosHelper->getOuterLogicRadius();
189 double const fLogicZ = 1.0;
192 drawing::PointSequenceSequence aPoints(1);
virtual TickInfo * nextInfo() override
virtual TickInfo * firstInfo() override
static void changeTextAdjustment(tAnySequence &rPropValues, const tNameSequence &rPropNames, LabelAlignment eAlignment)
static void doDynamicFontResize(tAnySequence &rPropValues, const tNameSequence &rPropNames, const css::uno::Reference< css::beans::XPropertySet > &xAxisModelProps, const css::awt::Size &rNewReferenceSize)
css::awt::Point getLabelScreenPositionAndAlignmentForLogicValues(LabelAlignment &rAlignment, double fLogicValueOnAngleAxis, double fLogicValueOnRadiusAxis, double fLogicZ, sal_Int32 nScreenValueOffsetInRadiusDirection) const
static css::uno::Any * getValuePointer(tAnySequence &rPropValues, const tNameSequence &rPropNames, std::u16string_view rPropName)
static void getTextLabelMultiPropertyLists(const css::uno::Reference< css::beans::XPropertySet > &xSourceProp, tNameSequence &rPropNames, tAnySequence &rPropValues, bool bName=true, sal_Int32 nLimitedSpace=-1, bool bLimitedHeight=false, bool bSupportsLabelBorder=true)
static void setShapeName(const rtl::Reference< SvxShape > &xShape, const OUString &rName)
static OUString getStackedString(const OUString &rString, bool bStacked)
static rtl::Reference< SvxShapeText > createText(const rtl::Reference< SvxShapeGroupAnyD > &xTarget2D, const OUString &rText, const tNameSequence &rPropNames, const tAnySequence &rPropValues, const css::uno::Any &rATransformation)
static rtl::Reference< SvxShapePolyPolygon > createLine2D(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, const css::drawing::PointSequenceSequence &rPoints, const VLineProperties *pLineProperties=nullptr)
static css::uno::Any makeTransformation(const css::awt::Point &rScreenPosition2D, double fRotationAnglePi=0.0)
AxisLabelProperties m_aAxisLabelProperties
AxisProperties m_aAxisProperties
css::uno::Sequence< OUString > m_aTextLabels
virtual bool prepareShapeCreation()
css::uno::Reference< css::util::XNumberFormatsSupplier > m_xNumberFormatsSupplier
void removeTextShapesFromTicks()
void updateUnscaledValuesAtTicks(TickIter &rIter)
rtl::Reference< SvxShapeGroupAnyD > m_xTextTarget
rtl::Reference< SvxShapeGroupAnyD > m_xGroupShape_Shapes
TickInfoArraysType m_aAllTickInfos
This typically consists of 2 TickInfo vectors (i.e.
ExplicitScaleData m_aScale
ExplicitIncrementData m_aIncrement
virtual ~VPolarAngleAxis() override
virtual void createMaximumLabels() override
VPolarAngleAxis(const AxisProperties &rAxisProperties, const css::uno::Reference< css::util::XNumberFormatsSupplier > &xNumberFormatsSupplier, sal_Int32 nDimensionCount)
void createTextShapes_ForAngleAxis(const rtl::Reference< SvxShapeGroupAnyD > &xTarget, EquidistantTickIter &rTickIter, AxisLabelProperties const &rAxisLabelProperties, double fLogicRadius, double fLogicZ)
virtual void createLabels() override
virtual void updatePositions() override
virtual void createShapes() override
std::unique_ptr< PolarPlottingPositionHelper > m_pPosHelper
static void createLinePointSequence_ForAngleAxis(css::drawing::PointSequenceSequence &rPoints, TickInfoArraysType &rAllTickInfos, const ExplicitIncrementData &rIncrement, const ExplicitScaleData &rScale, PolarPlottingPositionHelper const *pPosHelper, double fLogicRadius, double fLogicZ)
constexpr ::Color COL_AUTO(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
Reference< XInterface > xTarget
double getLength(const B2DPolygon &rCandidate)
constexpr double deg2rad(double v)
css::uno::Sequence< OUString > tNameSequence
css::uno::Sequence< css::uno::Any > tAnySequence
std::unique_ptr< uint8_t[]> pLabels
const PropertyStruct aPropNames[]
css::awt::Size m_aFontReferenceSize
sal_Int32 m_nNumberFormatKey
double m_fRotationAngleDegree
css::awt::Rectangle m_aMaximumSpaceForLabels
VLineProperties m_aLineProperties
rtl::Reference<::chart::Axis > m_xAxisModel