LibreOffice Module sc (master) 1
|
#include <xmlfilti.hxx>
Public Member Functions | |
ScXMLConditionContext (ScXMLImport &rImport, sal_Int32 nElement, const rtl::Reference< sax_fastparser::FastAttributeList > &rAttrList, ScQueryParam &rParam, ScXMLFilterContext *pTempFilterContext) | |
virtual | ~ScXMLConditionContext () override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override |
virtual void SAL_CALL | endFastElement (sal_Int32 nElement) override |
void | AddSetItem (const ScQueryEntry::Item &rItem) |
Public Member Functions inherited from ScXMLImportContext | |
ScXMLImportContext (SvXMLImport &rImport) | |
Public Member Functions inherited from SvXMLImportContext | |
SvXMLImportContext (SvXMLImport &rImport) | |
virtual | ~SvXMLImportContext () |
virtual void SAL_CALL | startFastElement (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | startUnknownElement (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | endFastElement (sal_Int32 Element) override |
virtual void SAL_CALL | endUnknownElement (const OUString &Namespace, const OUString &Name) override |
virtual css::uno::Reference< XFastContextHandler > SAL_CALL | createFastChildContext (sal_Int32 Element, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL | createUnknownChildContext (const OUString &Namespace, const OUString &Name, const css::uno::Reference< css::xml::sax::XFastAttributeList > &Attribs) override |
virtual void SAL_CALL | characters (const OUString &aChars) override |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) final override |
virtual void SAL_CALL | acquire () noexcept final override |
virtual void SAL_CALL | release () noexcept final override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () final override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () final override |
Static Public Member Functions | |
static void | GetOperator (std::u16string_view aOpStr, ScQueryParam &rParam, ScQueryEntry &rEntry) |
Private Attributes | |
ScQueryParam & | mrQueryParam |
ScXMLFilterContext * | pFilterContext |
ScQueryEntry::QueryItemsType | maQueryItems |
OUString | sDataType |
OUString | sConditionValue |
OUString | sOperator |
sal_Int32 | nField |
bool | bIsCaseSensitive |
Additional Inherited Members | |
Protected Member Functions inherited from ScXMLImportContext | |
ScXMLImport & | GetScImport () |
const ScXMLImport & | GetScImport () const |
Protected Member Functions inherited from SvXMLImportContext | |
SvXMLImport & | GetImport () |
const SvXMLImport & | GetImport () const |
Definition at line 109 of file xmlfilti.hxx.
ScXMLConditionContext::ScXMLConditionContext | ( | ScXMLImport & | rImport, |
sal_Int32 | nElement, | ||
const rtl::Reference< sax_fastparser::FastAttributeList > & | rAttrList, | ||
ScQueryParam & | rParam, | ||
ScXMLFilterContext * | pTempFilterContext | ||
) |
Definition at line 277 of file xmlfilti.cxx.
References bIsCaseSensitive, GetXMLToken(), IsXMLToken(), nField, sConditionValue, sDataType, sOperator, TABLE, XML_CASE_SENSITIVE, XML_DATA_TYPE, XML_ELEMENT, XML_FIELD_NUMBER, XML_OPERATOR, XML_TEXT, XML_TRUE, and XML_VALUE.
|
overridevirtual |
Definition at line 327 of file xmlfilti.cxx.
void ScXMLConditionContext::AddSetItem | ( | const ScQueryEntry::Item & | rItem | ) |
Definition at line 403 of file xmlfilti.cxx.
References maQueryItems.
Referenced by ScXMLSetItemContext::ScXMLSetItemContext().
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 331 of file xmlfilti.cxx.
References sax_fastparser::castToFastAttributeList(), ScXMLImportContext::GetScImport(), TABLE, XML_ELEMENT, and XML_FILTER_SET_ITEM.
|
overridevirtual |
Reimplemented from SvXMLImportContext.
Definition at line 408 of file xmlfilti.cxx.
References ScQueryParamBase::AppendEntry(), ScQueryParamBase::bByRow, ScQueryParamBase::bCaseSens, ScQueryEntry::bDoQuery, bIsCaseSensitive, ScQueryEntry::ByBackgroundColor, ScQueryEntry::ByString, ScQueryEntry::ByTextColor, ScQueryEntry::ByValue, COL_AUTO(), sax::Converter::convertColor(), ScQueryEntry::eConnect, ScXMLFilterContext::GetConnection(), ScXMLImport::GetDocument(), GetOperator(), ScQueryEntry::GetQueryItem(), ScQueryEntry::GetQueryItems(), ScXMLImportContext::GetScImport(), ScDocument::GetSharedStringPool(), svl::SharedStringPool::intern(), IsXMLToken(), ScQueryEntry::Item::maColor, maQueryItems, ScQueryEntry::Item::maString, ScQueryEntry::Item::meType, ScQueryEntry::Item::mfVal, mrQueryParam, ScQueryParamTable::nCol1, ScQueryEntry::nField, nField, ScQueryParamTable::nRow1, pFilterContext, o3tl::saturating_add(), SC_AND, SC_OR, sConditionValue, sDataType, sOperator, XML_BACKGROUND_COLOR, XML_EMPTY, XML_NUMBER, XML_TEXT_COLOR, XML_TRANSPARENT, and XML_WINDOW_FONT_COLOR.
|
static |
Definition at line 351 of file xmlfilti.cxx.
References ScQueryEntry::eOp, ScQueryParamBase::eSearchType, IsXMLToken(), utl::SearchParam::Normal, utl::SearchParam::Regexp, SC_BEGINS_WITH, SC_BOTPERC, SC_BOTVAL, SC_CONTAINS, SC_DOES_NOT_BEGIN_WITH, SC_DOES_NOT_CONTAIN, SC_DOES_NOT_END_WITH, SC_ENDS_WITH, SC_EQUAL, SC_GREATER, SC_GREATER_EQUAL, SC_LESS, SC_LESS_EQUAL, SC_NOT_EQUAL, SC_TOPPERC, SC_TOPVAL, ScQueryEntry::SetQueryByEmpty(), ScQueryEntry::SetQueryByNonEmpty(), u, XML_BEGINS_WITH, XML_BOTTOM_PERCENT, XML_BOTTOM_VALUES, XML_CONTAINS, XML_DOES_NOT_BEGIN_WITH, XML_DOES_NOT_CONTAIN, XML_DOES_NOT_END_WITH, XML_EMPTY, XML_ENDS_WITH, XML_MATCH, XML_NOEMPTY, XML_NOMATCH, XML_TOP_PERCENT, and XML_TOP_VALUES.
Referenced by endFastElement().
|
private |
Definition at line 119 of file xmlfilti.hxx.
Referenced by endFastElement(), and ScXMLConditionContext().
|
private |
Definition at line 114 of file xmlfilti.hxx.
Referenced by AddSetItem(), and endFastElement().
|
private |
Definition at line 111 of file xmlfilti.hxx.
Referenced by endFastElement().
|
private |
Definition at line 118 of file xmlfilti.hxx.
Referenced by endFastElement(), and ScXMLConditionContext().
|
private |
Definition at line 112 of file xmlfilti.hxx.
Referenced by endFastElement().
|
private |
Definition at line 116 of file xmlfilti.hxx.
Referenced by endFastElement(), and ScXMLConditionContext().
|
private |
Definition at line 115 of file xmlfilti.hxx.
Referenced by endFastElement(), and ScXMLConditionContext().
|
private |
Definition at line 117 of file xmlfilti.hxx.
Referenced by endFastElement(), and ScXMLConditionContext().