LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
svxform::OSystemParseContext Class Referencefinal

#include <ParseContext.hxx>

Inheritance diagram for svxform::OSystemParseContext:
[legend]
Collaboration diagram for svxform::OSystemParseContext:
[legend]

Public Member Functions

 OSystemParseContext ()
 
virtual ~OSystemParseContext ()
 
virtual OUString getErrorMessage (ErrorCode _eCodes) const override
 
virtual OString getIntlKeywordAscii (InternationalKeyCode _eKey) const override
 
virtual InternationalKeyCode getIntlKeyCode (const OString &rToken) const override
 
virtual css::lang::Locale getPreferredLocale () const override
 gets a locale instance which should be used when parsing in the context specified by this instance More...
 

Private Attributes

::std::vector< OUString > m_aLocalizedKeywords
 

Additional Inherited Members

- Public Types inherited from connectivity::IParseContext
enum  ErrorCode {
  ErrorCode::General,
  ErrorCode::ValueNoLike,
  ErrorCode::FieldNoLike,
  ErrorCode::InvalidCompare,
  ErrorCode::InvalidIntCompare,
  ErrorCode::InvalidDateCompare,
  ErrorCode::InvalidRealCompare,
  ErrorCode::InvalidTableNosuch,
  ErrorCode::InvalidTableOrQuery,
  ErrorCode::InvalidColumn,
  ErrorCode::InvalidTableExist,
  ErrorCode::InvalidQueryExist
}
 
enum  InternationalKeyCode {
  InternationalKeyCode::None,
  InternationalKeyCode::Like,
  InternationalKeyCode::Not,
  InternationalKeyCode::Null,
  InternationalKeyCode::True,
  InternationalKeyCode::False,
  InternationalKeyCode::Is,
  InternationalKeyCode::Between,
  InternationalKeyCode::Or,
  InternationalKeyCode::And,
  InternationalKeyCode::Avg,
  InternationalKeyCode::Count,
  InternationalKeyCode::Max,
  InternationalKeyCode::Min,
  InternationalKeyCode::Sum,
  InternationalKeyCode::Every,
  InternationalKeyCode::Any,
  InternationalKeyCode::Some,
  InternationalKeyCode::StdDevPop,
  InternationalKeyCode::StdDevSamp,
  InternationalKeyCode::VarSamp,
  InternationalKeyCode::VarPop,
  InternationalKeyCode::Collect,
  InternationalKeyCode::Fusion,
  InternationalKeyCode::Intersection
}
 
- Protected Member Functions inherited from connectivity::IParseContext
 ~IParseContext ()
 

Detailed Description

Definition at line 34 of file ParseContext.hxx.

Constructor & Destructor Documentation

OSystemParseContext::OSystemParseContext ( )

Definition at line 37 of file ParseContext.cxx.

References i, m_aLocalizedKeywords, SAL_N_ELEMENTS, and SvxResId().

OSystemParseContext::~OSystemParseContext ( )
virtual

Definition at line 44 of file ParseContext.cxx.

Member Function Documentation

OUString OSystemParseContext::getErrorMessage ( ErrorCode  _eCodes) const
overridevirtual
IParseContext::InternationalKeyCode OSystemParseContext::getIntlKeyCode ( const OString &  rToken) const
overridevirtual
OString OSystemParseContext::getIntlKeywordAscii ( InternationalKeyCode  _eKey) const
overridevirtual
css::lang::Locale OSystemParseContext::getPreferredLocale ( ) const
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().

Member Data Documentation

::std::vector< OUString > svxform::OSystemParseContext::m_aLocalizedKeywords
private

Definition at line 38 of file ParseContext.hxx.

Referenced by getIntlKeywordAscii(), and OSystemParseContext().


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