Lines Matching refs:rExplicitIncrement
167 ExplicitScaleData& rExplicitScale, ExplicitIncrementData& rExplicitIncrement ) const in calculateExplicitScaleAndIncrement()
219 …calculateExplicitIncrementAndScaleForDateTimeAxis( rExplicitScale, rExplicitIncrement, bAutoMinimu… in calculateExplicitScaleAndIncrement()
221 …calculateExplicitIncrementAndScaleForCategory( rExplicitScale, rExplicitIncrement, bAutoMinimum, b… in calculateExplicitScaleAndIncrement()
226 …calculateExplicitIncrementAndScaleForLogarithmic( rExplicitScale, rExplicitIncrement, bAutoMinimum… in calculateExplicitScaleAndIncrement()
228 …calculateExplicitIncrementAndScaleForLinear( rExplicitScale, rExplicitIncrement, bAutoMinimum, bAu… in calculateExplicitScaleAndIncrement()
260 ExplicitIncrementData& rExplicitIncrement, in calculateExplicitIncrementAndScaleForCategory() argument
274 rExplicitIncrement.PostEquidistant = sal_True; // does not matter anyhow in calculateExplicitIncrementAndScaleForCategory()
275 … rExplicitIncrement.Distance = 1.0; // category axis always have a main increment of 1 in calculateExplicitIncrementAndScaleForCategory()
276 rExplicitIncrement.BaseValue = 0.0; // category axis always have a base of 0 in calculateExplicitIncrementAndScaleForCategory()
280 …imum = EquidistantTickFactory::getMinimumAtIncrement( rExplicitScale.Minimum, rExplicitIncrement ); in calculateExplicitIncrementAndScaleForCategory()
282 …imum = EquidistantTickFactory::getMaximumAtIncrement( rExplicitScale.Maximum, rExplicitIncrement ); in calculateExplicitIncrementAndScaleForCategory()
285 …math::approxFloor( (rExplicitScale.Maximum-rExplicitScale.Minimum) / rExplicitIncrement.Distance ); in calculateExplicitIncrementAndScaleForCategory()
290 …rExplicitIncrement.Distance = ::rtl::math::approxCeil( (fMaximumCeil - fMinimumFloor) / MAXIMUM_MA… in calculateExplicitIncrementAndScaleForCategory()
312 rExplicitIncrement.SubIncrements.push_back(aExplicitSubIncrement); in calculateExplicitIncrementAndScaleForCategory()
320 ExplicitIncrementData& rExplicitIncrement, in calculateExplicitIncrementAndScaleForLogarithmic() argument
333 if( !(m_aSourceScale.IncrementData.PostEquidistant >>= rExplicitIncrement.PostEquidistant) ) in calculateExplicitIncrementAndScaleForLogarithmic()
334 rExplicitIncrement.PostEquidistant = sal_True; in calculateExplicitIncrementAndScaleForLogarithmic()
430 if( !(m_aSourceScale.IncrementData.BaseValue >>= rExplicitIncrement.BaseValue) ) in calculateExplicitIncrementAndScaleForLogarithmic()
435 rExplicitIncrement.BaseValue = fTempMinimum; in calculateExplicitIncrementAndScaleForLogarithmic()
437 rExplicitIncrement.BaseValue = fTempMaximum; in calculateExplicitIncrementAndScaleForLogarithmic()
439 rExplicitIncrement.BaseValue = 0.0; in calculateExplicitIncrementAndScaleForLogarithmic()
443 bool bAutoDistance = !(m_aSourceScale.IncrementData.Distance >>= rExplicitIncrement.Distance); in calculateExplicitIncrementAndScaleForLogarithmic()
445 rExplicitIncrement.Distance = 0.0; in calculateExplicitIncrementAndScaleForLogarithmic()
464 …rExplicitIncrement.Distance = ::rtl::math::approxCeil( (fMaximumCeil - fMinimumFloor) / nMaxMainIn… in calculateExplicitIncrementAndScaleForLogarithmic()
469 rExplicitIncrement.Distance += 1.0; in calculateExplicitIncrementAndScaleForLogarithmic()
484 … fAxisMinimum = EquidistantTickFactory::getMinimumAtIncrement( fAxisMinimum, rExplicitIncrement ); in calculateExplicitIncrementAndScaleForLogarithmic()
500 … fAxisMaximum = EquidistantTickFactory::getMaximumAtIncrement( fAxisMaximum, rExplicitIncrement ); in calculateExplicitIncrementAndScaleForLogarithmic()
530 …nceCount = ::rtl::math::approxFloor( (fAxisMaximum - fAxisMinimum) / rExplicitIncrement.Distance ); in calculateExplicitIncrementAndScaleForLogarithmic()
576 rExplicitIncrement.SubIncrements.push_back(aExplicitSubIncrement); in calculateExplicitIncrementAndScaleForLogarithmic()
584 ExplicitIncrementData& rExplicitIncrement, in calculateExplicitIncrementAndScaleForDateTimeAxis() argument
589 rExplicitIncrement.PostEquidistant = sal_False; in calculateExplicitIncrementAndScaleForDateTimeAxis()
642 …bool bAutoMajor = !(m_aSourceScale.TimeIncrement.MajorTimeInterval >>= rExplicitIncrement.MajorTim… in calculateExplicitIncrementAndScaleForDateTimeAxis()
643 …bool bAutoMinor = !(m_aSourceScale.TimeIncrement.MinorTimeInterval >>= rExplicitIncrement.MinorTim… in calculateExplicitIncrementAndScaleForDateTimeAxis()
656 long nIntervalDayCount = rExplicitIncrement.MajorTimeInterval.Number; in calculateExplicitIncrementAndScaleForDateTimeAxis()
657 if( rExplicitIncrement.MajorTimeInterval.TimeUnit < rExplicitScale.TimeResolution ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
658 rExplicitIncrement.MajorTimeInterval.TimeUnit = rExplicitScale.TimeResolution; in calculateExplicitIncrementAndScaleForDateTimeAxis()
659 switch( rExplicitIncrement.MajorTimeInterval.TimeUnit ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
681 rExplicitIncrement.MajorTimeInterval.TimeUnit = YEAR; in calculateExplicitIncrementAndScaleForDateTimeAxis()
686 rExplicitIncrement.MajorTimeInterval.TimeUnit = MONTH; in calculateExplicitIncrementAndScaleForDateTimeAxis()
691 rExplicitIncrement.MajorTimeInterval.TimeUnit = DAY; in calculateExplicitIncrementAndScaleForDateTimeAxis()
698 if( rExplicitIncrement.MajorTimeInterval.TimeUnit == DAY ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
704 rExplicitIncrement.MajorTimeInterval.TimeUnit = MONTH; in calculateExplicitIncrementAndScaleForDateTimeAxis()
711 rExplicitIncrement.MajorTimeInterval.Number = nNumer; in calculateExplicitIncrementAndScaleForDateTimeAxis()
718 …if( rExplicitIncrement.MinorTimeInterval.TimeUnit > rExplicitIncrement.MajorTimeInterval.TimeUnit ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
719 … rExplicitIncrement.MinorTimeInterval.TimeUnit = rExplicitIncrement.MajorTimeInterval.TimeUnit; in calculateExplicitIncrementAndScaleForDateTimeAxis()
720 long nIntervalDayCount = rExplicitIncrement.MinorTimeInterval.Number; in calculateExplicitIncrementAndScaleForDateTimeAxis()
721 switch( rExplicitIncrement.MinorTimeInterval.TimeUnit ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
737 … rExplicitIncrement.MinorTimeInterval.TimeUnit = rExplicitIncrement.MajorTimeInterval.TimeUnit; in calculateExplicitIncrementAndScaleForDateTimeAxis()
738 rExplicitIncrement.MinorTimeInterval.Number = 1; in calculateExplicitIncrementAndScaleForDateTimeAxis()
740 … rExplicitIncrement.MinorTimeInterval.Number = rExplicitIncrement.MajorTimeInterval.Number; in calculateExplicitIncrementAndScaleForDateTimeAxis()
743 if( rExplicitIncrement.MajorTimeInterval.Number >= 2 ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
745 if( !(rExplicitIncrement.MajorTimeInterval.Number%2) ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
746 … rExplicitIncrement.MinorTimeInterval.Number = rExplicitIncrement.MajorTimeInterval.Number/2; in calculateExplicitIncrementAndScaleForDateTimeAxis()
747 else if( !(rExplicitIncrement.MajorTimeInterval.Number%3) ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
748 … rExplicitIncrement.MinorTimeInterval.Number = rExplicitIncrement.MajorTimeInterval.Number/3; in calculateExplicitIncrementAndScaleForDateTimeAxis()
749 else if( !(rExplicitIncrement.MajorTimeInterval.Number%5) ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
750 … rExplicitIncrement.MinorTimeInterval.Number = rExplicitIncrement.MajorTimeInterval.Number/5; in calculateExplicitIncrementAndScaleForDateTimeAxis()
751 else if( rExplicitIncrement.MajorTimeInterval.Number > 50 ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
752 … rExplicitIncrement.MinorTimeInterval.Number = rExplicitIncrement.MajorTimeInterval.Number; in calculateExplicitIncrementAndScaleForDateTimeAxis()
756 switch( rExplicitIncrement.MajorTimeInterval.TimeUnit ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
762 rExplicitIncrement.MinorTimeInterval.TimeUnit = DAY; in calculateExplicitIncrementAndScaleForDateTimeAxis()
766 rExplicitIncrement.MinorTimeInterval.TimeUnit = MONTH; in calculateExplicitIncrementAndScaleForDateTimeAxis()
779 ExplicitIncrementData& rExplicitIncrement, in calculateExplicitIncrementAndScaleForLinear() argument
788 if( !(m_aSourceScale.IncrementData.PostEquidistant >>= rExplicitIncrement.PostEquidistant) ) in calculateExplicitIncrementAndScaleForLinear()
789 rExplicitIncrement.PostEquidistant = sal_True; in calculateExplicitIncrementAndScaleForLinear()
870 if( !(m_aSourceScale.IncrementData.BaseValue >>= rExplicitIncrement.BaseValue) ) in calculateExplicitIncrementAndScaleForLinear()
873 rExplicitIncrement.BaseValue = fTempMinimum; in calculateExplicitIncrementAndScaleForLinear()
875 rExplicitIncrement.BaseValue = fTempMaximum; in calculateExplicitIncrementAndScaleForLinear()
877 rExplicitIncrement.BaseValue = 0.0; in calculateExplicitIncrementAndScaleForLinear()
881 bool bAutoDistance = !(m_aSourceScale.IncrementData.Distance >>= rExplicitIncrement.Distance); in calculateExplicitIncrementAndScaleForLinear()
947 rExplicitIncrement.Distance = fDistanceNormalized * fDistanceMagnitude; in calculateExplicitIncrementAndScaleForLinear()
960 … fAxisMinimum = EquidistantTickFactory::getMinimumAtIncrement( fAxisMinimum, rExplicitIncrement ); in calculateExplicitIncrementAndScaleForLinear()
964 fAxisMinimum -= rExplicitIncrement.Distance; in calculateExplicitIncrementAndScaleForLinear()
970 … fAxisMaximum = EquidistantTickFactory::getMaximumAtIncrement( fAxisMaximum, rExplicitIncrement ); in calculateExplicitIncrementAndScaleForLinear()
974 fAxisMaximum += rExplicitIncrement.Distance; in calculateExplicitIncrementAndScaleForLinear()
992 …nceCount = ::rtl::math::approxFloor( (fAxisMaximum - fAxisMinimum) / rExplicitIncrement.Distance ); in calculateExplicitIncrementAndScaleForLinear()
1018 rExplicitIncrement.SubIncrements.push_back(aExplicitSubIncrement); in calculateExplicitIncrementAndScaleForLinear()