Lines Matching refs:chart2
346 Reference< chart2::XAxis > lcl_getAxis( const Reference< frame::XModel >& xChartModel, in lcl_getAxis()
349 Reference< chart2::XAxis > xAxis; in lcl_getAxis()
353 Reference< chart2::XChartDocument > xChart2Document( xChartModel, uno::UNO_QUERY ); in lcl_getAxis()
356 Reference< chart2::XDiagram > xDiagram( xChart2Document->getFirstDiagram()); in lcl_getAxis()
357 … Reference< chart2::XCoordinateSystemContainer > xCooSysCnt( xDiagram, uno::UNO_QUERY_THROW ); in lcl_getAxis()
358 uno::Sequence< Reference< chart2::XCoordinateSystem > > in lcl_getAxis()
363 Reference< chart2::XCoordinateSystem > xCooSys( aCooSysSeq[nCooSysIndex] ); in lcl_getAxis()
394 bool lcl_AdaptWrongPercentScaleValues(chart2::ScaleData& rScaleData) in lcl_AdaptWrongPercentScaleValues()
511 Reference< chart2::XAxis > xAxis( lcl_getAxis( GetImport().GetModel(), in CreateAxis()
515 chart2::ScaleData aScaleData( xAxis->getScaleData()); in CreateAxis()
533 Reference< chart2::XAxis > xAxis( lcl_getAxis( GetImport().GetModel(), in CreateAxis()
537 chart2::ScaleData aScaleData; in CreateAxis()
538 aScaleData.AxisType = chart2::AxisType::CATEGORY; in CreateAxis()
539 aScaleData.Orientation = chart2::AxisOrientation_MATHEMATICAL; in CreateAxis()
558 … Reference< chart2::XChartDocument > xChart2Document( GetImport().GetModel(), uno::UNO_QUERY ); in CreateAxis()
561 …Reference< chart2::XCoordinateSystemContainer > xCooSysCnt( xChart2Document->getFirstDiagram(), un… in CreateAxis()
564 …uno::Sequence< Reference< chart2::XCoordinateSystem > > aCooSysSeq( xCooSysCnt->getCoordinateSyste… in CreateAxis()
568 … Reference< chart2::XCoordinateSystem > xCooSys( aCooSysSeq[0] ); in CreateAxis()
573 … Reference< chart2::XAxis > xAxis = xCooSys->getAxisByDimension( 0, m_aCurrentAxis.nAxisIndex ); in CreateAxis()
576 … chart2::ScaleData aScaleData = xAxis->getScaleData(); in CreateAxis()
577 … aScaleData.Orientation = chart2::AxisOrientation_REVERSE; in CreateAxis()
727 …Reference< chart2::XAxis > xAxis( lcl_getAxis( GetImport().GetModel(), m_aCurrentAxis.eDimension, … in EndElement()
730 chart2::ScaleData aScaleData( xAxis->getScaleData()); in EndElement()
744 Reference< chart2::XAxis > lcl_getAxis( const Reference< chart2::XCoordinateSystem > xCooSys, sal_I… in lcl_getAxis()
746 Reference< chart2::XAxis > xAxis; in lcl_getAxis()
759 void SchXMLAxisContext::CorrectAxisPositions( const Reference< chart2::XChartDocument >& xNewDoc, in CorrectAxisPositions()
770 …Reference< chart2::XCoordinateSystemContainer > xCooSysCnt( xNewDoc->getFirstDiagram(), uno::UNO_Q… in CorrectAxisPositions()
771 …uno::Sequence< Reference< chart2::XCoordinateSystem > > aCooSysSeq( xCooSysCnt->getCoordinateSyste… in CorrectAxisPositions()
774 Reference< chart2::XCoordinateSystem > xCooSys( aCooSysSeq[0] ); in CorrectAxisPositions()
777 Reference< chart2::XAxis > xMainXAxis = lcl_getAxis( xCooSys, 0, 0 ); in CorrectAxisPositions()
778 Reference< chart2::XAxis > xMainYAxis = lcl_getAxis( xCooSys, 1, 0 ); in CorrectAxisPositions()
780 Reference< chart2::XAxis > xSecondaryXAxis = lcl_getAxis( xCooSys, 0, 1 ); in CorrectAxisPositions()
781 Reference< chart2::XAxis > xSecondaryYAxis = lcl_getAxis( xCooSys, 1, 1 ); in CorrectAxisPositions()
790 chart2::ScaleData aMainXScale = xMainXAxis->getScaleData(); in CorrectAxisPositions()
800 if( aMainXScale.Orientation == chart2::AxisOrientation_REVERSE ) in CorrectAxisPositions()
823 if( aMainXScale.Orientation == chart2::AxisOrientation_REVERSE ) in CorrectAxisPositions()
841 chart2::ScaleData aMainYScale = xMainYAxis->getScaleData(); in CorrectAxisPositions()
849 if( aMainYScale.Orientation == chart2::AxisOrientation_REVERSE ) in CorrectAxisPositions()
910 Reference< chart2::XChartDocument > xNewDoc( GetImport().GetModel(), uno::UNO_QUERY ); in StartElement()