LibreOffice Module sc (master)  1
Public Types | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | List of all members
ScQueryParamBase Struct Reference

#include <queryparam.hxx>

Inheritance diagram for ScQueryParamBase:
[legend]

Public Types

typedef EntriesType::const_iterator const_iterator
 

Public Member Functions

virtual ~ScQueryParamBase ()
 
virtual bool IsValidFieldIndex () const
 
SC_DLLPUBLIC SCSIZE GetEntryCount () const
 
SC_DLLPUBLIC const ScQueryEntryGetEntry (SCSIZE n) const
 
SC_DLLPUBLIC ScQueryEntryGetEntry (SCSIZE n)
 
SC_DLLPUBLIC ScQueryEntryAppendEntry ()
 
ScQueryEntryFindEntryByField (SCCOLROW nField, bool bNew)
 
std::vector< ScQueryEntry * > FindAllEntriesByField (SCCOLROW nField)
 
SC_DLLPUBLIC bool RemoveEntryByField (SCCOLROW nField)
 
SC_DLLPUBLIC void RemoveAllEntriesByField (SCCOLROW nField)
 
void Resize (size_t nNew)
 
void FillInExcelSyntax (svl::SharedStringPool &rPool, const OUString &aCellStr, SCSIZE nIndex, SvNumberFormatter *pFormatter)
 
const_iterator begin () const
 
const_iterator end () const
 

Public Attributes

utl::SearchParam::SearchType eSearchType
 
bool bHasHeader
 
bool bByRow
 
bool bInplace
 
bool bCaseSens
 
bool bDuplicate
 
bool mbRangeLookup
 for spreadsheet functions like MATCH, LOOKUP, HLOOKUP, VLOOKUP More...
 

Protected Types

typedef std::vector< std::unique_ptr< ScQueryEntry > > EntriesType
 

Protected Member Functions

 ScQueryParamBase ()
 
 ScQueryParamBase (const ScQueryParamBase &r)
 
ScQueryParamBaseoperator= (const ScQueryParamBase &r)
 

Protected Attributes

EntriesType m_Entries
 

Detailed Description

Definition at line 42 of file queryparam.hxx.

Member Typedef Documentation

typedef EntriesType::const_iterator ScQueryParamBase::const_iterator

Definition at line 72 of file queryparam.hxx.

typedef std::vector<std::unique_ptr<ScQueryEntry> > ScQueryParamBase::EntriesType
protected

Definition at line 69 of file queryparam.hxx.

Constructor & Destructor Documentation

ScQueryParamBase::~ScQueryParamBase ( )
virtual

Definition at line 110 of file queryparam.cxx.

ScQueryParamBase::ScQueryParamBase ( )
protected

Definition at line 66 of file queryparam.cxx.

References i, m_Entries, and Normal.

ScQueryParamBase::ScQueryParamBase ( const ScQueryParamBase r)
protected

Definition at line 79 of file queryparam.cxx.

References m_Entries.

Member Function Documentation

ScQueryEntry & ScQueryParamBase::AppendEntry ( )
ScQueryParamBase::const_iterator ScQueryParamBase::begin ( ) const

Definition at line 56 of file queryparam.cxx.

References m_Entries.

Referenced by ScTable::ValidQuery().

ScQueryParamBase::const_iterator ScQueryParamBase::end ( ) const

Definition at line 61 of file queryparam.cxx.

References m_Entries.

Referenced by ScTable::ValidQuery().

void ScQueryParamBase::FillInExcelSyntax ( svl::SharedStringPool rPool,
const OUString &  aCellStr,
SCSIZE  nIndex,
SvNumberFormatter pFormatter 
)
std::vector< ScQueryEntry * > ScQueryParamBase::FindAllEntriesByField ( SCCOLROW  nField)

Definition at line 167 of file queryparam.cxx.

References aEntries, and m_Entries.

Referenced by ScGridWindow::LaunchAutoFilterMenu().

ScQueryEntry * ScQueryParamBase::FindEntryByField ( SCCOLROW  nField,
bool  bNew 
)

Definition at line 149 of file queryparam.cxx.

References AppendEntry(), and m_Entries.

Referenced by ScGridWindow::UpdateAutoFilterFromMenu().

const ScQueryEntry & ScQueryParamBase::GetEntry ( SCSIZE  n) const

Definition at line 124 of file queryparam.cxx.

References m_Entries.

Referenced by ScXMLDPFilterContext::AddFilterField(), ScQueryCellIterator::AdvanceQueryParamEntryField(), ScCountIfCellIterator::AdvanceQueryParamEntryField(), ScVbaRange::AutoFilter(), ScQueryCellIterator::BinarySearch(), ScInterpreter::CalculateLookup(), ScTable::CreateExcelQuery(), ScCellRangeObj::createFilterDescriptor(), ScCellRangeObj::createFilterDescriptorByObject(), ScTable::CreateQueryParam(), ScTable::CreateStarQuery(), ScDBQueryDataIterator::DataAccessInternal::DataAccessInternal(), ExcAutoFilterRecs::ExcAutoFilterRecs(), ScCellShell::ExecuteDB(), FillInExcelSyntax(), ScCellRangeObj::filter(), ScQueryCellIterator::FindEqualOrSortedLastInRange(), ScCountIfCellIterator::GetCount(), ScCellShell::GetDBState(), ScDocument::GetFilterEntries(), ScFilterDescriptorBase::getFilterFields(), ScFilterDescriptorBase::getFilterFields2(), ScFilterDescriptorBase::getFilterFields3(), ScPivotFilterDlg::GetOutputItem(), ScDatabaseRangeObj::GetQueryParam(), ScQueryCellIterator::GetThis(), ScPivotFilterDlg::Init(), ScFilterDlg::Init(), ScGridWindow::IsAutoFilterActive(), ScInterpreter::IterateParametersIf(), ScInterpreter::IterateParametersIfs(), lcl_getPrevRowWithEmptyValueLookup(), ScInterpreter::LookupQueryWithCache(), ScDBDocFunc::Query(), ScFilterDlg::RefreshEditRow(), ScDBFunc::RepeatDB(), ScDBDocFunc::RepeatDB(), ScInterpreter::ScCountIf(), ScInterpreter::ScLookup(), ScInterpreter::ScMatch(), ScQueryCellIterator::ScQueryCellIterator(), ScSheetDPData::ScSheetDPData(), ScFilterDescriptorBase::setFilterFields(), ScDatabaseRangeObj::SetQueryParam(), ScDBDocFunc::Sort(), ScDBFunc::ToggleAutoFilter(), ScTable::TopTenQuery(), ScDPObject::UpdateReference(), ScDPCache::ValidQuery(), ScTable::ValidQuery(), and ScXMLExportDataPilot::WriteDPFilter().

ScQueryEntry & ScQueryParamBase::GetEntry ( SCSIZE  n)

Definition at line 129 of file queryparam.cxx.

References m_Entries.

SCSIZE ScQueryParamBase::GetEntryCount ( ) const
bool ScQueryParamBase::IsValidFieldIndex ( ) const
virtual

Reimplemented in ScDBQueryParamMatrix, and ScDBQueryParamInternal.

Definition at line 114 of file queryparam.cxx.

ScQueryParamBase & ScQueryParamBase::operator= ( const ScQueryParamBase r)
protected

Definition at line 89 of file queryparam.cxx.

References bByRow, bCaseSens, bDuplicate, bHasHeader, bInplace, eSearchType, m_Entries, and mbRangeLookup.

void ScQueryParamBase::RemoveAllEntriesByField ( SCCOLROW  nField)

Definition at line 199 of file queryparam.cxx.

References RemoveEntryByField().

Referenced by ScGridWindow::UpdateAutoFilterFromMenu().

bool ScQueryParamBase::RemoveEntryByField ( SCCOLROW  nField)
void ScQueryParamBase::Resize ( size_t  nNew)

Member Data Documentation

bool ScQueryParamBase::bByRow
bool ScQueryParamBase::bCaseSens
bool ScQueryParamBase::bDuplicate
bool ScQueryParamBase::bHasHeader
bool ScQueryParamBase::bInplace
utl::SearchParam::SearchType ScQueryParamBase::eSearchType
EntriesType ScQueryParamBase::m_Entries
protected
bool ScQueryParamBase::mbRangeLookup

for spreadsheet functions like MATCH, LOOKUP, HLOOKUP, VLOOKUP

Definition at line 50 of file queryparam.hxx.

Referenced by ScQueryCellIterator::FindEqualOrSortedLastInRange(), operator=(), and ScTable::ValidQuery().


The documentation for this struct was generated from the following files: