Lines Matching refs:rArgSet

322 ScTPValidationValue::ScTPValidationValue( Window* pParent, const SfxItemSet& rArgSet ) :  in ScTPValidationValue()  argument
323 SfxTabPage( pParent, ScResId( TP_VALIDATION_VALUES ), rArgSet ), in ScTPValidationValue()
383 SfxTabPage* ScTPValidationValue::Create( Window* pParent, const SfxItemSet& rArgSet ) in Create() argument
385 return( new ScTPValidationValue( pParent, rArgSet ) ); in Create()
393 void ScTPValidationValue::Reset( const SfxItemSet& rArgSet ) in Reset() argument
398 if( rArgSet.GetItemState( FID_VALID_MODE, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
404 if( rArgSet.GetItemState( FID_VALID_CONDMODE, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
411 if( rArgSet.GetItemState( FID_VALID_BLANK, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
416 if( rArgSet.GetItemState( FID_VALID_LISTTYPE, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
423 if ( rArgSet.GetItemState( FID_VALID_VALUE1, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
428 if ( rArgSet.GetItemState( FID_VALID_VALUE2, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
436 sal_Bool ScTPValidationValue::FillItemSet( SfxItemSet& rArgSet ) in FillItemSet() argument
442 rArgSet.Put( SfxAllEnumItem( FID_VALID_MODE, sal::static_int_cast<sal_uInt16>( in FillItemSet()
444 rArgSet.Put( SfxAllEnumItem( FID_VALID_CONDMODE, sal::static_int_cast<sal_uInt16>( in FillItemSet()
446 rArgSet.Put( SfxStringItem( FID_VALID_VALUE1, GetFirstFormula() ) ); in FillItemSet()
447 rArgSet.Put( SfxStringItem( FID_VALID_VALUE2, GetSecondFormula() ) ); in FillItemSet()
448 rArgSet.Put( SfxBoolItem( FID_VALID_BLANK, maCbAllow.IsChecked() ) ); in FillItemSet()
449 rArgSet.Put( SfxInt16Item( FID_VALID_LISTTYPE, nListType ) ); in FillItemSet()
690 const SfxItemSet& rArgSet ) in ScTPValidationHelp() argument
694 rArgSet ), in ScTPValidationHelp()
702 mrArgSet ( rArgSet ) in ScTPValidationHelp()
733 const SfxItemSet& rArgSet ) in Create() argument
735 return ( new ScTPValidationHelp( pParent, rArgSet ) ); in Create()
740 void __EXPORT ScTPValidationHelp::Reset( const SfxItemSet& rArgSet ) in Reset() argument
744 if ( rArgSet.GetItemState( FID_VALID_SHOWHELP, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
749 if ( rArgSet.GetItemState( FID_VALID_HELPTITLE, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
754 if ( rArgSet.GetItemState( FID_VALID_HELPTEXT, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
762 sal_Bool __EXPORT ScTPValidationHelp::FillItemSet( SfxItemSet& rArgSet ) in FillItemSet() argument
764 rArgSet.Put( SfxBoolItem( FID_VALID_SHOWHELP, aTsbHelp.GetState() == STATE_CHECK ) ); in FillItemSet()
765 rArgSet.Put( SfxStringItem( FID_VALID_HELPTITLE, aEdtTitle.GetText() ) ); in FillItemSet()
766 rArgSet.Put( SfxStringItem( FID_VALID_HELPTEXT, aEdInputHelp.GetText() ) ); in FillItemSet()
776 const SfxItemSet& rArgSet ) in ScTPValidationError() argument
780 rArgSet ), in ScTPValidationError()
791 mrArgSet ( rArgSet ) in ScTPValidationError()
826 const SfxItemSet& rArgSet ) in Create() argument
828 return ( new ScTPValidationError( pParent, rArgSet ) ); in Create()
833 void __EXPORT ScTPValidationError::Reset( const SfxItemSet& rArgSet ) in Reset() argument
837 if ( rArgSet.GetItemState( FID_VALID_SHOWERR, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
842 if ( rArgSet.GetItemState( FID_VALID_ERRSTYLE, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
847 if ( rArgSet.GetItemState( FID_VALID_ERRTITLE, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
852 if ( rArgSet.GetItemState( FID_VALID_ERRTEXT, sal_True, &pItem ) == SFX_ITEM_SET ) in Reset()
862 sal_Bool __EXPORT ScTPValidationError::FillItemSet( SfxItemSet& rArgSet ) in FillItemSet() argument
864 rArgSet.Put( SfxBoolItem( FID_VALID_SHOWERR, aTsbShow.GetState() == STATE_CHECK ) ); in FillItemSet()
865 rArgSet.Put( SfxAllEnumItem( FID_VALID_ERRSTYLE, aLbAction.GetSelectEntryPos() ) ); in FillItemSet()
866 rArgSet.Put( SfxStringItem( FID_VALID_ERRTITLE, aEdtTitle.GetText() ) ); in FillItemSet()
867 rArgSet.Put( SfxStringItem( FID_VALID_ERRTEXT, aEdError.GetText() ) ); in FillItemSet()