LibreOffice Module vcl (master) 1
Classes | Namespaces | Macros | Functions
mnemonic.hxx File Reference
#include <com/sun/star/uno/Reference.h>
#include <rtl/ustring.hxx>
#include <vcl/dllapi.h>
Include dependency graph for mnemonic.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MnemonicGenerator
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::i18n
 

Macros

#define MNEMONIC_RANGE_1_START   0x30
 
#define MNEMONIC_RANGE_1_END   0x39
 
#define MNEMONIC_RANGE_2_START   0x61
 
#define MNEMONIC_RANGE_2_END   0x7A
 
#define MNEMONIC_RANGE_3_START   0x0430
 
#define MNEMONIC_RANGE_3_END   0x044F
 
#define MNEMONIC_RANGE_4_START   0x03B1
 
#define MNEMONIC_RANGE_4_END   0x03CB
 
#define MNEMONIC_RANGES   4
 
#define MAX_MNEMONICS
 
#define MNEMONIC_CHAR   u'~'
 
#define MNEMONIC_INDEX_NOTFOUND   (sal_uInt16(0xFFFF))
 

Functions

VCL_DLLPUBLIC OUString removeMnemonicFromString (OUString const &rStr, sal_Int32 &rMnemonicPos)
 
VCL_DLLPUBLIC OUString removeMnemonicFromString (OUString const &rStr)
 

Macro Definition Documentation

◆ MAX_MNEMONICS

#define MAX_MNEMONICS
Value:
#define MNEMONIC_RANGE_2_START
Definition: mnemonic.hxx:34
#define MNEMONIC_RANGE_1_START
Definition: mnemonic.hxx:31
#define MNEMONIC_RANGE_3_END
Definition: mnemonic.hxx:38
#define MNEMONIC_RANGE_1_END
Definition: mnemonic.hxx:32
#define MNEMONIC_RANGE_3_START
Definition: mnemonic.hxx:37
#define MNEMONIC_RANGE_4_START
Definition: mnemonic.hxx:40
#define MNEMONIC_RANGE_2_END
Definition: mnemonic.hxx:35
#define MNEMONIC_RANGE_4_END
Definition: mnemonic.hxx:41

Definition at line 43 of file mnemonic.hxx.

◆ MNEMONIC_CHAR

#define MNEMONIC_CHAR   u'~'

Definition at line 48 of file mnemonic.hxx.

◆ MNEMONIC_INDEX_NOTFOUND

#define MNEMONIC_INDEX_NOTFOUND   (sal_uInt16(0xFFFF))

Definition at line 49 of file mnemonic.hxx.

◆ MNEMONIC_RANGE_1_END

#define MNEMONIC_RANGE_1_END   0x39

Definition at line 32 of file mnemonic.hxx.

◆ MNEMONIC_RANGE_1_START

#define MNEMONIC_RANGE_1_START   0x30

Definition at line 31 of file mnemonic.hxx.

◆ MNEMONIC_RANGE_2_END

#define MNEMONIC_RANGE_2_END   0x7A

Definition at line 35 of file mnemonic.hxx.

◆ MNEMONIC_RANGE_2_START

#define MNEMONIC_RANGE_2_START   0x61

Definition at line 34 of file mnemonic.hxx.

◆ MNEMONIC_RANGE_3_END

#define MNEMONIC_RANGE_3_END   0x044F

Definition at line 38 of file mnemonic.hxx.

◆ MNEMONIC_RANGE_3_START

#define MNEMONIC_RANGE_3_START   0x0430

Definition at line 37 of file mnemonic.hxx.

◆ MNEMONIC_RANGE_4_END

#define MNEMONIC_RANGE_4_END   0x03CB

Definition at line 41 of file mnemonic.hxx.

◆ MNEMONIC_RANGE_4_START

#define MNEMONIC_RANGE_4_START   0x03B1

Definition at line 40 of file mnemonic.hxx.

◆ MNEMONIC_RANGES

#define MNEMONIC_RANGES   4

Definition at line 42 of file mnemonic.hxx.

Function Documentation

◆ removeMnemonicFromString() [1/2]

VCL_DLLPUBLIC OUString removeMnemonicFromString ( OUString const &  rStr)

◆ removeMnemonicFromString() [2/2]

VCL_DLLPUBLIC OUString removeMnemonicFromString ( OUString const &  rStr,
sal_Int32 &  rMnemonicPos 
)

Definition at line 18 of file text/mnemonic.cxx.

References aStr, i, and u.