Lines Matching refs:nArg
106 void ParaWin::UpdateArgDesc( sal_uInt16 nArg ) in UpdateArgDesc() argument
108 if (nArg==NOT_FOUND) return; in UpdateArgDesc()
111 nArg = sal::static_int_cast<sal_uInt16>( nArg + GetSliderPos() ); in UpdateArgDesc()
114 if ( (nArgs > 0) && (nArg<nArgs) ) in UpdateArgDesc()
124 … sal_uInt16 nRealArg = (aVisibleArgMapping.size() < nArg) ? aVisibleArgMapping[nArg] : nArg; in UpdateArgDesc()
133 sal_uInt16 nPos = ( nArg < nFix ? nArg : nFix ); in UpdateArgDesc()
138 if ( nArg >= nFix ) in UpdateArgDesc()
139 aArgName += String::CreateFromInt32(nArg-nFix+1); in UpdateArgDesc()
142 …aArgName += (nArg > nFix || pFuncDesc->isParameterOptional(nRealArg)) ? m_sOptional : m_sRequired ; in UpdateArgDesc()
148 if ( nArg < nFix ) in UpdateArgDesc()
149 nPos = nArg; in UpdateArgDesc()
151 nPos = nFix + ( (nArg-nFix) % 2); in UpdateArgDesc()
156 if ( nArg >= nFix ) in UpdateArgDesc()
157 aArgName += String::CreateFromInt32((nArg-nFix)/2 + 1); in UpdateArgDesc()
160 …aArgName += (nArg > (nFix+1) || pFuncDesc->isParameterOptional(nRealArg)) ? m_sOptional : m_sRequi… in UpdateArgDesc()
170 sal_uInt16 nArg = nOffset + i; in UpdateArgInput() local
173 if(nArg<nArgs) in UpdateArgInput()
175 sal_uInt16 nRealArg = aVisibleArgMapping[nArg]; in UpdateArgInput()
184 sal_uInt16 nPos = ( nArg < nFix ? nArg : nFix ); in UpdateArgInput()
188 (nArg > nFix || pFuncDesc->isParameterOptional(nRealArg)) ? in UpdateArgInput()
190 if ( nArg >= nFix ) in UpdateArgInput()
193 aArgName += String::CreateFromInt32(nArg-nFix+1); in UpdateArgInput()
203 if ( nArg < nFix ) in UpdateArgInput()
204 nPos = nArg; in UpdateArgInput()
206 nPos = nFix + ( (nArg-nFix) % 2); in UpdateArgInput()
210 (nArg > (nFix+1) || pFuncDesc->isParameterOptional(nRealArg)) ? in UpdateArgInput()
212 if ( nArg >= nFix ) in UpdateArgInput()
215 aArgName += String::CreateFromInt32((nArg-nFix)/2 + 1); in UpdateArgInput()
221 if(nArg<nArgs) SetArgVal(i,aParaArray[nArg]); in UpdateArgInput()