/trunk/main/chart2/source/tools/ |
H A D | AxisHelper.cxx | 345 OSL_ASSERT( xAxis.is()); in createAxis() 346 if( xAxis.is()) in createAxis() 395 return xAxis; in createAxis() 433 OSL_ASSERT( xAxis.is()); in showAxis() 450 if(!xAxis.is()) in showGrid() 454 if(!xAxis.is()) in showGrid() 511 if( xCurrentAxis==xAxis ) in hideAxisIfNoDataIsAttached() 532 if(!xAxis.is()) in hideGrid() 563 if(!xAxis.is()) in isGridShown() 712 if( xAxis.is() ) in getGridProperties() [all …]
|
H A D | DiagramHelper.cxx | 177 if( xAxis.is() ) in setVertical() 296 if( xAxis.is()) in setStackMode() 449 if( xAxis.is()) in getStackModeFromChartType() 821 OSL_ASSERT( xAxis.is()); in lcl_getAxisHoldingCategoriesFromDiagram() 822 if( xAxis.is()) in lcl_getAxisHoldingCategoriesFromDiagram() 868 OSL_ASSERT( xAxis.is()); in isCategoryDiagram() 869 if( xAxis.is()) in isCategoryDiagram() 1030 if( !xAxis.is() ) in lcl_switchToDateCategories() 1103 xAxis->setScaleData( aScale ); in lcl_switchToDateCategories() 1108 if( !xAxis.is() ) in lcl_switchToTextCategories() [all …]
|
H A D | RangeHighlighter.cxx | 150 …Reference< chart2::XAxis > xAxis( ObjectIdentifier::getObjectPropertySet( aCID, xChartModel ), uno… in determineRanges() local 151 if( xAxis.is()) in determineRanges() 153 fillRangesForCategories( xAxis ); in determineRanges() 256 void RangeHighlighter::fillRangesForCategories( const Reference< chart2::XAxis > & xAxis ) in fillRangesForCategories() argument 258 if( ! xAxis.is()) in fillRangesForCategories() 260 chart2::ScaleData aData( xAxis->getScaleData()); in fillRangesForCategories()
|
/trunk/main/xmloff/source/chart/ |
H A D | SchXMLAxisContext.cxx | 150 Reference< chart::XAxis > xAxis; in lcl_getChartAxis() local 153 return xAxis; in lcl_getChartAxis() 158 return xAxis; in lcl_getChartAxis() 169 if( !xDiaProp.is() || !xAxis.is() ) in getTitleShape() 203 if( !xDiaProp.is() || !xAxis.is() ) in CreateGrid() 349 Reference< chart2::XAxis > xAxis; in lcl_getAxis() local 378 return xAxis; in lcl_getAxis() 601 if( !xAxis.is() ) in SetAxisTitle() 728 if( xAxis.is() ) in EndElement() 746 Reference< chart2::XAxis > xAxis; in lcl_getAxis() local [all …]
|
/trunk/main/chart2/source/controller/chartapiwrapper/ |
H A D | WrappedScaleProperty.cxx | 154 OSL_ENSURE(xAxis.is(),"need an XAxis"); in setPropertyValue() 155 if(!xAxis.is()) in setPropertyValue() 160 chart2::ScaleData aScaleData( xAxis->getScaleData() ); in setPropertyValue() 352 xAxis->setScaleData( aScaleData ); in setPropertyValue() 361 OSL_ENSURE(xAxis.is(),"need an XAxis"); in getPropertyValue() 362 if(!xAxis.is()) in getPropertyValue() 365 chart2::ScaleData aScaleData( xAxis->getScaleData() ); in getPropertyValue() 378 xAxis, aExplicitScale, aExplicitIncrement ); in getPropertyValue() 389 xAxis, aExplicitScale, aExplicitIncrement ); in getPropertyValue() 401 xAxis, aExplicitScale, aExplicitIncrement ); in getPropertyValue() [all …]
|
H A D | DiagramWrapper.cxx | 904 return xAxis; in getAxis() 923 return xAxis; in getSecondaryAxis() 932 if( xAxis.is() ) in getZAxisTitle() 942 if( xAxis.is() ) in getZMainGrid() 952 if( xAxis.is() ) in getZHelpGrid() 982 if( xAxis.is() ) in getXAxisTitle() 1000 if( xAxis.is() ) in getXMainGrid() 1010 if( xAxis.is() ) in getXHelpGrid() 1032 if( xAxis.is() ) in getYAxisTitle() 1050 if( xAxis.is() ) in getYMainGrid() [all …]
|
H A D | Chart2ModelContact.cxx | 144 const Reference< XAxis > & xAxis, in getExplicitValuesForAxis() 152 xAxis, rOutExplicitScale, rOutExplicitIncrement ); in getExplicitValuesForAxis() 158 const Reference< chart2::XAxis >& xAxis ) in getExplicitNumberFormatKeyForAxis() 162 xAxis, ChartModelHelper::findDiagram( m_xChartModel ) ) ); in getExplicitNumberFormatKeyForAxis() 164 return ExplicitValueProvider::getExplicitNumberFormatKeyForAxis( xAxis, xCooSys in getExplicitNumberFormatKeyForAxis() 289 ::com::sun::star::chart2::XAxis > & xAxis ) const in GetAxisSize() 293 if( pProvider && xAxis.is() ) in GetAxisSize() 295 …rtl::OUString aCID( ObjectIdentifier::createClassifiedIdentifierForObject( xAxis, m_xChartModel ) … in GetAxisSize() 302 ::com::sun::star::chart2::XAxis > & xAxis ) const in GetAxisPosition() 306 if( pProvider && xAxis.is() ) in GetAxisPosition() [all …]
|
H A D | Chart2ModelContact.hxx | 77 ::com::sun::star::chart2::XAxis > & xAxis, 82 const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XAxis >& xAxis ); 133 ::com::sun::star::chart2::XAxis > & xAxis ) const; 138 ::com::sun::star::chart2::XAxis > & xAxis ) const;
|
/trunk/main/chart2/source/view/axes/ |
H A D | VCartesianCoordinateSystem.cxx | 93 … Reference< XAxis > xAxis( AxisHelper::getAxis( nDimensionIndex, nAxisIndex, m_xCooSysModel ) ); in createGridShapes() local 94 if(!xAxis.is() || !AxisHelper::shouldAxisBeDisplayed( xAxis, m_xCooSysModel )) in createGridShapes() 97 VCartesianGrid aGrid(nDimensionIndex,nDimensionCount,this->getGridListFromAxis( xAxis )); in createGridShapes() 103 , this->createCIDForGrid( xAxis,nDimensionIndex,nAxisIndex ) ); in createGridShapes() 135 Reference< XAxis > xAxis = this->getAxisByDimension(nDimensionIndex,nAxisIndex); in createVAxisList() local 136 if(!xAxis.is() || !AxisHelper::shouldAxisBeDisplayed( xAxis, m_xCooSysModel )) in createVAxisList() 139 AxisProperties aAxisProperties(xAxis,this->getExplicitCategoriesProvider()); in createVAxisList() 143 … Reference< XAxis > xCrossingMainAxis( AxisHelper::getCrossingMainAxis( xAxis, m_xCooSysModel ) ); in createVAxisList() 163 …aAxisProperties.m_nNumberFormatKey = this->getNumberFormatKeyForAxis( xAxis, xNumberFormatsSupplie… in createVAxisList()
|
H A D | VPolarCoordinateSystem.cxx | 94 Reference< XAxis > xAxis( this->getAxisByDimension(nDimensionIndex,nAxisIndex) ); in createVAxisList() local 95 if(!xAxis.is() || !AxisHelper::shouldAxisBeDisplayed( xAxis, m_xCooSysModel )) in createVAxisList() 97 AxisProperties aAxisProperties(xAxis,this->getExplicitCategoriesProvider()); in createVAxisList() 100 …aAxisProperties.m_nNumberFormatKey = this->getNumberFormatKeyForAxis( xAxis, xNumberFormatsSupplie… in createVAxisList() 181 … Reference< XAxis > xAxis( AxisHelper::getAxis( nDimensionIndex, nAxisIndex, m_xCooSysModel ) ); in createGridShapes() local 182 if(!xAxis.is() || !AxisHelper::shouldAxisBeDisplayed( xAxis, m_xCooSysModel )) in createGridShapes() 185 VPolarGrid aGrid(nDimensionIndex,nDimensionCount,this->getGridListFromAxis( xAxis )); in createGridShapes() 188 , this->createCIDForGrid( xAxis, nDimensionIndex, nAxisIndex ) ); in createGridShapes()
|
H A D | VCoordinateSystem.cxx | 229 …< beans::XPropertySet > > VCoordinateSystem::getGridListFromAxis( const Reference< XAxis >& xAxis ) in getGridListFromAxis() argument 233 if( xAxis.is() ) in getGridListFromAxis() 235 aRet.push_back( xAxis->getGridProperties() ); in getGridListFromAxis() 236 …ce< beans::XPropertySet > > aSubGrids( ContainerHelper::SequenceToVector( xAxis->getSubGridPropert… in getGridListFromAxis() 590 const Reference< chart2::XAxis >& xAxis in getNumberFormatKeyForAxis() 594 xAxis, m_xCooSysModel, xNumberFormatsSupplier ); in getNumberFormatKeyForAxis()
|
/trunk/main/chart2/source/model/template/ |
H A D | PieChartTypeTemplate.cxx | 258 if( xAxis.is() ) in adaptScales() 260 chart2::ScaleData aScaleData( xAxis->getScaleData() ); in adaptScales() 263 xAxis->setScaleData( aScaleData ); in adaptScales() 270 if( xAxis.is() ) in adaptScales() 272 chart2::ScaleData aScaleData( xAxis->getScaleData() ); in adaptScales() 274 xAxis->setScaleData( aScaleData ); in adaptScales() 576 if( xAxis.is() ) in resetStyles() 578 chart2::ScaleData aScaleData( xAxis->getScaleData() ); in resetStyles() 580 xAxis->setScaleData( aScaleData ); in resetStyles() 584 if( xAxis.is() ) in resetStyles() [all …]
|
H A D | ChartTypeTemplate.cxx | 578 if( xAxis.is()) in createCoordinateSystems() 579 AxisHelper::makeGridVisible( xAxis->getGridProperties() ); in createCoordinateSystems() 609 if( xAxis.is()) in createCoordinateSystems() 647 if( xAxis.is()) in adaptScales() 649 ScaleData aData( xAxis->getScaleData() ); in adaptScales() 666 xAxis->setScaleData( aData ); in adaptScales() 677 if( xAxis.is()) in adaptScales() 688 xAxis->setScaleData( aScaleData ); in adaptScales() 729 if( !xAxis.is()) in createAxes() 732 xAxis.set( AxisHelper::createAxis( in createAxes() [all …]
|
H A D | NetChartType.cxx | 78 Reference< XAxis > xAxis( xResult->getAxisByDimension( 0, MAIN_AXIS_INDEX ) ); in createCoordinateSystem() local 79 if( xAxis.is() ) in createCoordinateSystem() 81 ScaleData aScaleData = xAxis->getScaleData(); in createCoordinateSystem() 85 xAxis->setScaleData( aScaleData ); in createCoordinateSystem() 88 xAxis = xResult->getAxisByDimension( 1, MAIN_AXIS_INDEX ); in createCoordinateSystem() 89 if( xAxis.is() ) in createCoordinateSystem() 91 ScaleData aScaleData = xAxis->getScaleData(); in createCoordinateSystem() 94 xAxis->setScaleData( aScaleData ); in createCoordinateSystem()
|
H A D | BubbleChartType.cxx | 150 Reference< chart2::XAxis > xAxis( xResult->getAxisByDimension( i, MAIN_AXIS_INDEX ) ); in createCoordinateSystem() local 151 if( !xAxis.is() ) in createCoordinateSystem() 157 chart2::ScaleData aScaleData = xAxis->getScaleData(); in createCoordinateSystem() 166 xAxis->setScaleData( aScaleData ); in createCoordinateSystem()
|
H A D | PieChartType.cxx | 179 Reference< chart2::XAxis > xAxis( xResult->getAxisByDimension( i, MAIN_AXIS_INDEX ) ); in createCoordinateSystem() local 180 if( !xAxis.is() ) in createCoordinateSystem() 188 chart2::ScaleData aScaleData = xAxis->getScaleData(); in createCoordinateSystem() 200 xAxis->setScaleData( aScaleData ); in createCoordinateSystem()
|
/trunk/main/chart2/source/controller/main/ |
H A D | ChartController_Insert.cxx | 814 if( xAxis.is() ) in executeDispatch_InsertAxis() 816 AxisHelper::makeAxisVisible( xAxis ); in executeDispatch_InsertAxis() 836 if( xAxis.is() ) in executeDispatch_DeleteAxis() 838 AxisHelper::makeAxisInvisible( xAxis ); in executeDispatch_DeleteAxis() 858 if( xAxis.is() ) in executeDispatch_InsertMajorGrid() 860 AxisHelper::makeGridVisible( xAxis->getGridProperties() ); in executeDispatch_InsertMajorGrid() 880 if( xAxis.is() ) in executeDispatch_DeleteMajorGrid() 882 AxisHelper::makeGridInvisible( xAxis->getGridProperties() ); in executeDispatch_DeleteMajorGrid() 902 if( xAxis.is() ) in executeDispatch_InsertMinorGrid() 904 Sequence< Reference< beans::XPropertySet > > aSubGrids( xAxis->getSubGridProperties() ); in executeDispatch_InsertMinorGrid() [all …]
|
H A D | ChartController_Properties.cxx | 388 uno::Reference< XAxis > xAxis( AxisHelper::getAxis( nDimensionIndex, bMainAxis, xDiagram ) ); in lcl_getAxisCIDForCommand() local 389 return ObjectIdentifier::createClassifiedIdentifierForObject( xAxis, xChartModel ); in lcl_getAxisCIDForCommand() 430 uno::Reference< XAxis > xAxis( AxisHelper::getAxis( nDimensionIndex, bMainAxis, xDiagram ) ); in lcl_getGridCIDForCommand() local 433 …rtl::OUString aCID( ObjectIdentifier::createClassifiedIdentifierForGrid( xAxis, xChartModel, nSubG… in lcl_getGridCIDForCommand() 611 Reference< XAxis > xAxis = ObjectIdentifier::getAxisForCID( rSelectedCID, xChartModel ); in lcl_getObjectCIDForCommand() local 612 return ObjectIdentifier::createClassifiedIdentifierForObject( xAxis , xChartModel ); in lcl_getObjectCIDForCommand() 623 Reference< XAxis > xAxis = ObjectIdentifier::getAxisForCID( rSelectedCID, xChartModel ); in lcl_getObjectCIDForCommand() local 624 return ObjectIdentifier::createClassifiedIdentifierForGrid( xAxis, xChartModel ); in lcl_getObjectCIDForCommand() 636 Reference< XAxis > xAxis = ObjectIdentifier::getAxisForCID( rSelectedCID, xChartModel ); in lcl_getObjectCIDForCommand() local 637 …return ObjectIdentifier::createClassifiedIdentifierForGrid( xAxis, xChartModel, 0 /*sub grid index… in lcl_getObjectCIDForCommand()
|
H A D | ObjectHierarchy.cxx | 109 void lcl_addAxisTitle( const Reference< XAxis >& xAxis, ::chart::ObjectHierarchy::tChildContainer& … in lcl_addAxisTitle() argument 111 Reference< XTitled > xAxisTitled( xAxis, uno::UNO_QUERY ); in lcl_addAxisTitle() 328 Reference< XAxis > xAxis( aAxes[nA] ); in createAxesTree() local 329 if(!xAxis.is()) in createAxesTree() 335 … AxisHelper::getIndicesForAxis( xAxis, xDiagram, nCooSysIndex, nDimensionIndex, nAxisIndex ); in createAxesTree() 342 if( AxisHelper::isAxisVisible( xAxis ) ) in createAxesTree() 344 … ObjectIdentifier( ObjectIdentifier::createClassifiedIdentifierForObject( xAxis, xChartModel ) ) ); in createAxesTree() 350 Reference< beans::XPropertySet > xGridProperties( xAxis->getGridProperties() ); in createAxesTree() 355 …r( ObjectIdentifier( ObjectIdentifier::createClassifiedIdentifierForGrid( xAxis, xChartModel ) ) )… in createAxesTree() 358 … Sequence< Reference< beans::XPropertySet > > aSubGrids( xAxis->getSubGridProperties() );; in createAxesTree() [all …]
|
/trunk/main/chart2/source/inc/ |
H A D | AxisHelper.hxx | 63 const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XAxis >& xAxis 105 …akeAxisVisible( const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XAxis >& xAxis ); 108 …eAxisInvisible( const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XAxis >& xAxis ); 115 … isAxisVisible( const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XAxis >& xAxis ); 129 ::com::sun::star::chart2::XAxis >& xAxis 147 ::com::sun::star::chart2::XAxis >& xAxis 154 ::com::sun::star::chart2::XAxis >& xAxis 169 ::com::sun::star::chart2::XAxis >& xAxis 175 ::com::sun::star::chart2::XAxis >& xAxis 182 ::com::sun::star::chart2::XAxis >& xAxis [all …]
|
/trunk/main/oox/source/drawingml/chart/ |
H A D | axisconverter.cxx | 129 Reference< XAxis > xAxis; in convertFromModel() local 139 … xAxis.set( createInstance( CREATE_OUSTRING( "com.sun.star.chart2.Axis" ) ), UNO_QUERY_THROW ); in convertFromModel() 140 PropertySet aAxisProp( xAxis ); in convertFromModel() 163 PropertySet aGridProp( xAxis->getGridProperties() ); in convertFromModel() 169 Sequence< Reference< XPropertySet > > aSubGridPropSeq = xAxis->getSubGridProperties(); in convertFromModel() 180 ScaleData aScaleData = xAxis->getScaleData(); in convertFromModel() 308 xAxis->setScaleData( aScaleData ); in convertFromModel() 337 Reference< XTitled > xTitled( xAxis, UNO_QUERY_THROW ); in convertFromModel() 346 if( xAxis.is() && rxCoordSystem.is() ) try in convertFromModel() 349 rxCoordSystem->setAxisByDimension( nAxisIdx, xAxis, nAxesSetIdx ); in convertFromModel()
|
H A D | plotareaconverter.cxx | 117 ModelRef< AxisModel > xAxis = rFromAxes.get( nAxisIdx ); in lclGetOrCreateAxis() local 118 if( !xAxis ) in lclGetOrCreateAxis() 119 xAxis.create( nDefTypeId ).mbDeleted = true; // missing axis is invisible in lclGetOrCreateAxis() 120 return xAxis; in lclGetOrCreateAxis() 339 PlotAreaModel::AxisVector::value_type xAxis = *aAIt; in convertFromModel() local 340 …OSL_ENSURE( xAxis->mnAxisId >= 0, "PlotAreaConverter::convertFromModel - invalid axis identifier" … in convertFromModel() 341 …OSL_ENSURE( !aAxisMap.has( xAxis->mnAxisId ), "PlotAreaConverter::convertFromModel - axis identifi… in convertFromModel() 342 if( xAxis->mnAxisId >= 0 ) in convertFromModel() 343 aAxisMap[ xAxis->mnAxisId ] = xAxis; in convertFromModel()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | dlg_InsertErrorBars.cxx | 104 Reference< XAxis > xAxis; in getAxisMinorStepWidthForErrorBarDecimals() local 107 xAxis = DiagramHelper::getAttachedAxis( xSeries, xDiagram ); in getAxisMinorStepWidthForErrorBarDecimals() 108 if(!xAxis.is()) in getAxisMinorStepWidthForErrorBarDecimals() 109 xAxis = AxisHelper::getAxis( 1/*nDimensionIndex*/, true/*bMainAxis*/, xDiagram ); in getAxisMinorStepWidthForErrorBarDecimals() 110 if(xAxis.is()) in getAxisMinorStepWidthForErrorBarDecimals() 114 … pExplicitValueProvider->getExplicitValuesForAxis( xAxis,aExplicitScale, aExplicitIncrement ); in getAxisMinorStepWidthForErrorBarDecimals()
|
/trunk/main/chart2/source/model/main/ |
H A D | BaseCoordinateSystem.cxx | 145 Reference< chart2::XAxis > xAxis( new Axis(m_xContext) ); in BaseCoordinateSystem() local 146 m_aAllAxis[nN][0] = xAxis; in BaseCoordinateSystem() 149 chart2::ScaleData aScaleData( xAxis->getScaleData() ); in BaseCoordinateSystem() 162 xAxis->setScaleData( aScaleData ); in BaseCoordinateSystem() 217 const Reference< chart2::XAxis >& xAxis, in setAxisByDimension() 237 m_aAllAxis[ nDimensionIndex ][nIndex] = xAxis; in setAxisByDimension() 238 if( xAxis.is()) in setAxisByDimension() 239 ModifyListenerHelper::addListener( xAxis, m_xModifyEventForwarder ); in setAxisByDimension()
|
/trunk/main/chart2/source/controller/itemsetwrapper/ |
H A D | SeriesOptionsItemConverter.cxx | 105 uno::Reference< chart2::XAxis > xAxis( AxisHelper::getAxis( 1, 0, m_xCooSys ) ); in SeriesOptionsItemConverter() local 106 chart2::ScaleData aScale( xAxis->getScaleData() ); in SeriesOptionsItemConverter() 320 uno::Reference< chart2::XAxis > xAxis( AxisHelper::getAxis( 1, 0, m_xCooSys ) ); in ApplySpecialItem() local 321 if( xAxis.is() ) in ApplySpecialItem() 323 chart2::ScaleData aScaleData( xAxis->getScaleData() ); in ApplySpecialItem() 325 xAxis->setScaleData( aScaleData ); in ApplySpecialItem()
|