LibreOffice Module comphelper (master) 1
Public Member Functions | Private Attributes | List of all members
comphelper::string::NaturalStringSorter Class Reference

#include <string.hxx>

Public Member Functions

 NaturalStringSorter (const css::uno::Reference< css::uno::XComponentContext > &rContext, css::lang::Locale aLocale)
sal_Int32 compare (const OUString &rLHS, const OUString &rRHS) const
const css::lang::Locale & getLocale () const

Private Attributes

css::lang::Locale const m_aLocale
css::uno::Reference< css::i18n::XCollator > m_xCollator
css::uno::Reference< css::i18n::XBreakIterator > m_xBI

Detailed Description

Definition at line 341 of file string.hxx.

Constructor & Destructor Documentation

◆ NaturalStringSorter()

comphelper::string::NaturalStringSorter::NaturalStringSorter ( const css::uno::Reference< css::uno::XComponentContext > &  rContext,
css::lang::Locale  aLocale 

Definition at line 493 of file string.cxx.

References m_aLocale, m_aLocale, m_xBI, and m_xCollator.

Member Function Documentation

◆ compare()

sal_Int32 comphelper::string::NaturalStringSorter::compare ( const OUString &  rLHS,
const OUString &  rRHS 
) const

Definition at line 351 of file string.hxx.

References comphelper::string::compareNatural(), and m_aLocale.

◆ getLocale()

const css::lang::Locale & comphelper::string::NaturalStringSorter::getLocale ( ) const

Definition at line 355 of file string.hxx.

References m_aLocale.

Member Data Documentation

◆ m_aLocale

css::lang::Locale const comphelper::string::NaturalStringSorter::m_aLocale

Definition at line 344 of file string.hxx.

Referenced by NaturalStringSorter().

◆ m_xBI

css::uno::Reference< css::i18n::XBreakIterator > comphelper::string::NaturalStringSorter::m_xBI

Definition at line 346 of file string.hxx.

Referenced by NaturalStringSorter().

◆ m_xCollator

css::uno::Reference< css::i18n::XCollator > comphelper::string::NaturalStringSorter::m_xCollator

Definition at line 345 of file string.hxx.

Referenced by NaturalStringSorter().

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