Lines Matching refs:_nFeature
249 FeatureState SAL_CALL FormOperations::getState( ::sal_Int16 _nFeature ) throw (RuntimeException) in getState() argument
267 switch ( _nFeature ) in getState()
432 ::sal_Bool SAL_CALL FormOperations::isEnabled( ::sal_Int16 _nFeature ) throw (RuntimeException) in isEnabled() argument
436 FeatureState aState( getState( _nFeature ) ); in isEnabled()
443 static bool lcl_needConfirmCommit( sal_Int32 _nFeature ) in lcl_needConfirmCommit() argument
445 return ( ( _nFeature == FormFeature::ReloadForm ) in lcl_needConfirmCommit()
446 || ( _nFeature == FormFeature::RemoveFilterAndSort ) in lcl_needConfirmCommit()
447 || ( _nFeature == FormFeature::ToggleApplyFilter ) in lcl_needConfirmCommit()
448 || ( _nFeature == FormFeature::SortAscending ) in lcl_needConfirmCommit()
449 || ( _nFeature == FormFeature::SortDescending ) in lcl_needConfirmCommit()
450 || ( _nFeature == FormFeature::AutoFilter ) in lcl_needConfirmCommit()
451 || ( _nFeature == FormFeature::InteractiveSort ) in lcl_needConfirmCommit()
452 || ( _nFeature == FormFeature::InteractiveFilter ) in lcl_needConfirmCommit()
455 static bool lcl_requiresArguments( sal_Int32 _nFeature ) in lcl_requiresArguments() argument
457 return ( _nFeature == FormFeature::MoveAbsolute ); in lcl_requiresArguments()
459 static bool lcl_isExecutableFeature( sal_Int32 _nFeature ) in lcl_isExecutableFeature() argument
461 return ( _nFeature != FormFeature::TotalRecords ); in lcl_isExecutableFeature()
466 …void SAL_CALL FormOperations::execute( ::sal_Int16 _nFeature ) throw (RuntimeException, IllegalArg… in execute() argument
471 …if ( ( _nFeature != FormFeature::DeleteRecord ) && ( _nFeature != FormFeature::UndoRecordChanges )… in execute()
483 if ( lcl_needConfirmCommit( _nFeature ) ) in execute()
501 switch ( _nFeature ) in execute()
621 if ( FormFeature::UndoRecordChanges == _nFeature ) in execute()
713 if ( lcl_requiresArguments( _nFeature ) ) in execute()
715 else if ( !lcl_isExecutableFeature( _nFeature ) ) in execute()
733 …void SAL_CALL FormOperations::executeWithArguments( ::sal_Int16 _nFeature, const Sequence< NamedVa… in executeWithArguments() argument
735 if ( !lcl_requiresArguments( _nFeature ) ) in executeWithArguments()
737 execute( _nFeature ); in executeWithArguments()
745 if ( !lcl_isExecutableFeature( _nFeature ) ) in executeWithArguments()
748 switch ( _nFeature ) in executeWithArguments()