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

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 ()
 

Detailed Description

Definition at line 34 of file ParseContext.hxx.

Constructor & Destructor Documentation

◆ OSystemParseContext()

OSystemParseContext::OSystemParseContext ( )

Definition at line 37 of file ParseContext.cxx.

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

◆ ~OSystemParseContext()

OSystemParseContext::~OSystemParseContext ( )
virtual

Definition at line 44 of file ParseContext.cxx.

Member Function Documentation

◆ getErrorMessage()

OUString OSystemParseContext::getErrorMessage ( ErrorCode  _eCodes) const
overridevirtual

◆ getIntlKeyCode()

IParseContext::InternationalKeyCode OSystemParseContext::getIntlKeyCode ( const OString &  rToken) const
overridevirtual

◆ getIntlKeywordAscii()

OString OSystemParseContext::getIntlKeywordAscii ( InternationalKeyCode  _eKey) const
overridevirtual

◆ getPreferredLocale()

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

◆ m_aLocalizedKeywords

::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: