/trunk/main/chart2/source/controller/chartapiwrapper/ |
H A D | WrappedScaleProperty.cxx | 284 if( aScaleData.AxisType == AxisType::DATE ) in setPropertyValue() 285 aScaleData.AxisType = AxisType::CATEGORY; in setPropertyValue() 290 if( aScaleData.AxisType == AxisType::DATE ) in setPropertyValue() 291 aScaleData.AxisType = AxisType::CATEGORY; in setPropertyValue() 295 if( aScaleData.AxisType == AxisType::CATEGORY ) in setPropertyValue() 296 aScaleData.AxisType = AxisType::DATE; in setPropertyValue() 537 if( aScaleData.AxisType == AxisType::DATE ) in getPropertyValue() 541 else if( aScaleData.AxisType == AxisType::CATEGORY ) in getPropertyValue() 551 if( aScaleData.AxisType == AxisType::DATE || aScaleData.AutoDateAxis ) in getPropertyValue() 557 if( aScaleData.AxisType == AxisType::DATE || aScaleData.AutoDateAxis ) in getPropertyValue() [all …]
|
/trunk/main/oox/source/drawingml/chart/ |
H A D | axisconverter.cxx | 193 …aScaleData.AxisType = (bDateAxis && !mrModel.mbAuto) ? cssc2::AxisType::DATE : cssc2::AxisType::CA… in convertFromModel() 200 aScaleData.AxisType = cssc2::AxisType::REALNUMBER; in convertFromModel() 205 …aScaleData.AxisType = rTypeGroup.isPercent() ? cssc2::AxisType::PERCENT : cssc2::AxisType::REALNUM… in convertFromModel() 210 aScaleData.AxisType = cssc2::AxisType::SERIES; in convertFromModel() 216 switch( aScaleData.AxisType ) in convertFromModel() 218 case cssc2::AxisType::CATEGORY: in convertFromModel() 219 case cssc2::AxisType::SERIES: in convertFromModel() 220 case cssc2::AxisType::DATE: in convertFromModel() 253 case cssc2::AxisType::REALNUMBER: in convertFromModel() 254 case cssc2::AxisType::PERCENT: in convertFromModel() [all …]
|
/trunk/main/chart2/source/view/axes/ |
H A D | ScaleAutomatism.cxx | 53 if( nAxisType==AxisType::DATE ) in lcl_getMaximumAutoIncrementCount() 78 , AxisType(::com::sun::star::chart2::AxisType::REALNUMBER) in ExplicitScaleData() 147 if( m_aSourceScale.AxisType==AxisType::PERCENT ) in setAutoScalingOptions() 156 … m_nMaximumAutoMainIncrementCount = lcl_getMaximumAutoIncrementCount( m_aSourceScale.AxisType ); in setMaximumAutoMainIncrementCount() 172 rExplicitScale.AxisType = m_aSourceScale.AxisType; in calculateExplicitScaleAndIncrement() 182 if( m_aSourceScale.AxisType==AxisType::PERCENT ) in calculateExplicitScaleAndIncrement() 186 if( m_aSourceScale.AxisType==AxisType::DATE ) in calculateExplicitScaleAndIncrement() 198 if( m_aSourceScale.AxisType==AxisType::PERCENT ) in calculateExplicitScaleAndIncrement() 202 if( m_aSourceScale.AxisType==AxisType::DATE ) in calculateExplicitScaleAndIncrement() 218 if( m_aSourceScale.AxisType==AxisType::DATE ) in calculateExplicitScaleAndIncrement() [all …]
|
H A D | VAxisBase.cxx | 78 if( AxisType::SERIES==m_aAxisProperties.m_nAxisType ) in initAxisLabelProperties() 91 else if( AxisType::CATEGORY==m_aAxisProperties.m_nAxisType ) in initAxisLabelProperties() 101 …if( m_aAxisProperties.m_bComplexCategories && AxisType::CATEGORY == m_aAxisProperties.m_nAxisType ) in initAxisLabelProperties() 107 return AxisType::DATE == m_aScale.AxisType; in isDateAxis()
|
H A D | VCoordinateSystem.cxx | 380 if( rScaleAutomatism.getScale().AxisType==AxisType::DATE && nDimIndex==0 ) in prepareScaleAutomatismForDimensionAndIndex() 531 if( AxisType::CATEGORY!=m_aExplicitScales[1].AxisType ) in createAxesShapes() 537 if( AxisType::CATEGORY!=m_aExplicitScales[0].AxisType ) in createAxesShapes()
|
H A D | VAxisProperties.cxx | 191 , m_nAxisType(AxisType::REALNUMBER) in AxisProperties() 313 m_nAxisType = aScaleData.AxisType; in init() 317 if( m_nDimensionIndex == 0 && m_nAxisType == AxisType::CATEGORY in init()
|
/trunk/main/chart2/source/controller/dialogs/ |
H A D | tp_Scale.cxx | 157 m_nAxisType(chart2::AxisType::REALNUMBER), in ScaleTabPage() 267 if( chart2::AxisType::DATE == m_nAxisType ) in PlaceIntervalControlsAccordingToAxisType() 300 …bool bValueAxis = chart2::AxisType::REALNUMBER == m_nAxisType || chart2::AxisType::PERCENT == m_nA… in EnableControls() 399 m_nAxisType = chart2::AxisType::DATE; in IMPL_LINK() 401 m_nAxisType = chart2::AxisType::CATEGORY; in IMPL_LINK() 402 if( chart2::AxisType::DATE == m_nAxisType ) in IMPL_LINK() 424 if( m_nAxisType==chart2::AxisType::CATEGORY ) in FillItemSet() 459 m_nAxisType=chart2::AxisType::REALNUMBER; in Reset() 463 m_nAxisType=chart2::AxisType::CATEGORY; in Reset() 471 if( m_nAxisType==chart2::AxisType::DATE ) in Reset() [all …]
|
H A D | dlg_ObjectProperties.cxx | 178 if( chart2::AxisType::SERIES == aData.AxisType ) in init() 180 if( chart2::AxisType::SERIES != aData.AxisType ) in init() 203 … m_bIsCrossingAxisIsCategoryAxis = ( chart2::AxisType::CATEGORY == aScale.AxisType ); in init() 209 if ( nDimensionIndex == 0 && aData.AxisType == chart2::AxisType::CATEGORY ) in init()
|
/trunk/main/chart2/source/tools/ |
H A D | DiagramHelper.cxx | 299 if( (aScaleData.AxisType==AxisType::PERCENT) != bPercent ) in setStackMode() 302 aScaleData.AxisType = AxisType::PERCENT; in setStackMode() 304 aScaleData.AxisType = AxisType::REALNUMBER; in setStackMode() 872 … if( aScaleData.AxisType == AxisType::CATEGORY || aScaleData.AxisType == AxisType::DATE ) in isCategoryDiagram() 909 aScaleData.AxisType = AxisType::CATEGORY; in setCategoriesToDiagram() 910 … else if( aScaleData.AxisType == AxisType::CATEGORY || aScaleData.AxisType == AxisType::DATE ) in setCategoriesToDiagram() 911 aScaleData.AxisType = AxisType::REALNUMBER; in setCategoriesToDiagram() 1100 if( aScale.AxisType != chart2::AxisType::DATE ) in lcl_switchToDateCategories() 1102 aScale.AxisType = chart2::AxisType::DATE; in lcl_switchToDateCategories() 1113 if( aScale.AxisType != chart2::AxisType::CATEGORY ) in lcl_switchToTextCategories() [all …]
|
H A D | AxisHelper.cxx | 81 aScaleData.AxisType = chart2::AxisType::REALNUMBER; in createDefaultScale() 114 if( aScale.AutoDateAxis && aScale.AxisType == AxisType::CATEGORY ) in getDateCheckedScale() 120 aScale.AxisType = AxisType::DATE; in getDateCheckedScale() 122 if( aScale.AxisType == AxisType::DATE ) in getDateCheckedScale() 126 aScale.AxisType = AxisType::CATEGORY; in getDateCheckedScale() 133 if( rScale.AutoDateAxis && rScale.AxisType == AxisType::CATEGORY && bChartTypeAllowsDateAxis ) in checkDateAxis() 135 rScale.AxisType = AxisType::DATE; in checkDateAxis() 140 rScale.AxisType = AxisType::CATEGORY; in checkDateAxis() 166 if( aData.AxisType==AxisType::PERCENT ) in getExplicitNumberFormatKeyForAxis() 175 else if( aData.AxisType==AxisType::DATE ) in getExplicitNumberFormatKeyForAxis() [all …]
|
H A D | ChartTypeHelper.cxx | 421 if( nType != AxisType::CATEGORY ) in isSupportingDateAxis() 532 return AxisType::CATEGORY; in getAxisType() 536 return AxisType::SERIES; in getAxisType() 538 return AxisType::REALNUMBER; in getAxisType() 543 return AxisType::REALNUMBER; in getAxisType() 544 return AxisType::CATEGORY; in getAxisType() 546 return AxisType::CATEGORY; in getAxisType()
|
H A D | DataSeriesHelper.cxx | 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()
|
H A D | ExplicitCategoriesProvider.cxx | 74 … m_bIsAutoDate = (aScale.AutoDateAxis && aScale.AxisType==chart2::AxisType::CATEGORY); in ExplicitCategoriesProvider() 75 m_bIsDateAxis = (aScale.AxisType == chart2::AxisType::DATE || m_bIsAutoDate); in ExplicitCategoriesProvider()
|
/trunk/main/chart2/source/model/template/ |
H A D | ChartTypeTemplate.cxx | 656 …if( aData.AxisType != AxisType::CATEGORY && ( aData.AxisType != AxisType::DATE || !bSupportsDates)… in adaptScales() 658 aData.AxisType = AxisType::CATEGORY; in adaptScales() 664 aData.AxisType = AxisType::REALNUMBER; in adaptScales() 682 if( bPercent != (aScaleData.AxisType==AxisType::PERCENT) ) in adaptScales() 685 aScaleData.AxisType = AxisType::PERCENT; in adaptScales() 687 aScaleData.AxisType = AxisType::REALNUMBER; in adaptScales()
|
H A D | ChartType.cxx | 106 case 0: aScaleData.AxisType = chart2::AxisType::CATEGORY; break; in createCoordinateSystem() 107 case 2: aScaleData.AxisType = chart2::AxisType::SERIES; break; in createCoordinateSystem() 108 default: aScaleData.AxisType = chart2::AxisType::REALNUMBER; break; in createCoordinateSystem()
|
H A D | NetChartType.cxx | 83 aScaleData.AxisType = AxisType::CATEGORY; in createCoordinateSystem() 93 aScaleData.AxisType = AxisType::REALNUMBER; in createCoordinateSystem()
|
H A D | BubbleChartType.cxx | 162 aScaleData.AxisType = chart2::AxisType::SERIES; in createCoordinateSystem() 164 aScaleData.AxisType = chart2::AxisType::REALNUMBER; in createCoordinateSystem()
|
H A D | ScatterChartType.cxx | 208 aScaleData.AxisType = chart2::AxisType::SERIES; in createCoordinateSystem() 210 aScaleData.AxisType = chart2::AxisType::REALNUMBER; in createCoordinateSystem()
|
H A D | PieChartType.cxx | 190 aScaleData.AxisType = chart2::AxisType::REALNUMBER; in createCoordinateSystem()
|
/trunk/main/chart2/source/model/main/ |
H A D | BaseCoordinateSystem.cxx | 152 aScaleData.AxisType = chart2::AxisType::CATEGORY; in BaseCoordinateSystem() 156 aScaleData.AxisType = chart2::AxisType::REALNUMBER; in BaseCoordinateSystem() 160 aScaleData.AxisType = chart2::AxisType::SERIES; in BaseCoordinateSystem()
|
/trunk/main/offapi/com/sun/star/chart2/ |
H A D | ScaleData.idl | 28 #include <com/sun/star/chart2/AxisType.idl> 88 AxisType is one value out of the constant group <type>AxisType</type>.</p> 90 long AxisType; 92 …/** if true an AxisType CATEGORY is interpreted as DATE if the underlying data given in Categories…
|
/trunk/main/chart2/source/controller/itemsetwrapper/ |
H A D | AxisItemConverter.cxx | 184 bool bDateAxis = (chart2::AxisType::DATE == rScale.AxisType); in FillSpecialItem() 186 bDateAxis = (chart2::AxisType::DATE == m_pExplicitScale->AxisType); in FillSpecialItem() 438 rOutItemSet.Put( SfxInt32Item( nWhichId, rScale.AxisType )); in FillSpecialItem() 461 return (chart2::AxisType::DATE == nAxisType); in lcl_isDateAxis() 976 aScale.AxisType = nNewAxisType; in ApplySpecialItem()
|
/trunk/main/chart2/source/view/main/ |
H A D | ChartView.cxx | 856 …if( (aSourceScale.AxisType == AxisType::CATEGORY && m_bChartTypeUsesShiftedCategoryPositionPerDefa… in initAxisUsageList() 857 …|| (aSourceScale.AxisType==AxisType::CATEGORY && pExplicitCategoriesProvider && pExplicitCategorie… in initAxisUsageList() 858 || aSourceScale.AxisType == AxisType::DATE in initAxisUsageList() 859 || aSourceScale.AxisType == AxisType::SERIES ) in initAxisUsageList() 1077 aExplicitScaleDest.AxisType = aExplicitScaleSource.AxisType; in AdaptScaleOfYAxisWithoutAttachedSeries() 1716 if( rExplicitScale.AxisType == ::com::sun::star::chart2::AxisType::DATE ) in getExplicitValuesForAxis() 1733 else if( rExplicitScale.AxisType == ::com::sun::star::chart2::AxisType::CATEGORY ) in getExplicitValuesForAxis() 1735 else if( rExplicitScale.AxisType == ::com::sun::star::chart2::AxisType::SERIES ) in getExplicitValuesForAxis()
|
H A D | PlottingPositionHelper.cxx | 645 return m_aScales[1].AxisType==AxisType::PERCENT; in isPercentY() 662 if( m_aScales[0].AxisType == ::com::sun::star::chart2::AxisType::DATE ) in setTimeResolution()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xichart.cxx | 2929 … rScaleData.AxisType = rScaleData.AutoDateAxis ? cssc2::AxisType::CATEGORY : cssc2::AxisType::DATE; in Convert() 3282 aScaleData.AxisType = cssc2::AxisType::CATEGORY; in CreateAxis() 3286 aScaleData.AxisType = cssc2::AxisType::REALNUMBER; in CreateAxis() 3289 aScaleData.AxisType = rTypeGroup.IsPercent() ? in CreateAxis() 3290 cssc2::AxisType::PERCENT : cssc2::AxisType::REALNUMBER; in CreateAxis() 3293 aScaleData.AxisType = cssc2::AxisType::SERIES; in CreateAxis() 3297 switch( aScaleData.AxisType ) in CreateAxis() 3299 case cssc2::AxisType::CATEGORY: in CreateAxis() 3300 case cssc2::AxisType::SERIES: in CreateAxis() 3304 case cssc2::AxisType::REALNUMBER: in CreateAxis() [all …]
|