Lines Matching refs:nCurrIndex
166 sal_uInt16 nAttr, nCurrIndex; in GetAttributeRun() local
171 nCurrIndex = aCharAttribs[nAttr].nStart; in GetAttributeRun()
176 if( nCurrIndex > nClosestStartIndex_s && in GetAttributeRun()
177 nCurrIndex <= nIndex) in GetAttributeRun()
179 nClosestStartIndex_s = nCurrIndex; in GetAttributeRun()
181 nCurrIndex = aCharAttribs[nAttr].nEnd; in GetAttributeRun()
182 if ( nCurrIndex > nClosestStartIndex_e && in GetAttributeRun()
183 nCurrIndex < nIndex ) in GetAttributeRun()
185 nClosestStartIndex_e = nCurrIndex; in GetAttributeRun()
195 nCurrIndex = aCharAttribs[nAttr].nEnd; in GetAttributeRun()
197 if( nCurrIndex > nIndex && in GetAttributeRun()
198 nCurrIndex < nClosestEndIndex_e ) in GetAttributeRun()
200 nClosestEndIndex_e = nCurrIndex; in GetAttributeRun()
202 nCurrIndex = aCharAttribs[nAttr].nStart; in GetAttributeRun()
203 if ( nCurrIndex > nIndex && in GetAttributeRun()
204 nCurrIndex < nClosestEndIndex_s) in GetAttributeRun()
206 nClosestEndIndex_s = nCurrIndex; in GetAttributeRun()
295 sal_uInt16 nAttr, nCurrIndex; in GetAttributeRun()
299 nCurrIndex = aCharAttribs[nAttr].nStart; in GetAttributeRun()
301 if( nCurrIndex > nIndex ) in GetAttributeRun()
304 if( nCurrIndex > nClosestStartIndex ) in GetAttributeRun()
306 nClosestStartIndex = nCurrIndex; in GetAttributeRun()
314 nCurrIndex = aCharAttribs[nAttr].nEnd; in GetAttributeRun()
316 if( nCurrIndex > nIndex && in GetAttributeRun()
317 nCurrIndex < nClosestEndIndex ) in GetAttributeRun()
319 nClosestEndIndex = nCurrIndex; in GetAttributeRun()