LibreOffice Module sc (master) 1
|
#include <excimp8.hxx>
Public Member Functions | |
XclImpAutoFilterData (RootData *pRoot, const ScRange &rRange) | |
bool | IsActive () const |
bool | IsFiltered () const |
SCTAB | Tab () const |
SCCOL | StartCol () const |
SCROW | StartRow () const |
SCCOL | EndCol () const |
SCROW | EndRow () const |
void | ReadAutoFilter (XclImpStream &rStrm, svl::SharedStringPool &rPool) |
void | Activate () |
void | SetAdvancedRange (const ScRange *pRange) |
void | SetExtractPos (const ScAddress &rAddr) |
void | SetAutoOrAdvanced () |
void | Apply () |
void | EnableRemoveFilter () |
Private Member Functions | |
void | SetCellAttribs () |
void | InsertQueryParam () |
Private Member Functions inherited from ExcRoot | |
ExcRoot (RootData *pNexExcRoot) | |
ExcRoot (const ExcRoot &rCopy) | |
Private Attributes | |
ScDBData * | pCurrDBData |
ScQueryParam | aParam |
ScRange | aCriteriaRange |
bool | bActive:1 |
bool | bCriteria:1 |
bool | bAutoOrAdvanced:1 |
Private Attributes inherited from ExcRoot | |
RootData * | pExcRoot |
Definition at line 62 of file excimp8.hxx.
Definition at line 466 of file excimp8.cxx.
References ScRange::aEnd, aParam, ScRange::aStart, ScQueryParamBase::bInplace, ScAddress::Col(), ScQueryParamTable::nCol1, ScQueryParamTable::nCol2, ScQueryParamTable::nRow1, ScQueryParamTable::nRow2, ScQueryParamTable::nTab, ScAddress::Row(), and ScAddress::Tab().
|
inline |
Definition at line 91 of file excimp8.hxx.
References bActive.
void XclImpAutoFilterData::Apply | ( | ) |
Definition at line 743 of file excimp8.cxx.
References aCriteriaRange, aParam, bActive, bCriteria, EnableRemoveFilter(), EndCol(), EndRow(), XclRoot::GetDoc(), InsertQueryParam(), pCurrDBData, ExcRoot::pExcRoot, RootData::pIR, ScDBData::SetAdvancedQuerySource(), ScDocument::SetAnonymousDBData(), ScDBData::SetQueryParam(), StartCol(), StartRow(), STR_DB_LOCAL_NONAME, and Tab().
void XclImpAutoFilterData::EnableRemoveFilter | ( | ) |
Definition at line 770 of file excimp8.cxx.
References aParam, ScQueryParamBase::AppendEntry(), bActive, bAutoOrAdvanced, and ScQueryEntry::bDoQuery.
Referenced by Apply().
|
inline |
Definition at line 86 of file excimp8.hxx.
References aParam, and ScQueryParamTable::nCol2.
Referenced by Apply(), and SetCellAttribs().
|
inline |
Definition at line 87 of file excimp8.hxx.
References aParam, and ScQueryParamTable::nRow2.
Referenced by Apply(), and XclImpColRowSettings::ConvertHiddenFlags().
|
private |
Definition at line 504 of file excimp8.cxx.
References aParam, ScDocument::CreateQueryParam(), ScDBData::GetAdvancedQuerySource(), XclRoot::GetDoc(), pCurrDBData, ExcRoot::pExcRoot, RootData::pIR, ScDBData::SetAdvancedQuerySource(), ScDBData::SetAutoFilter(), SetCellAttribs(), and ScDBData::SetQueryParam().
Referenced by Apply().
|
inline |
Definition at line 81 of file excimp8.hxx.
References bActive.
Referenced by XclImpColRowSettings::ConvertHiddenFlags().
|
inline |
Definition at line 82 of file excimp8.hxx.
References bAutoOrAdvanced.
Referenced by XclImpColRowSettings::ConvertHiddenFlags().
void XclImpAutoFilterData::ReadAutoFilter | ( | XclImpStream & | rStrm, |
svl::SharedStringPool & | rPool | ||
) |
Definition at line 553 of file excimp8.cxx.
References aEntries, aParam, ScQueryParamBase::AppendEntry(), aStr, ScQueryEntry::bDoQuery, ScQueryEntry::ByString, ScQueryEntry::eConnect, ScQueryEntry::eOp, EXC_AFFLAG_ANDORMASK, EXC_AFFLAG_SIMPLE1, EXC_AFFLAG_SIMPLE2, EXC_AFFLAG_TOP10, EXC_AFFLAG_TOP10PERC, EXC_AFFLAG_TOP10TOP, EXC_AFOPER_EQUAL, EXC_AFOPER_GREATER, EXC_AFOPER_GREATEREQUAL, EXC_AFOPER_LESS, EXC_AFOPER_LESSEQUAL, EXC_AFOPER_NOTEQUAL, EXC_AFTYPE_BOOLERR, EXC_AFTYPE_DOUBLE, EXC_AFTYPE_EMPTY, EXC_AFTYPE_NOTEMPTY, EXC_AFTYPE_RK, EXC_AFTYPE_STRING, ExcelQueryToOooQuery(), get_flag(), get_flagvalue(), XclTools::GetDoubleFromRK(), ScQueryEntry::GetQueryItem(), ScQueryEntry::GetQueryItems(), svl::SharedStringPool::intern(), ScQueryEntry::Item::maString, ScQueryEntry::Item::meType, ScQueryEntry::nField, nType, SvStream::ReadDouble(), SvStream::ReadInt32(), rStrm, SC_AND, SC_BOTPERC, SC_BOTVAL, SC_EQUAL, SC_GREATER, SC_GREATER_EQUAL, SC_LESS, SC_LESS_EQUAL, SC_NOT_EQUAL, SC_OR, SC_TOPPERC, SC_TOPVAL, ScQueryEntry::SetQueryByEmpty(), ScQueryEntry::SetQueryByNonEmpty(), and StartCol().
void XclImpAutoFilterData::SetAdvancedRange | ( | const ScRange * | pRange | ) |
Definition at line 723 of file excimp8.cxx.
References aCriteriaRange, and bCriteria.
|
inline |
Definition at line 94 of file excimp8.hxx.
References bAutoOrAdvanced.
|
private |
Definition at line 494 of file excimp8.cxx.
References ScDocument::ApplyAttr(), ATTR_MERGE_FLAG(), Auto, EndCol(), ScDocument::GetAttr(), XclRoot::GetDoc(), GetValue, ExcRoot::pExcRoot, RootData::pIR, StartCol(), StartRow(), and Tab().
Referenced by InsertQueryParam().
void XclImpAutoFilterData::SetExtractPos | ( | const ScAddress & | rAddr | ) |
Definition at line 734 of file excimp8.cxx.
References aParam, ScQueryParam::bDestPers, ScQueryParamBase::bInplace, ScAddress::Col(), ScQueryParam::nDestCol, ScQueryParam::nDestRow, ScQueryParam::nDestTab, ScAddress::Row(), and ScAddress::Tab().
|
inline |
Definition at line 84 of file excimp8.hxx.
References aParam, and ScQueryParamTable::nCol1.
Referenced by Apply(), ReadAutoFilter(), and SetCellAttribs().
|
inline |
Definition at line 85 of file excimp8.hxx.
References aParam, and ScQueryParamTable::nRow1.
Referenced by Apply(), XclImpColRowSettings::ConvertHiddenFlags(), and SetCellAttribs().
|
inline |
Definition at line 83 of file excimp8.hxx.
References aParam, and ScQueryParamTable::nTab.
Referenced by Apply(), and SetCellAttribs().
|
private |
Definition at line 67 of file excimp8.hxx.
Referenced by Apply(), and SetAdvancedRange().
|
private |
Definition at line 66 of file excimp8.hxx.
Referenced by Apply(), EnableRemoveFilter(), EndCol(), EndRow(), InsertQueryParam(), ReadAutoFilter(), SetExtractPos(), StartCol(), StartRow(), Tab(), and XclImpAutoFilterData().
|
private |
Definition at line 68 of file excimp8.hxx.
Referenced by Activate(), Apply(), EnableRemoveFilter(), and IsActive().
|
private |
Definition at line 70 of file excimp8.hxx.
Referenced by EnableRemoveFilter(), IsFiltered(), and SetAutoOrAdvanced().
|
private |
Definition at line 69 of file excimp8.hxx.
Referenced by Apply(), and SetAdvancedRange().
|
private |
Definition at line 65 of file excimp8.hxx.
Referenced by Apply(), and InsertQueryParam().