Lines Matching refs:chart2
54 using namespace ::com::sun::star::chart2;
65 class lcl_MatchesRole : public ::std::unary_function< Reference< chart2::data::XLabeledDataSequence…
73 bool operator () ( const Reference< chart2::data::XLabeledDataSequence > & xSeq ) const in operator ()()
97 Reference< chart2::data::XLabeledDataSequence > lcl_findLSequenceWithOnlyLabel( in lcl_findLSequenceWithOnlyLabel()
98 const Reference< chart2::data::XDataSource > & xDataSource ) in lcl_findLSequenceWithOnlyLabel()
100 Reference< chart2::data::XLabeledDataSequence > xResult; in lcl_findLSequenceWithOnlyLabel()
101 …Sequence< Reference< chart2::data::XLabeledDataSequence > > aSequences( xDataSource->getDataSequen… in lcl_findLSequenceWithOnlyLabel()
120 const Reference< chart2::XDataSeries > & xSeries, in lcl_getCooSysAndChartTypeOfSeries()
121 const Reference< chart2::XDiagram > & xDiagram, in lcl_getCooSysAndChartTypeOfSeries()
122 Reference< chart2::XCoordinateSystem > & xOutCooSys, in lcl_getCooSysAndChartTypeOfSeries()
123 Reference< chart2::XChartType > & xOutChartType ) in lcl_getCooSysAndChartTypeOfSeries()
125 Reference< chart2::XCoordinateSystemContainer > xCooSysCnt( xDiagram, uno::UNO_QUERY ); in lcl_getCooSysAndChartTypeOfSeries()
128 …Sequence< Reference< chart2::XCoordinateSystem > > aCooSysSeq( xCooSysCnt->getCoordinateSystems()); in lcl_getCooSysAndChartTypeOfSeries()
131 … Reference< chart2::XChartTypeContainer > xCTCnt( aCooSysSeq[nCooSysIdx], uno::UNO_QUERY_THROW ); in lcl_getCooSysAndChartTypeOfSeries()
132 Sequence< Reference< chart2::XChartType > > aChartTypes( xCTCnt->getChartTypes()); in lcl_getCooSysAndChartTypeOfSeries()
135 … Reference< chart2::XDataSeriesContainer > xSeriesCnt( aChartTypes[nCTIdx], uno::UNO_QUERY ); in lcl_getCooSysAndChartTypeOfSeries()
138 … Sequence< Reference< chart2::XDataSeries > > aSeries( xSeriesCnt->getDataSeries()); in lcl_getCooSysAndChartTypeOfSeries()
153 void lcl_insertOrDeleteDataLabelsToSeriesAndAllPoints( const Reference< chart2::XDataSeries >& xSer… in lcl_insertOrDeleteDataLabelsToSeriesAndAllPoints()
206 OUString GetRole( const uno::Reference< chart2::data::XLabeledDataSequence >& xLabeledDataSequence ) in GetRole()
218 Reference< chart2::data::XLabeledDataSequence >
220 const Reference< chart2::data::XDataSource > & xSource, OUString aRole, in getDataSequenceByRole()
223 Reference< chart2::data::XLabeledDataSequence > aNoResult; in getDataSequenceByRole()
226 …Sequence< Reference< chart2::data::XLabeledDataSequence > > aLabeledSeq( xSource->getDataSequences… in getDataSequenceByRole()
228 const Reference< chart2::data::XLabeledDataSequence > * pBegin = aLabeledSeq.getConstArray(); in getDataSequenceByRole()
229 const Reference< chart2::data::XLabeledDataSequence > * pEnd = pBegin + aLabeledSeq.getLength(); in getDataSequenceByRole()
230 const Reference< chart2::data::XLabeledDataSequence > * pMatch = in getDataSequenceByRole()
239 ::std::vector< Reference< chart2::data::XLabeledDataSequence > >
240 …getAllDataSequencesByRole( const Sequence< Reference< chart2::data::XLabeledDataSequence > > & aDa… in getAllDataSequencesByRole()
243 ::std::vector< Reference< chart2::data::XLabeledDataSequence > > aResultVec; in getAllDataSequencesByRole()
250 Reference< chart2::data::XDataSource >
251 getDataSource( const Sequence< Reference< chart2::XDataSeries > > & aSeries ) in getDataSource()
253 ::std::vector< Reference< chart2::data::XLabeledDataSequence > > aSeqVec; in getDataSource()
257 Reference< chart2::data::XDataSource > xSource( aSeries[ i ], uno::UNO_QUERY ); in getDataSource()
260 … Sequence< Reference< chart2::data::XLabeledDataSequence > > aSeq( xSource->getDataSequences()); in getDataSource()
266 return Reference< chart2::data::XDataSource >( in getDataSource()
272 OUString lcl_getDataSequenceLabel( const Reference< chart2::data::XDataSequence > & xSequence ) in lcl_getDataSequenceLabel()
276 Reference< chart2::data::XTextualDataSequence > xTextSeq( xSequence, uno::UNO_QUERY ); in lcl_getDataSequenceLabel()
325 const Reference< chart2::data::XLabeledDataSequence > & xLabeledSeq ) in getLabelForLabeledDataSequence()
330 Reference< chart2::data::XDataSequence > xSeq( xLabeledSeq->getLabel()); in getLabelForLabeledDataSequence()
336 Reference< chart2::data::XDataSequence > xValueSeq( xLabeledSeq->getValues() ); in getLabelForLabeledDataSequence()
340 chart2::data::LabelOrigin_SHORT_SIDE ) ); in getLabelForLabeledDataSequence()
360 const Reference< chart2::XDataSeries > & xSeries, in getDataSeriesLabel()
365 Reference< chart2::data::XDataSource > xSource( xSeries, uno::UNO_QUERY ); in getDataSeriesLabel()
368 Reference< chart2::data::XLabeledDataSequence > xLabeledSeq( in getDataSeriesLabel()
379 Reference< chart2::data::XDataSequence > xSeq( xLabeledSeq->getLabel()); in getDataSeriesLabel()
391 const Sequence< Reference< chart2::XDataSeries > > & aSeries, in setStackModeAtSeries()
392 const Reference< chart2::XCoordinateSystem > & xCorrespondingCoordinateSystem, in setStackModeAtSeries()
402 ? chart2::StackingDirection_Y_STACKING in setStackModeAtSeries()
404 ? chart2::StackingDirection_Z_STACKING in setStackModeAtSeries()
405 : chart2::StackingDirection_NO_STACKING ); in setStackModeAtSeries()
442 Reference< chart2::XAxis > xAxis( in setStackModeAtSeries()
447 chart2::ScaleData aScaleData = xAxis->getScaleData(); in setStackModeAtSeries()
449 if( bPercent != (aScaleData.AxisType==chart2::AxisType::PERCENT) ) in setStackModeAtSeries()
452 aScaleData.AxisType = chart2::AxisType::PERCENT; in setStackModeAtSeries()
454 aScaleData.AxisType = chart2::AxisType::REALNUMBER; in setStackModeAtSeries()
462 sal_Int32 getAttachedAxisIndex( const Reference< chart2::XDataSeries > & xSeries ) in getAttachedAxisIndex()
481 const Reference< chart2::XDataSeries > & xSeries, in getNumberFormatKeyFromAxis()
482 const Reference< chart2::XCoordinateSystem > & xCorrespondingCoordinateSystem, in getNumberFormatKeyFromAxis()
504 Reference< chart2::XCoordinateSystem > getCoordinateSystemOfSeries( in getCoordinateSystemOfSeries()
505 const Reference< chart2::XDataSeries > & xSeries, in getCoordinateSystemOfSeries()
506 const Reference< chart2::XDiagram > & xDiagram ) in getCoordinateSystemOfSeries()
508 Reference< chart2::XCoordinateSystem > xResult; in getCoordinateSystemOfSeries()
509 Reference< chart2::XChartType > xDummy; in getCoordinateSystemOfSeries()
515 Reference< chart2::XChartType > getChartTypeOfSeries( in getChartTypeOfSeries()
516 const Reference< chart2::XDataSeries > & xSeries, in getChartTypeOfSeries()
517 const Reference< chart2::XDiagram > & xDiagram ) in getChartTypeOfSeries()
519 Reference< chart2::XChartType > xResult; in getChartTypeOfSeries()
520 Reference< chart2::XCoordinateSystem > xDummy; in getChartTypeOfSeries()
527 const Reference< chart2::XDataSeries > & xSeries, in deleteSeries()
528 const Reference< chart2::XChartType > & xChartType ) in deleteSeries()
532 Reference< chart2::XDataSeriesContainer > xSeriesCnt( xChartType, uno::UNO_QUERY_THROW ); in deleteSeries()
533 ::std::vector< Reference< chart2::XDataSeries > > aSeries( in deleteSeries()
535 ::std::vector< Reference< chart2::XDataSeries > >::iterator aIt = in deleteSeries()
555 chart2::Symbol aSymbProp; in switchSymbolsOnOrOff()
559 aSymbProp.Style = chart2::SymbolStyle_NONE; in switchSymbolsOnOrOff()
560 else if( aSymbProp.Style == chart2::SymbolStyle_NONE ) in switchSymbolsOnOrOff()
562 aSymbProp.Style = chart2::SymbolStyle_STANDARD; in switchSymbolsOnOrOff()
604 void setPropertyAlsoToAllAttributedDataPoints( const Reference< chart2::XDataSeries >& xSeries, in setPropertyAlsoToAllAttributedDataPoints()
625 bool hasAttributedDataPointDifferentValue( const Reference< chart2::XDataSeries >& xSeries, in hasAttributedDataPointDifferentValue()
648 bool areAllSeriesAttachedToSameAxis( const uno::Reference< chart2::XChartType >& xChartType, sal_In… in areAllSeriesAttachedToSameAxis()
652 …uno::Reference< chart2::XDataSeriesContainer > xDataSeriesContainer( xChartType, uno::UNO_QUERY_TH… in areAllSeriesAttachedToSameAxis()
653 …uno::Sequence< uno::Reference< chart2::XDataSeries > > aSeriesSeq( xDataSeriesContainer->getDataSe… in areAllSeriesAttachedToSameAxis()
662 uno::Reference< chart2::XDataSeries > xSeries( aSeriesSeq[nI], uno::UNO_QUERY ); in areAllSeriesAttachedToSameAxis()
689 bool lcl_SequenceHasUnhiddenData( const uno::Reference< chart2::data::XDataSequence >& xDataSequenc… in lcl_SequenceHasUnhiddenData()
716 bool hasUnhiddenData( const uno::Reference< chart2::XDataSeries >& xSeries ) in hasUnhiddenData()
718 uno::Reference< chart2::data::XDataSource > xDataSource = in hasUnhiddenData()
719 uno::Reference< chart2::data::XDataSource >( xSeries, uno::UNO_QUERY ); in hasUnhiddenData()
721 …uno::Sequence< uno::Reference< chart2::data::XLabeledDataSequence > > aDataSequences = xDataSource… in hasUnhiddenData()
743 sal_Int32 translateIndexFromHiddenToFullSequence( sal_Int32 nIndex, const Reference< chart2::data::… in translateIndexFromHiddenToFullSequence()
777 bool hasDataLabelsAtSeries( const Reference< chart2::XDataSeries >& xSeries ) in hasDataLabelsAtSeries()
797 bool hasDataLabelsAtPoints( const Reference< chart2::XDataSeries >& xSeries ) in hasDataLabelsAtPoints()
830 bool hasDataLabelAtPoint( const Reference< chart2::XDataSeries >& xSeries, sal_Int32 nPointIndex ) in hasDataLabelAtPoint()
864 void insertDataLabelsToSeriesAndAllPoints( const Reference< chart2::XDataSeries >& xSeries ) in insertDataLabelsToSeriesAndAllPoints()
869 void deleteDataLabelsFromSeriesAndAllPoints( const Reference< chart2::XDataSeries >& xSeries ) in deleteDataLabelsFromSeriesAndAllPoints()