LibreOffice Module vcl (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
MnemonicGenerator Class Reference

#include <mnemonic.hxx>

Public Member Functions

 MnemonicGenerator (sal_Unicode cMnemonic=MNEMONIC_CHAR)
MnemonicGeneratoroperator= (MnemonicGenerator const &)
 MnemonicGenerator (MnemonicGenerator const &)
void RegisterMnemonic (const OUString &rKey)
OUString CreateMnemonic (const OUString &rKey)
css::uno::Reference< css::i18n::XCharacterClassification > const & GetCharClass ()

Static Public Member Functions

static OUString EraseAllMnemonicChars (const OUString &rStr)

Private Member Functions

SAL_DLLPRIVATE sal_Unicode ImplFindMnemonic (const OUString &rKey)

Static Private Member Functions

static SAL_DLLPRIVATE sal_uInt16 ImplGetMnemonicIndex (sal_Unicode c)

Private Attributes

sal_Unicode m_cMnemonic
sal_uInt8 maMnemonics [MAX_MNEMONICS]
css::uno::Reference< css::i18n::XCharacterClassification > mxCharClass

Detailed Description

Definition at line 54 of file mnemonic.hxx.

Constructor & Destructor Documentation

◆ MnemonicGenerator() [1/2]

MnemonicGenerator::MnemonicGenerator ( sal_Unicode  cMnemonic = MNEMONIC_CHAR)

Definition at line 34 of file window/mnemonic.cxx.

References maMnemonics.

◆ MnemonicGenerator() [2/2]

MnemonicGenerator::MnemonicGenerator ( MnemonicGenerator const &  )

Member Function Documentation

◆ CreateMnemonic()

OUString MnemonicGenerator::CreateMnemonic ( const OUString &  rKey)

◆ EraseAllMnemonicChars()

OUString MnemonicGenerator::EraseAllMnemonicChars ( const OUString &  rStr)

◆ GetCharClass()

uno::Reference< i18n::XCharacterClassification > const & MnemonicGenerator::GetCharClass ( )

◆ ImplFindMnemonic()

sal_Unicode MnemonicGenerator::ImplFindMnemonic ( const OUString &  rKey)

Definition at line 66 of file window/mnemonic.cxx.

References m_cMnemonic, nIndex, and SAL_WARN.

Referenced by CreateMnemonic(), and RegisterMnemonic().

◆ ImplGetMnemonicIndex()

sal_uInt16 MnemonicGenerator::ImplGetMnemonicIndex ( sal_Unicode  c)

◆ operator=()

MnemonicGenerator & MnemonicGenerator::operator= ( MnemonicGenerator const &  )

◆ RegisterMnemonic()

void MnemonicGenerator::RegisterMnemonic ( const OUString &  rKey)

Member Data Documentation

◆ m_cMnemonic

sal_Unicode MnemonicGenerator::m_cMnemonic

Definition at line 56 of file mnemonic.hxx.

Referenced by CreateMnemonic(), and ImplFindMnemonic().

◆ maMnemonics

sal_uInt8 MnemonicGenerator::maMnemonics[MAX_MNEMONICS]

Definition at line 58 of file mnemonic.hxx.

Referenced by CreateMnemonic(), MnemonicGenerator(), and RegisterMnemonic().

◆ mxCharClass

css::uno::Reference< css::i18n::XCharacterClassification > MnemonicGenerator::mxCharClass

Definition at line 59 of file mnemonic.hxx.

Referenced by GetCharClass().

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