51 std::unique_ptr<SalLayout> pLayout
52 = pOutputDevice->
ImplLayout(aNonMnemonicString, 0, aNonMnemonicString.getLength(),
74 const OUString &rIdent
79 pData->sIdent = rIdent;
82 pData->pSubMenu =
nullptr;
83 pData->nUserValue =
nullptr;
84 pData->bChecked =
false;
85 pData->bEnabled =
true;
86 pData->bVisible =
true;
87 pData->bIsTemporary =
false;
92 aSalMIData.
nBits = nBits;
93 aSalMIData.
pMenu = pMenu;
94 aSalMIData.
aText = rStr;
111 pData->sIdent = rIdent;
114 pData->pSubMenu =
nullptr;
115 pData->nUserValue =
nullptr;
116 pData->bChecked =
false;
117 pData->bEnabled =
true;
118 pData->bVisible =
true;
119 pData->bIsTemporary =
false;
125 aSalMIData.
pMenu =
nullptr;
126 aSalMIData.
aText.clear();
183 for ( rPos = 0; rPos < nListCount; rPos++)
188 if (nDuplicates == 1)
190 if (rPos > nCurrentPos)
213 ascii = sal::static_int_cast<char>(
'A' + (aKeyCode.
GetCode() -
KEY_A));
217 for ( rPos = 0; rPos < nListCount; rPos++)
220 if (
pData->bEnabled )
222 sal_Int32
n =
pData->aText.indexOf(
'~');
238 if (nDuplicates == 1)
240 if (rPos > nCurrentPos)
284 ascii = sal::static_int_cast<char>(
'A' + (aKeyCode.
GetCode() -
KEY_A));
290 if (
pData->bEnabled )
292 sal_Int32
n =
pData->aText.indexOf(
'~');
const vcl::I18nHelper & GetUILocaleI18nHelper() const
const LanguageTag & GetUILanguageTag() const
static const AllSettings & GetSettings()
Gets the application's settings.
LanguageType getLanguageType(bool bResolveSystem=true) const
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
std::unique_ptr< SalLayout > ImplLayout(const OUString &, sal_Int32 nIndex, sal_Int32 nLen, const Point &rLogicPos=Point(0, 0), tools::Long nLogicWidth=0, KernArraySpan aKernArray=KernArraySpan(), o3tl::span< const sal_Bool > pKashidaArray={}, SalLayoutFlags flags=SalLayoutFlags::NONE, vcl::text::TextLayoutCache const *=nullptr, const SalLayoutGlyphs *pGlyphs=nullptr) const
virtual bool MapUnicodeToKeyCode(sal_Unicode aUnicode, LanguageType aLangType, vcl::KeyCode &rKeyCode)=0
virtual std::unique_ptr< SalMenuItem > CreateMenuItem(const SalItemParams &pItemData)
bool MatchMnemonic(std::u16string_view rString, sal_Unicode cMnemonicChar) const
sal_uInt16 GetCode() const
SalFrame * ImplGetFrame() const
constexpr sal_uInt16 KEY_Z
constexpr sal_uInt16 KEY_A
std::unique_ptr< sal_Int32[]> pData
ImplSVData * ImplGetSVData()
vcl::Window * ImplGetDefaultWindow()
Returns either the application window, or the default GL context window.
OUString removeMnemonicFromString(OUString const &rStr)