Lines Matching refs:nNumer
676 long nNumer = 1; in calculateExplicitIncrementAndScaleForDateTimeAxis() local
695 nNumer = static_cast<sal_Int32>( rtl::math::approxCeil( nIntervalDays/nDaysPerInterval ) ); in calculateExplicitIncrementAndScaleForDateTimeAxis()
696 if(nNumer<=0) in calculateExplicitIncrementAndScaleForDateTimeAxis()
697 nNumer=1; in calculateExplicitIncrementAndScaleForDateTimeAxis()
700 if( nNumer>2 && nNumer<7 ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
701 nNumer=7; in calculateExplicitIncrementAndScaleForDateTimeAxis()
702 else if( nNumer>7 ) in calculateExplicitIncrementAndScaleForDateTimeAxis()
706 … nNumer = static_cast<sal_Int32>( rtl::math::approxCeil( nIntervalDays/nDaysPerInterval ) ); in calculateExplicitIncrementAndScaleForDateTimeAxis()
707 if(nNumer<=0) in calculateExplicitIncrementAndScaleForDateTimeAxis()
708 nNumer=1; in calculateExplicitIncrementAndScaleForDateTimeAxis()
711 rExplicitIncrement.MajorTimeInterval.Number = nNumer; in calculateExplicitIncrementAndScaleForDateTimeAxis()
712 nMainIncrementCount = static_cast<long>(nDayCount/(nNumer*nDaysPerInterval)); in calculateExplicitIncrementAndScaleForDateTimeAxis()