LibreOffice Module svx (master) 1
|
#include <ParseContext.hxx>
Public Member Functions | |
SVXCORE_DLLPUBLIC | OSystemParseContext () |
virtual SVXCORE_DLLPUBLIC | ~OSystemParseContext () |
virtual OUString | getErrorMessage (ErrorCode _eCodes) const override |
virtual OString | getIntlKeywordAscii (InternationalKeyCode _eKey) const override |
virtual InternationalKeyCode | getIntlKeyCode (const OString &rToken) const override |
virtual SVXCORE_DLLPUBLIC css::lang::Locale | getPreferredLocale () const override |
gets a locale instance which should be used when parsing in the context specified by this instance More... | |
virtual OUString | getErrorMessage (ErrorCode _eCodes) const=0 |
virtual OString | getIntlKeywordAscii (InternationalKeyCode _eKey) const=0 |
virtual InternationalKeyCode | getIntlKeyCode (const OString &rToken) const=0 |
virtual css::lang::Locale | getPreferredLocale () const=0 |
Private Attributes | |
::std::vector< OUString > | m_aLocalizedKeywords |
Additional Inherited Members | |
Public Types inherited from connectivity::IParseContext | |
enum | ErrorCode { General , ValueNoLike , FieldNoLike , InvalidCompare , InvalidIntCompare , InvalidDateCompare , InvalidRealCompare , InvalidTableNosuch , InvalidTableOrQuery , InvalidColumn , InvalidTableExist , InvalidQueryExist } |
enum | InternationalKeyCode { None , Like , Not , Null , True , False , Is , Between , Or , And , Avg , Count , Max , Min , Sum , Every , Any , Some , StdDevPop , StdDevSamp , VarSamp , VarPop , Collect , Fusion , Intersection } |
Protected Member Functions inherited from connectivity::IParseContext | |
~IParseContext () | |
Definition at line 34 of file ParseContext.hxx.
OSystemParseContext::OSystemParseContext | ( | ) |
Definition at line 37 of file ParseContext.cxx.
References i, m_aLocalizedKeywords, SAL_N_ELEMENTS, and SvxResId().
|
virtual |
Definition at line 44 of file ParseContext.cxx.
|
overridevirtual |
Implements connectivity::IParseContext.
Definition at line 53 of file ParseContext.cxx.
References connectivity::IParseContext::FieldNoLike, connectivity::IParseContext::General, connectivity::IParseContext::InvalidColumn, connectivity::IParseContext::InvalidCompare, connectivity::IParseContext::InvalidDateCompare, connectivity::IParseContext::InvalidIntCompare, connectivity::IParseContext::InvalidQueryExist, connectivity::IParseContext::InvalidRealCompare, connectivity::IParseContext::InvalidTableExist, connectivity::IParseContext::InvalidTableNosuch, connectivity::IParseContext::InvalidTableOrQuery, SvxResId(), and connectivity::IParseContext::ValueNoLike.
|
overridevirtual |
Implements connectivity::IParseContext.
Definition at line 119 of file ParseContext.cxx.
References connectivity::IParseContext::And, connectivity::IParseContext::Any, connectivity::IParseContext::Avg, connectivity::IParseContext::Between, connectivity::IParseContext::Collect, connectivity::IParseContext::Count, connectivity::IParseContext::Every, connectivity::IParseContext::False, connectivity::IParseContext::Fusion, getIntlKeywordAscii(), i, connectivity::IParseContext::Intersection, connectivity::IParseContext::Is, connectivity::IParseContext::Like, connectivity::IParseContext::Max, connectivity::IParseContext::Min, nCount, connectivity::IParseContext::None, connectivity::IParseContext::Not, connectivity::IParseContext::Null, connectivity::IParseContext::Or, SAL_N_ELEMENTS, connectivity::IParseContext::Some, connectivity::IParseContext::StdDevPop, connectivity::IParseContext::StdDevSamp, connectivity::IParseContext::Sum, connectivity::IParseContext::True, connectivity::IParseContext::VarPop, and connectivity::IParseContext::VarSamp.
|
overridevirtual |
Implements connectivity::IParseContext.
Definition at line 76 of file ParseContext.cxx.
References connectivity::IParseContext::And, connectivity::IParseContext::Any, connectivity::IParseContext::Avg, connectivity::IParseContext::Between, connectivity::IParseContext::Collect, connectivity::IParseContext::Count, connectivity::IParseContext::Every, connectivity::IParseContext::False, connectivity::IParseContext::Fusion, connectivity::IParseContext::Intersection, connectivity::IParseContext::Is, connectivity::IParseContext::Like, m_aLocalizedKeywords, connectivity::IParseContext::Max, connectivity::IParseContext::Min, nIndex, connectivity::IParseContext::None, connectivity::IParseContext::Not, connectivity::IParseContext::Null, connectivity::IParseContext::Or, OUStringToOString(), connectivity::IParseContext::Some, connectivity::IParseContext::StdDevPop, connectivity::IParseContext::StdDevSamp, connectivity::IParseContext::Sum, connectivity::IParseContext::True, connectivity::IParseContext::VarPop, and connectivity::IParseContext::VarSamp.
Referenced by getIntlKeyCode().
|
overridevirtual |
gets a locale instance which should be used when parsing in the context specified by this instance
if this is not overridden by derived classes, it returns the static default locale.
Implements connectivity::IParseContext.
Definition at line 48 of file ParseContext.cxx.
References SvtSysLocale::GetLanguageTag(), and LanguageTag::getLocale().
|
private |
Definition at line 38 of file ParseContext.hxx.
Referenced by getIntlKeywordAscii(), and OSystemParseContext().