Lines Matching refs:nLbPos
189 sal_uInt16 nLbPos = SC_VALIDDLG_ALLOW_ANY; in lclGetPosFromValMode() local
192 case SC_VALID_ANY: nLbPos = SC_VALIDDLG_ALLOW_ANY; break; in lclGetPosFromValMode()
193 case SC_VALID_WHOLE: nLbPos = SC_VALIDDLG_ALLOW_WHOLE; break; in lclGetPosFromValMode()
194 case SC_VALID_DECIMAL: nLbPos = SC_VALIDDLG_ALLOW_DECIMAL; break; in lclGetPosFromValMode()
195 case SC_VALID_DATE: nLbPos = SC_VALIDDLG_ALLOW_DATE; break; in lclGetPosFromValMode()
196 case SC_VALID_TIME: nLbPos = SC_VALIDDLG_ALLOW_TIME; break; in lclGetPosFromValMode()
197 case SC_VALID_TEXTLEN: nLbPos = SC_VALIDDLG_ALLOW_TEXTLEN; break; in lclGetPosFromValMode()
198 case SC_VALID_LIST: nLbPos = SC_VALIDDLG_ALLOW_RANGE; break; in lclGetPosFromValMode()
199 case SC_VALID_CUSTOM: nLbPos = SC_VALIDDLG_ALLOW_ANY; break; // not supported in lclGetPosFromValMode()
202 return nLbPos; in lclGetPosFromValMode()
206 ScValidationMode lclGetValModeFromPos( sal_uInt16 nLbPos ) in lclGetValModeFromPos() argument
209 switch( nLbPos ) in lclGetValModeFromPos()
227 sal_uInt16 nLbPos = SC_VALIDDLG_DATA_EQUAL; in lclGetPosFromCondMode() local
231 case SC_COND_EQUAL: nLbPos = SC_VALIDDLG_DATA_EQUAL; break; in lclGetPosFromCondMode()
232 case SC_COND_LESS: nLbPos = SC_VALIDDLG_DATA_LESS; break; in lclGetPosFromCondMode()
233 case SC_COND_GREATER: nLbPos = SC_VALIDDLG_DATA_GREATER; break; in lclGetPosFromCondMode()
234 case SC_COND_EQLESS: nLbPos = SC_VALIDDLG_DATA_EQLESS; break; in lclGetPosFromCondMode()
235 case SC_COND_EQGREATER: nLbPos = SC_VALIDDLG_DATA_EQGREATER; break; in lclGetPosFromCondMode()
236 case SC_COND_NOTEQUAL: nLbPos = SC_VALIDDLG_DATA_NOTEQUAL; break; in lclGetPosFromCondMode()
237 case SC_COND_BETWEEN: nLbPos = SC_VALIDDLG_DATA_BETWEEN; break; in lclGetPosFromCondMode()
238 case SC_COND_NOTBETWEEN: nLbPos = SC_VALIDDLG_DATA_NOTBETWEEN; break; in lclGetPosFromCondMode()
241 return nLbPos; in lclGetPosFromCondMode()
245 ScConditionMode lclGetCondModeFromPos( sal_uInt16 nLbPos ) in lclGetCondModeFromPos() argument
248 switch( nLbPos ) in lclGetCondModeFromPos()
394 sal_uInt16 nLbPos = SC_VALIDDLG_ALLOW_ANY; in Reset() local
396 nLbPos = lclGetPosFromValMode( static_cast< ScValidationMode >( in Reset()
398 maLbAllow.SelectEntryPos( nLbPos ); in Reset()
400 nLbPos = SC_VALIDDLG_DATA_EQUAL; in Reset()
402 nLbPos = lclGetPosFromCondMode( static_cast< ScConditionMode >( in Reset()
404 maLbValue.SelectEntryPos( nLbPos ); in Reset()
621 sal_uInt16 nLbPos = maLbAllow.GetSelectEntryPos(); in IMPL_LINK() local
622 bool bEnable = (nLbPos != SC_VALIDDLG_ALLOW_ANY); in IMPL_LINK()
623 bool bRange = (nLbPos == SC_VALIDDLG_ALLOW_RANGE); in IMPL_LINK()
624 bool bList = (nLbPos == SC_VALIDDLG_ALLOW_LIST); in IMPL_LINK()