36#include <unonames.hxx>
41#include <com/sun/star/chart2/XAxis.hpp>
42#include <com/sun/star/awt/Point.hpp>
43#include <com/sun/star/drawing/XShape.hpp>
45#include <rtl/ustrbuf.hxx>
58using ::com::sun::star::uno::Reference;
59using ::com::sun::star::uno::Any;
70OUString lcl_createClassificationStringForType(
ObjectType eObjectType
71 , std::u16string_view rDragMethodServiceName
72 , std::u16string_view rDragParameterString
90 if( !rDragMethodServiceName.empty() )
96 if( !rDragParameterString.empty() )
103 return aRet.makeStringAndClear();
106typedef std::map< TitleHelper::eTitleType, OUString > tTitleMap;
107const tTitleMap& lcl_getTitleMap()
110 static tTitleMap s_aTitleMap{
125 const tTitleMap& rMap = lcl_getTitleMap();
126 tTitleMap::const_iterator aIt( rMap.find( aTitleType ) );
127 if( aIt != rMap.end())
128 aRet = (*aIt).second;
141 const std::vector< rtl::Reference< BaseCoordinateSystem > > & aCooSysList( xDiagram->getBaseCoordinateSystems() );
147 OUString aChartType = xChartType->getChartType();
155std::u16string_view lcl_getIndexStringAfterString( std::u16string_view rString, std::u16string_view rSearchString )
157 size_t nIndexStart = rString.rfind( rSearchString );
158 if( nIndexStart == std::u16string_view::npos )
159 return std::u16string_view();
160 nIndexStart += rSearchString.size();
161 size_t nIndexEnd = rString.size();
162 size_t nNextColon = rString.find(
':', nIndexStart );
163 if( nNextColon != std::u16string_view::npos )
164 nIndexEnd = nNextColon;
165 return rString.substr(nIndexStart,nIndexEnd-nIndexStart);
168sal_Int32 lcl_StringToIndex( std::u16string_view rIndexString )
171 if( !rIndexString.empty() )
180void lcl_parseCooSysIndices( sal_Int32& rnDiagram, sal_Int32& rnCooSys, std::u16string_view rString )
182 rnDiagram = lcl_StringToIndex( lcl_getIndexStringAfterString( rString, u
"D=" ) );
183 rnCooSys = lcl_StringToIndex( lcl_getIndexStringAfterString( rString, u
"CS=" ) );
186void lcl_parseAxisIndices( sal_Int32& rnDimensionIndex, sal_Int32& rnAxisIndex, std::u16string_view rString )
188 std::u16string_view aAxisIndexString = lcl_getIndexStringAfterString( rString, u
":Axis=" );
189 sal_Int32 nCharacterIndex=0;
190 rnDimensionIndex = lcl_StringToIndex(
o3tl::getToken(aAxisIndexString, 0,
',', nCharacterIndex ) );
191 rnAxisIndex = lcl_StringToIndex(
o3tl::getToken(aAxisIndexString, 0,
',', nCharacterIndex ) );
194void lcl_parseGridIndices( sal_Int32& rnSubGridIndex, std::u16string_view rString )
197 rnSubGridIndex = lcl_StringToIndex( lcl_getIndexStringAfterString( rString, u
":SubGrid=" ) );
200void lcl_parseSeriesIndices( sal_Int32& rnChartTypeIndex, sal_Int32& rnSeriesIndex, sal_Int32& rnPointIndex, std::u16string_view rString )
202 rnChartTypeIndex = lcl_StringToIndex( lcl_getIndexStringAfterString( rString, u
"CT=" ) );
203 rnSeriesIndex = lcl_StringToIndex( lcl_getIndexStringAfterString( rString, u
"Series=" ) );
204 rnPointIndex = lcl_StringToIndex( lcl_getIndexStringAfterString( rString, u
"Point=" ) );
207void lcl_getDiagramAndCooSys( std::u16string_view rObjectCID
212 sal_Int32 nDiagramIndex = -1;
213 sal_Int32 nCooSysIndex = -1;
214 lcl_parseCooSysIndices( nDiagramIndex, nCooSysIndex, rObjectCID );
215 xDiagram = xChartModel->getFirstChartDiagram();
219 if( nCooSysIndex > -1 )
221 const std::vector< rtl::Reference< BaseCoordinateSystem > > aCooSysList( xDiagram->getBaseCoordinateSystems() );
223 xCooSys = aCooSysList[nCooSysIndex];
234 :m_aObjectCID(
std::move( aObjectCID ))
239 : m_xAdditionalShape( rxShape )
245 const uno::Type& rType = rAny.getValueType();
269 bool bReturn =
false;
295 const std::u16string_view aObjectID;
296 const std::u16string_view aDragMethodServiceName;
297 const std::u16string_view aDragParameterString;
301 OUString aParentParticle = lcl_getTitleParentParticle( aTitleType );
303 eObjectType, aObjectID, aParentParticle, aDragMethodServiceName, aDragParameterString );
315 const std::u16string_view aObjectID;
316 OUString aParentParticle;
317 const std::u16string_view aDragMethodServiceName;
318 const std::u16string_view aDragParameterString;
339 sal_Int32 nDimensionIndex=-1;
340 sal_Int32 nAxisIndex=-1;
347 Reference< XLegend > xLegend( xObject, uno::UNO_QUERY );
354 Reference< XDiagram > xDiagram( xObject, uno::UNO_QUERY );
367 catch(
const uno::Exception&)
375 eObjectType, aObjectID, aParentParticle, aDragMethodServiceName, aDragParameterString );
379 OSL_FAIL(
"give object could not be identified in createClassifiedIdentifierForObject");
396 catch(
const uno::Exception&)
401 OSL_FAIL(
"give object could not be identified in createClassifiedIdentifierForObject");
418 sal_Int32 nDimensionIndex=-1;
419 sal_Int32 nAxisIndex=-1;
425 catch(
const uno::Exception&)
430 OSL_FAIL(
"give object could not be identified in createClassifiedIdentifierForObject");
436 std::u16string_view rParticle )
442 std::u16string_view rParentParticle
443 , std::u16string_view rChildParticle
444 , std::u16string_view rDragMethodServiceName
445 , std::u16string_view rDragParameterString )
452 lcl_createClassificationStringForType( eObjectType, rDragMethodServiceName, rDragParameterString ));
456 if(!rParentParticle.empty())
458 aRet.append(rParentParticle);
459 if( !rChildParticle.empty() )
462 aRet.append(rChildParticle);
464 return aRet.makeStringAndClear();
482 std::size_t nCooSysIndex = 0;
483 const std::vector< rtl::Reference< BaseCoordinateSystem > > & aCooSysList( xDiagram->getBaseCoordinateSystems() );
484 for( ; nCooSysIndex < aCooSysList.size(); ++nCooSysIndex )
486 if( xCooSys == aCooSysList[nCooSysIndex] )
498 sal_Int32 nDimensionIndex
499 , sal_Int32 nAxisIndex )
502 OUString::number( nDimensionIndex ) +
504 OUString::number( nAxisIndex );
508 sal_Int32 nDimensionIndex
509 , sal_Int32 nAxisIndex )
511 OUString aRet =
"Axis=" + OUString::number( nDimensionIndex )
512 +
"," + OUString::number( nAxisIndex ) +
":Grid=0";
520 , sal_Int32 nSubGridIndex )
527 if( nSubGridIndex >= 0 )
536 sal_Int32 nDiagramIndex, sal_Int32 nCooSysIndex
537 , sal_Int32 nChartTypeIndex, sal_Int32 nSeriesIndex )
540 "D=" + OUString::number( nDiagramIndex ) +
541 ":CS=" + OUString::number( nCooSysIndex ) +
542 ":CT=" + OUString::number( nChartTypeIndex ) +
544 OUString::number( nSeriesIndex );
563 , std::u16string_view rParticleID )
566 eObjectType, rParticleID,
u"" );
571 , std::u16string_view rParticleID
572 , std::u16string_view rParentPartical
573 , std::u16string_view rDragMethodServiceName
574 , std::u16string_view rDragParameterString
581 lcl_createClassificationStringForType( eObjectType, rDragMethodServiceName, rDragParameterString ));
584 aRet.append(rParentPartical);
585 if(!rParentPartical.empty())
590 return aRet.makeStringAndClear();
599 sal_Int32 nOffsetPercent
600 ,
const awt::Point& rMinimumPosition
601 ,
const awt::Point& rMaximumPosition )
603 OUString aRet = OUString::number( nOffsetPercent )
604 +
"," + OUString::number( rMinimumPosition.X )
605 +
"," + OUString::number( rMinimumPosition.Y )
606 +
"," + OUString::number( rMaximumPosition.X )
607 +
"," + OUString::number( rMaximumPosition.Y );
612 std::u16string_view rDragParameterString
613 , sal_Int32& rOffsetPercent
614 , awt::Point& rMinimumPosition
615 , awt::Point& rMaximumPosition )
617 sal_Int32 nCharacterIndex = 0;
619 std::u16string_view aValueString(
o3tl::getToken(rDragParameterString, 0,
',', nCharacterIndex ) );
621 if( nCharacterIndex < 0 )
624 aValueString =
o3tl::getToken(rDragParameterString, 0,
',', nCharacterIndex );
626 if( nCharacterIndex < 0 )
629 aValueString =
o3tl::getToken(rDragParameterString, 0,
',', nCharacterIndex );
631 if( nCharacterIndex < 0 )
634 aValueString =
o3tl::getToken(rDragParameterString, 0,
',', nCharacterIndex );
636 if( nCharacterIndex < 0 )
639 aValueString =
o3tl::getToken(rDragParameterString, 0,
',', nCharacterIndex );
641 return nCharacterIndex >= 0;
646 std::u16string_view aRet;
649 if( nIndexStart != std::u16string_view::npos )
651 nIndexStart = rCID.find(
'=', nIndexStart );
652 if( nIndexStart != std::u16string_view::npos )
655 size_t nNextSlash = rCID.find(
'/', nIndexStart );
656 if( nNextSlash != std::u16string_view::npos )
658 sal_Int32 nIndexEnd = nNextSlash;
659 size_t nNextColon = rCID.find(
':', nIndexStart );
660 if( nNextColon == std::u16string_view::npos || nNextColon < nNextSlash )
661 nIndexEnd = nNextColon;
662 aRet = rCID.substr(nIndexStart,nIndexEnd-nIndexStart);
671 std::u16string_view aRet;
674 if( nIndexStart != std::u16string_view::npos )
676 nIndexStart = rCID.find(
'=', nIndexStart );
677 if( nIndexStart != std::u16string_view::npos )
680 size_t nNextSlash = rCID.find(
'/', nIndexStart );
681 if( nNextSlash != std::u16string_view::npos )
683 sal_Int32 nIndexEnd = nNextSlash;
684 size_t nNextColon = rCID.find(
':', nIndexStart );
685 if( nNextColon == std::u16string_view::npos || nNextColon < nNextSlash )
686 nIndexEnd = nNextColon;
687 aRet = rCID.substr(nIndexStart,nIndexEnd-nIndexStart);
696 bool bReturn =
false;
698 switch( eObjectType )
710 bReturn = !aDragMethodServiceName.empty();
718 bool bReturn =
false;
732 bool bReturn =
false;
734 switch( eObjectType )
763 size_t nLastSign1 = rCID1.rfind(
'=' );
764 size_t nLastSign2 = rCID2.rfind(
'=' );
765 if( nLastSign1 == rCID1.find(
'=' ) )
767 else if( nLastSign2 == rCID2.find(
'=' ) )
774 if( !aParent1.empty() )
777 bRet=aParent1 == aParent2;
802 if( !aID1.isEmpty() && aID1 == aID2 )
811 switch( eObjectType )
838 aRet=
"AxisUnitLabel";
897 size_t nLastSign = aCID.rfind(
':' );
898 if(nLastSign == std::u16string_view::npos)
899 nLastSign = aCID.rfind(
'/' );
900 if(nLastSign == std::u16string_view::npos)
902 size_t nEndIndex = aCID.rfind(
'=' );
903 if(nEndIndex == std::u16string_view::npos)
910 aCID = aCID.substr(nLastSign);
982 std::u16string_view rSeriesParticle
983 , sal_Int32 nCurveIndex
984 ,
bool bAverageLine )
986 OUString aParticleID( OUString::number( nCurveIndex ) );
992 std::u16string_view rSeriesParticle
993 , sal_Int32 nCurveIndex )
995 OUString aParticleID( OUString::number( nCurveIndex ) );
1001 OUStringBuffer aRet(rParticle);
1003 if( !aRet.isEmpty() && !rChildParticle.empty() )
1005 if( !rChildParticle.empty() )
1006 aRet.append(rChildParticle);
1008 return aRet.makeStringAndClear();
1014 if( !aRet.isEmpty() )
1016 aRet.append(
"=" + OUString::number(
nIndex));
1018 return aRet.makeStringAndClear();
1023 const std::u16string_view aIndexString = lcl_getIndexStringAfterString( rParticleOrCID,
u"=" );
1024 return lcl_StringToIndex(
o3tl::getToken(aIndexString, 0,
',' ) );
1028 , std::u16string_view rSeriesParticle
1029 , std::u16string_view rDragMethodServiceName
1030 , std::u16string_view rDragParameterString )
1035 rSeriesParticle, aChildParticle
1036 , rDragMethodServiceName, rDragParameterString );
1041 return rPointCID_Stub + OUString::number(
nIndex );
1046 std::u16string_view aRet;
1047 size_t nLast = rCID.rfind(
'=');
1048 if(nLast != std::u16string_view::npos)
1049 aRet = rCID.substr(++nLast);
1055 std::u16string_view aRet;
1057 size_t nStartPos = rCID.rfind(
'/');
1058 if( nStartPos != std::u16string_view::npos )
1061 size_t nEndPos = rCID.rfind(
':');
1062 if( nEndPos != std::u16string_view::npos && nStartPos < nEndPos )
1064 aRet = rCID.substr(nStartPos,nEndPos-nStartPos);
1075 size_t nStartPos = rCID.rfind(
'/');
1076 if( nStartPos != std::u16string_view::npos )
1079 size_t nEndPos = rCID.size();
1080 aRet = rCID.substr(nStartPos,nEndPos-nStartPos);
1092 std::u16string_view rObjectCID
1096 if(rObjectCID.empty())
1098 if(!xChartModel.is())
1109 lcl_getDiagramAndCooSys( rObjectCID, xChartModel, xDiagram, xCooSys );
1115 xObjectProperties.set( xChartModel->getPageBackground() );
1122 xObjectProperties = xTitle;
1128 xObjectProperties.set( xDiagram->getLegend(), uno::UNO_QUERY );
1135 xObjectProperties = xDiagram;
1141 xObjectProperties.set( xDiagram->getWall() );
1147 xObjectProperties.set( xDiagram->getFloor() );
1152 sal_Int32 nDimensionIndex = -1;
1153 sal_Int32 nAxisIndex = -1;
1154 lcl_parseAxisIndices( nDimensionIndex, nAxisIndex, rObjectCID );
1159 xObjectProperties = xAxis;
1167 sal_Int32 nDimensionIndex = -1;
1168 sal_Int32 nAxisIndex = -1;
1169 lcl_parseAxisIndices( nDimensionIndex, nAxisIndex, rObjectCID );
1171 sal_Int32 nSubGridIndex = -1;
1172 lcl_parseGridIndices( nSubGridIndex, rObjectCID );
1181 rObjectCID, xChartModel ) );
1183 xObjectProperties = xSeries;
1191 rObjectCID, xChartModel );
1195 xObjectProperties = xSeries->getDataPointByIndex(
nIndex );
1204 rObjectCID, xChartModel );
1215 errorBar =
"ErrorBarZ";
1217 xSeries->getPropertyValue( errorBar ) >>= xErrorBarProp;
1218 xObjectProperties = xErrorBarProp;
1227 rObjectCID, xChartModel );
1228 if(xRegressionContainer.is())
1231 const std::vector< rtl::Reference< RegressionCurveModel > > & aCurveList =
1232 xRegressionContainer->getRegressionCurves2();
1236 xObjectProperties = aCurveList[
nIndex]->getEquationProperties();
1238 xObjectProperties = aCurveList[
nIndex];
1249 xChartType->getPropertyValue(
"BlackDay" ) >>= xObjectProperties;
1256 xChartType->getPropertyValue(
"WhiteDay" ) >>= xObjectProperties;
1262 xObjectProperties.set(xDiagram->getDataTable(), uno::UNO_QUERY);
1270 catch(
const uno::Exception&)
1274 return xObjectProperties;
1278 std::u16string_view rObjectCID
1283 lcl_getDiagramAndCooSys( rObjectCID, xChartModel, xDiagram, xCooSys );
1285 sal_Int32 nDimensionIndex = -1;
1286 sal_Int32 nAxisIndex = -1;
1287 lcl_parseAxisIndices( nDimensionIndex, nAxisIndex, rObjectCID );
1293 std::u16string_view rObjectCID
1298 lcl_getDiagramAndCooSys( rObjectCID, xChartModel, xDiagram, xCooSys );
1300 sal_Int32 nChartTypeIndex = -1;
1301 sal_Int32 nSeriesIndex = -1;
1302 sal_Int32 nPointIndex = -1;
1303 lcl_parseSeriesIndices( nChartTypeIndex, nSeriesIndex, nPointIndex, rObjectCID );
1309 if( xDataSeriesContainer.is() )
1311 const std::vector< rtl::Reference< DataSeries > > & aDataSeriesSeq( xDataSeriesContainer->getDataSeries2() );
1313 xSeries = aDataSeriesSeq[nSeriesIndex];
1320 std::u16string_view rObjectCID
1325 lcl_getDiagramAndCooSys( rObjectCID, xChartModel, xDiagram, xCooSys );
1335 const tTitleMap& rMap = lcl_getTitleMap();
1336 tTitleMap::const_iterator aIt = std::find_if(rMap.begin(), rMap.end(),
1337 [&aParentParticle](tTitleMap::const_reference rEntry) { return aParentParticle == rEntry.second; });
1338 if (aIt != rMap.end())
1339 eRet = (*aIt).first;
1346 sal_Int32 nDiagramIndex = -1;
1347 sal_Int32 nCooSysIndex = -1;
1348 lcl_parseCooSysIndices( nDiagramIndex, nCooSysIndex, rCID );
1350 sal_Int32 nChartTypeIndex = -1;
1351 sal_Int32 nSeriesIndex = -1;
1352 sal_Int32 nPointIndex = -1;
1353 lcl_parseSeriesIndices( nChartTypeIndex, nSeriesIndex, nPointIndex, rCID );
1360 sal_Int32 nDiagramIndex = lcl_StringToIndex( lcl_getIndexStringAfterString( rObjectCID,
u"CID/D=" ) );
1361 sal_Int32 nCooSysIndex = lcl_StringToIndex( lcl_getIndexStringAfterString( rObjectCID,
u"CS=" ) );
1362 sal_Int32 nChartTypeIndex = lcl_StringToIndex( lcl_getIndexStringAfterString( rObjectCID,
u"CT=" ) );
1363 sal_Int32 nSeriesIndex = lcl_StringToIndex( lcl_getIndexStringAfterString( rObjectCID,
u"Series=" ) );
static rtl::Reference< ::chart::BaseCoordinateSystem > getCoordinateSystemOfAxis(const rtl::Reference< ::chart::Axis > &xAxis, const rtl::Reference< ::chart::Diagram > &xDiagram)
static rtl::Reference< ::chart::Axis > getAxis(sal_Int32 nDimensionIndex, bool bMainAxis, const rtl::Reference< ::chart::Diagram > &xDiagram)
static rtl::Reference< ::chart::GridProperties > getGridProperties(const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys, sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex, sal_Int32 nSubGridIndex)
static bool getIndicesForAxis(const rtl::Reference< ::chart::Axis > &xAxis, const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys, sal_Int32 &rOutDimensionIndex, sal_Int32 &rOutAxisIndex)
bool isAutoGeneratedObject() const
static SAL_DLLPRIVATE OUString createParticleForDiagram()
static OUString createClassifiedIdentifierForParticle(std::u16string_view rParticle)
static OUString createParticleForCoordinateSystem(const rtl::Reference< ::chart::BaseCoordinateSystem > &xCooSys, const rtl::Reference<::chart::ChartModel > &xChartModel)
static bool areSiblings(std::u16string_view rCID1, std::u16string_view rCID2)
static OUString getSeriesParticleFromCID(std::u16string_view rCID)
static OUString createDataCurveEquationCID(std::u16string_view rSeriesParticle, sal_Int32 nCurveIndex)
bool operator==(const ObjectIdentifier &rOID) const
static OUString createParticleForLegend(const rtl::Reference<::chart::ChartModel > &xChartModel)
css::uno::Any getAny() const
static bool isCID(std::u16string_view rName)
bool isDragableObject() const
css::uno::Reference< css::drawing::XShape > m_xAdditionalShape
static rtl::Reference< ::chart::DataSeries > getDataSeriesForCID(std::u16string_view rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartModel)
static bool isMultiClickObject(std::u16string_view rClassifiedIdentifier)
static OUString createChildParticleWithIndex(ObjectType eObjectType, sal_Int32 nIndex)
static OUString getStringForType(ObjectType eObjectType)
const OUString & getObjectCID() const
static TitleHelper::eTitleType getTitleTypeForCID(std::u16string_view rCID)
static OUString createDataCurveCID(std::u16string_view rSeriesParticle, sal_Int32 nCurveIndex, bool bAverageLine)
bool operator!=(const ObjectIdentifier &rOID) const
static bool isRotateableObject(std::u16string_view rClassifiedIdentifier)
static std::u16string_view getParticleID(std::u16string_view rCID)
static OUString createClassifiedIdentifier(enum ObjectType eObjectType, std::u16string_view rParticleID)
bool isAdditionalShape() const
const css::uno::Reference< css::drawing::XShape > & getAdditionalShape() const
static css::uno::Reference< css::beans::XPropertySet > getObjectPropertySet(std::u16string_view rObjectCID, const rtl::Reference< ::chart::ChartModel > &xChartDocument)
static OUString createClassifiedIdentifierForParticles(std::u16string_view rParentParticle, std::u16string_view rChildParticle, std::u16string_view rDragMethodServiceName=std::u16string_view(), std::u16string_view rDragParameterString=std::u16string_view())
bool operator<(const ObjectIdentifier &rOID) const
static bool areIdenticalObjects(std::u16string_view rCID1, std::u16string_view rCID2)
static rtl::Reference< ::chart::Axis > getAxisForCID(std::u16string_view rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartModel)
static OUString createParticleForAxis(sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex)
static std::u16string_view getDragParameterString(std::u16string_view rCID)
static OUString createParticleForDataTable(const rtl::Reference<::chart::ChartModel > &xChartModel)
Creates an identifier for the data table.
static sal_Int32 getIndexFromParticleOrCID(std::u16string_view rParticleOrCID)
static OUString getMovedSeriesCID(std::u16string_view rObjectCID, bool bForward)
static OUString createPieSegmentDragParameterString(sal_Int32 nOffsetPercent, const css::awt::Point &rMinimumPosition, const css::awt::Point &rMaximumPosition)
static OUString addChildParticle(std::u16string_view rParticle, std::u16string_view rChildParticle)
static OUString createSeriesSubObjectStub(ObjectType eSubObjectType, std::u16string_view rSeriesParticle, std::u16string_view rDragMethodServiceName=std::u16string_view(), std::u16string_view rDragParameterString=std::u16string_view())
static rtl::Reference< ::chart::Diagram > getDiagramForCID(std::u16string_view rObjectCID, const rtl::Reference<::chart::ChartModel > &xChartModel)
static OUString createClassifiedIdentifierWithParent(enum ObjectType, std::u16string_view rParticleID, std::u16string_view rParentPartical, std::u16string_view rDragMethodServiceName=std::u16string_view(), std::u16string_view rDragParameterString=std::u16string_view())
static OUString createParticleForGrid(sal_Int32 nDimensionIndex, sal_Int32 nAxisIndex)
static OUString createPointCID(std::u16string_view rPointCID_Stub, sal_Int32 nIndex)
static OUString createParticleForSeries(sal_Int32 nDiagramIndex, sal_Int32 nCooSysIndex, sal_Int32 nChartTypeIndex, sal_Int32 nSeriesIndex)
static std::u16string_view getFullParentParticle(std::u16string_view rCID)
static std::u16string_view getDragMethodServiceName(std::u16string_view rClassifiedIdentifier)
static bool parsePieSegmentDragParameterString(std::u16string_view rDragParameterString, sal_Int32 &rOffsetPercent, css::awt::Point &rMinimumPosition, css::awt::Point &rMaximumPosition)
static const OUString & getPieSegmentDragMethodServiceName()
static OUString createClassifiedIdentifierForGrid(const css::uno::Reference< css::chart2::XAxis > &xAxis, const rtl::Reference<::chart::ChartModel > &xChartModel, sal_Int32 nSubIndex=-1)
ObjectType getObjectType() const
static SAL_DLLPRIVATE OUString getObjectID(std::u16string_view rCID)
static OUString createClassifiedIdentifierForObject(const css::uno::Reference< css::uno::XInterface > &xObject, const rtl::Reference<::chart::ChartModel > &xChartModel)
static rtl::Reference< ::chart::Title > getTitle(eTitleType nTitleIndex, ChartModel &rModel)
static bool getTitleType(eTitleType &rType, const rtl::Reference< ::chart::Title > &xTitle, const rtl::Reference< ::chart::ChartModel > &xModel)
#define DBG_UNHANDLED_EXCEPTION(...)
constexpr OUStringLiteral m_aProtocol
constexpr OUStringLiteral m_aMultiClick
constexpr OUStringLiteral m_aDragMethodEquals
@ OBJECTTYPE_LEGEND_ENTRY
@ OBJECTTYPE_DATA_ERRORS_X
@ OBJECTTYPE_DATA_STOCK_LOSS
@ OBJECTTYPE_DIAGRAM_FLOOR
@ OBJECTTYPE_DATA_STOCK_RANGE
@ OBJECTTYPE_DATA_ERRORS_Y
@ OBJECTTYPE_AXIS_UNITLABEL
@ OBJECTTYPE_DATA_CURVE_EQUATION
@ OBJECTTYPE_DATA_STOCK_GAIN
@ OBJECTTYPE_DATA_AVERAGE_LINE
@ OBJECTTYPE_DATA_ERRORS_Z
@ OBJECTTYPE_DIAGRAM_WALL
const OUString m_aPieSegmentDragMethodServiceName("PieSegmentDragging")
constexpr OUStringLiteral m_aDragParameterEquals
constexpr std::enable_if_t< std::is_signed_v< T >, std::make_unsigned_t< T > > make_unsigned(T value)
sal_Int32 toInt32(std::u16string_view str, sal_Int16 radix=10)
constexpr bool starts_with(std::basic_string_view< charT, traits > sv, std::basic_string_view< charT, traits > x) noexcept
std::basic_string_view< charT, traits > getToken(std::basic_string_view< charT, traits > sv, charT delimiter, std::size_t &position)
constexpr OUStringLiteral CHART2_SERVICE_NAME_CHARTTYPE_CANDLESTICK
constexpr OUStringLiteral CHART_UNONAME_ERRORBAR_Y
constexpr OUStringLiteral CHART_UNONAME_ERRORBAR_X