Lines Matching refs:rArgSet
319 ScTPValidationValue::ScTPValidationValue( Window* pParent, const SfxItemSet& rArgSet ) : in ScTPValidationValue() argument
320 SfxTabPage( pParent, ScResId( TP_VALIDATION_VALUES ), rArgSet ), in ScTPValidationValue()
380 SfxTabPage* ScTPValidationValue::Create( Window* pParent, const SfxItemSet& rArgSet ) in Create() argument
382 return( new ScTPValidationValue( pParent, rArgSet ) ); in Create()
390 void ScTPValidationValue::Reset( const SfxItemSet& rArgSet ) in Reset() argument
395 if( rArgSet.GetItemState( FID_VALID_MODE, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
401 if( rArgSet.GetItemState( FID_VALID_CONDMODE, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
408 if( rArgSet.GetItemState( FID_VALID_BLANK, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
413 if( rArgSet.GetItemState( FID_VALID_LISTTYPE, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
420 if ( rArgSet.GetItemState( FID_VALID_VALUE1, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
425 if ( rArgSet.GetItemState( FID_VALID_VALUE2, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
433 sal_Bool ScTPValidationValue::FillItemSet( SfxItemSet& rArgSet ) in FillItemSet() argument
439 rArgSet.Put( SfxAllEnumItem( FID_VALID_MODE, sal::static_int_cast<sal_uInt16>( in FillItemSet()
441 rArgSet.Put( SfxAllEnumItem( FID_VALID_CONDMODE, sal::static_int_cast<sal_uInt16>( in FillItemSet()
443 rArgSet.Put( SfxStringItem( FID_VALID_VALUE1, GetFirstFormula() ) ); in FillItemSet()
444 rArgSet.Put( SfxStringItem( FID_VALID_VALUE2, GetSecondFormula() ) ); in FillItemSet()
445 rArgSet.Put( SfxBoolItem( FID_VALID_BLANK, maCbAllow.IsChecked() ) ); in FillItemSet()
446 rArgSet.Put( SfxInt16Item( FID_VALID_LISTTYPE, nListType ) ); in FillItemSet()
687 const SfxItemSet& rArgSet ) in ScTPValidationHelp() argument
691 rArgSet ), in ScTPValidationHelp()
699 mrArgSet ( rArgSet ) in ScTPValidationHelp()
730 const SfxItemSet& rArgSet ) in Create() argument
732 return ( new ScTPValidationHelp( pParent, rArgSet ) ); in Create()
737 void __EXPORT ScTPValidationHelp::Reset( const SfxItemSet& rArgSet ) in Reset() argument
741 if ( rArgSet.GetItemState( FID_VALID_SHOWHELP, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
746 if ( rArgSet.GetItemState( FID_VALID_HELPTITLE, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
751 if ( rArgSet.GetItemState( FID_VALID_HELPTEXT, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
759 sal_Bool __EXPORT ScTPValidationHelp::FillItemSet( SfxItemSet& rArgSet ) in FillItemSet() argument
761 rArgSet.Put( SfxBoolItem( FID_VALID_SHOWHELP, aTsbHelp.GetState() == STATE_CHECK ) ); in FillItemSet()
762 rArgSet.Put( SfxStringItem( FID_VALID_HELPTITLE, aEdtTitle.GetText() ) ); in FillItemSet()
763 rArgSet.Put( SfxStringItem( FID_VALID_HELPTEXT, aEdInputHelp.GetText() ) ); in FillItemSet()
773 const SfxItemSet& rArgSet ) in ScTPValidationError() argument
777 rArgSet ), in ScTPValidationError()
788 mrArgSet ( rArgSet ) in ScTPValidationError()
823 const SfxItemSet& rArgSet ) in Create() argument
825 return ( new ScTPValidationError( pParent, rArgSet ) ); in Create()
830 void __EXPORT ScTPValidationError::Reset( const SfxItemSet& rArgSet ) in Reset() argument
834 if ( rArgSet.GetItemState( FID_VALID_SHOWERR, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
839 if ( rArgSet.GetItemState( FID_VALID_ERRSTYLE, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
844 if ( rArgSet.GetItemState( FID_VALID_ERRTITLE, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
849 if ( rArgSet.GetItemState( FID_VALID_ERRTEXT, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
859 sal_Bool __EXPORT ScTPValidationError::FillItemSet( SfxItemSet& rArgSet ) in FillItemSet() argument
861 rArgSet.Put( SfxBoolItem( FID_VALID_SHOWERR, aTsbShow.GetState() == STATE_CHECK ) ); in FillItemSet()
862 rArgSet.Put( SfxAllEnumItem( FID_VALID_ERRSTYLE, aLbAction.GetSelectEntryPos() ) ); in FillItemSet()
863 rArgSet.Put( SfxStringItem( FID_VALID_ERRTITLE, aEdtTitle.GetText() ) ); in FillItemSet()
864 rArgSet.Put( SfxStringItem( FID_VALID_ERRTEXT, aEdError.GetText() ) ); in FillItemSet()