Lines Matching refs:nLbPos
192 sal_uInt16 nLbPos = SC_VALIDDLG_ALLOW_ANY; in lclGetPosFromValMode() local
195 case SC_VALID_ANY: nLbPos = SC_VALIDDLG_ALLOW_ANY; break; in lclGetPosFromValMode()
196 case SC_VALID_WHOLE: nLbPos = SC_VALIDDLG_ALLOW_WHOLE; break; in lclGetPosFromValMode()
197 case SC_VALID_DECIMAL: nLbPos = SC_VALIDDLG_ALLOW_DECIMAL; break; in lclGetPosFromValMode()
198 case SC_VALID_DATE: nLbPos = SC_VALIDDLG_ALLOW_DATE; break; in lclGetPosFromValMode()
199 case SC_VALID_TIME: nLbPos = SC_VALIDDLG_ALLOW_TIME; break; in lclGetPosFromValMode()
200 case SC_VALID_TEXTLEN: nLbPos = SC_VALIDDLG_ALLOW_TEXTLEN; break; in lclGetPosFromValMode()
201 case SC_VALID_LIST: nLbPos = SC_VALIDDLG_ALLOW_RANGE; break; in lclGetPosFromValMode()
202 case SC_VALID_CUSTOM: nLbPos = SC_VALIDDLG_ALLOW_ANY; break; // not supported in lclGetPosFromValMode()
205 return nLbPos; in lclGetPosFromValMode()
209 ScValidationMode lclGetValModeFromPos( sal_uInt16 nLbPos ) in lclGetValModeFromPos() argument
212 switch( nLbPos ) in lclGetValModeFromPos()
230 sal_uInt16 nLbPos = SC_VALIDDLG_DATA_EQUAL; in lclGetPosFromCondMode() local
234 case SC_COND_EQUAL: nLbPos = SC_VALIDDLG_DATA_EQUAL; break; in lclGetPosFromCondMode()
235 case SC_COND_LESS: nLbPos = SC_VALIDDLG_DATA_LESS; break; in lclGetPosFromCondMode()
236 case SC_COND_GREATER: nLbPos = SC_VALIDDLG_DATA_GREATER; break; in lclGetPosFromCondMode()
237 case SC_COND_EQLESS: nLbPos = SC_VALIDDLG_DATA_EQLESS; break; in lclGetPosFromCondMode()
238 case SC_COND_EQGREATER: nLbPos = SC_VALIDDLG_DATA_EQGREATER; break; in lclGetPosFromCondMode()
239 case SC_COND_NOTEQUAL: nLbPos = SC_VALIDDLG_DATA_NOTEQUAL; break; in lclGetPosFromCondMode()
240 case SC_COND_BETWEEN: nLbPos = SC_VALIDDLG_DATA_BETWEEN; break; in lclGetPosFromCondMode()
241 case SC_COND_NOTBETWEEN: nLbPos = SC_VALIDDLG_DATA_NOTBETWEEN; break; in lclGetPosFromCondMode()
244 return nLbPos; in lclGetPosFromCondMode()
248 ScConditionMode lclGetCondModeFromPos( sal_uInt16 nLbPos ) in lclGetCondModeFromPos() argument
251 switch( nLbPos ) in lclGetCondModeFromPos()
397 sal_uInt16 nLbPos = SC_VALIDDLG_ALLOW_ANY; in Reset() local
399 nLbPos = lclGetPosFromValMode( static_cast< ScValidationMode >( in Reset()
401 maLbAllow.SelectEntryPos( nLbPos ); in Reset()
403 nLbPos = SC_VALIDDLG_DATA_EQUAL; in Reset()
405 nLbPos = lclGetPosFromCondMode( static_cast< ScConditionMode >( in Reset()
407 maLbValue.SelectEntryPos( nLbPos ); in Reset()
624 sal_uInt16 nLbPos = maLbAllow.GetSelectEntryPos(); in IMPL_LINK() local
625 bool bEnable = (nLbPos != SC_VALIDDLG_ALLOW_ANY); in IMPL_LINK()
626 bool bRange = (nLbPos == SC_VALIDDLG_ALLOW_RANGE); in IMPL_LINK()
627 bool bList = (nLbPos == SC_VALIDDLG_ALLOW_LIST); in IMPL_LINK()