Lines Matching refs:nVal
63 static void CalcGlobalPercent( sal_uLong nVal ) in CalcGlobalPercent() argument
66 nVal * 100 / nGlobalRange : 0; in CalcGlobalPercent()
93 sal_Bool SetStateText( sal_uLong nVal, const String &rVal, sal_uLong nNewRange = 0 ) in SetStateText() argument
99 CalcGlobalPercent( nVal ); in SetStateText()
100 if ( !pProgress->SetStateText( nVal, rVal, nNewRange ) ) in SetStateText()
106 sal_Bool SetState( sal_uLong nVal, sal_uLong nNewRange = 0 ) in SetState() argument
112 CalcGlobalPercent( nVal ); in SetState()
113 if ( !pProgress->SetState( nVal, nNewRange ) ) in SetState()
119 sal_Bool SetStateCountDown( sal_uLong nVal ) in SetStateCountDown() argument
123 CalcGlobalPercent( nGlobalRange - nVal ); in SetStateCountDown()
124 if ( !pProgress->SetState( nGlobalRange - nVal ) ) in SetStateCountDown()
130 sal_Bool SetStateOnPercent( sal_uLong nVal ) in SetStateOnPercent() argument
132 if ( nGlobalRange && (nVal * 100 / in SetStateOnPercent()
134 return SetState( nVal ); in SetStateOnPercent()
137 sal_Bool SetStateCountDownOnPercent( sal_uLong nVal ) in SetStateCountDownOnPercent() argument
140 ((nGlobalRange - nVal) * 100 / in SetStateCountDownOnPercent()
142 return SetStateCountDown( nVal ); in SetStateCountDownOnPercent()