LibreOffice Module vcl (master) 1
|
#include <menuitemlist.hxx>
Public Member Functions | |
MenuItemData () | |
MenuItemData (OUString aStr) | |
~MenuItemData () | |
SalLayoutGlyphs * | GetTextGlyphs (const OutputDevice *pOutputDevice) |
Computes aText's text layout (glyphs), cached in aTextGlyphs. More... | |
bool | HasCheck () const |
Public Attributes | |
sal_uInt16 | nId |
MenuItemType | eType |
MenuItemBits | nBits |
VclPtr< Menu > | pSubMenu |
OUString | aText |
SalLayoutGlyphs | aTextGlyphs |
Text layout of aText. More... | |
OUString | aHelpText |
OUString | aTipHelpText |
OUString | aCommandStr |
OUString | aHelpCommandStr |
OUString | sIdent |
OUString | aHelpId |
void * | nUserValue |
MenuUserDataReleaseFunction | aUserValueReleaseFunc |
Image | aImage |
vcl::KeyCode | aAccelKey |
bool | bChecked |
bool | bEnabled |
bool | bVisible |
bool | bIsTemporary |
bool | bHiddenOnGUI |
Size | aSz |
OUString | aAccessibleName |
OUString | aAccessibleDescription |
std::unique_ptr< SalMenuItem > | pSalMenuItem |
Definition at line 33 of file menuitemlist.hxx.
|
inline |
Definition at line 62 of file menuitemlist.hxx.
References NONE.
|
inline |
Definition at line 76 of file menuitemlist.hxx.
MenuItemData::~MenuItemData | ( | ) |
Definition at line 36 of file menuitemlist.cxx.
References aUserValueReleaseFunc, VclPtr< reference_type >::disposeAndClear(), nUserValue, pSalMenuItem, and pSubMenu.
SalLayoutGlyphs * MenuItemData::GetTextGlyphs | ( | const OutputDevice * | pOutputDevice | ) |
Computes aText's text layout (glyphs), cached in aTextGlyphs.
Definition at line 44 of file menuitemlist.cxx.
References aText, aTextGlyphs, GlyphItemsOnly, OutputDevice::ImplLayout(), SalLayoutGlyphs::IsValid(), and removeMnemonicFromString().
|
inline |
Definition at line 97 of file menuitemlist.hxx.
References AUTOCHECK, bChecked, CHECKABLE, nBits, and RADIOCHECK.
vcl::KeyCode MenuItemData::aAccelKey |
Definition at line 50 of file menuitemlist.hxx.
Referenced by MenuBarWindow::ImplCreatePopup().
OUString MenuItemData::aAccessibleDescription |
Definition at line 58 of file menuitemlist.hxx.
OUString MenuItemData::aAccessibleName |
Definition at line 57 of file menuitemlist.hxx.
OUString MenuItemData::aCommandStr |
Definition at line 43 of file menuitemlist.hxx.
Referenced by MenuBarWindow::ImplCreatePopup().
OUString MenuItemData::aHelpCommandStr |
Definition at line 44 of file menuitemlist.hxx.
Referenced by MenuBarWindow::ImplCreatePopup().
OUString MenuItemData::aHelpId |
Definition at line 46 of file menuitemlist.hxx.
Referenced by MenuBarWindow::ImplCreatePopup().
OUString MenuItemData::aHelpText |
Definition at line 41 of file menuitemlist.hxx.
Referenced by MenuBarWindow::ImplCreatePopup().
Image MenuItemData::aImage |
Definition at line 49 of file menuitemlist.hxx.
Size MenuItemData::aSz |
Definition at line 56 of file menuitemlist.hxx.
Referenced by MenuFloatingWindow::ImplGetStartY(), MenuFloatingWindow::ImplHighlightItem(), and MenuFloatingWindow::ImplScroll().
OUString MenuItemData::aText |
Definition at line 39 of file menuitemlist.hxx.
Referenced by GetTextGlyphs(), and MenuBarWindow::ImplCreatePopup().
SalLayoutGlyphs MenuItemData::aTextGlyphs |
Text layout of aText.
Definition at line 40 of file menuitemlist.hxx.
Referenced by GetTextGlyphs().
OUString MenuItemData::aTipHelpText |
Definition at line 42 of file menuitemlist.hxx.
MenuUserDataReleaseFunction MenuItemData::aUserValueReleaseFunc |
Definition at line 48 of file menuitemlist.hxx.
Referenced by ~MenuItemData().
bool MenuItemData::bChecked |
Definition at line 51 of file menuitemlist.hxx.
Referenced by HasCheck().
bool MenuItemData::bEnabled |
Definition at line 52 of file menuitemlist.hxx.
Referenced by Menu::EnableItem(), Menu::HasValidEntries(), IMPL_LINK(), MenuBarWindow::ImplCreatePopup(), and Menu::RemoveDisabledEntries().
bool MenuItemData::bHiddenOnGUI |
Definition at line 55 of file menuitemlist.hxx.
Referenced by Menu::ImplCurrentlyHiddenOnGUI(), and MenuBarWindow::Paint().
bool MenuItemData::bIsTemporary |
Definition at line 54 of file menuitemlist.hxx.
Referenced by MenuFloatingWindow::EndExecute().
bool MenuItemData::bVisible |
Definition at line 53 of file menuitemlist.hxx.
Referenced by Menu::ImplIsVisible().
MenuItemType MenuItemData::eType |
Definition at line 36 of file menuitemlist.hxx.
Referenced by Menu::HasValidEntries(), Menu::ImplIsVisible(), and Menu::RemoveDisabledEntries().
MenuItemBits MenuItemData::nBits |
Definition at line 37 of file menuitemlist.hxx.
Referenced by Menu::CheckItem(), HasCheck(), MenuBarWindow::ImplCreatePopup(), and MenuFloatingWindow::ImplHighlightItem().
sal_uInt16 MenuItemData::nId |
Definition at line 35 of file menuitemlist.hxx.
Referenced by Menu::CheckItem(), MenuFloatingWindow::EndExecute(), and MenuWindow::ImplHandleHelpEvent().
void* MenuItemData::nUserValue |
Definition at line 47 of file menuitemlist.hxx.
Referenced by ~MenuItemData().
std::unique_ptr<SalMenuItem> MenuItemData::pSalMenuItem |
Definition at line 60 of file menuitemlist.hxx.
Referenced by ~MenuItemData().
Definition at line 38 of file menuitemlist.hxx.
Referenced by MenuBarWindow::ChangeHighlightItem(), Menu::HasValidEntries(), IMPL_LINK(), MenuBarWindow::ImplCreatePopup(), MenuFloatingWindow::ImplHighlightItem(), MenuBarWindow::KillActivePopup(), Menu::RemoveDisabledEntries(), and ~MenuItemData().
OUString MenuItemData::sIdent |
Definition at line 45 of file menuitemlist.hxx.
Referenced by MenuFloatingWindow::EndExecute(), and MenuBarWindow::ImplCreatePopup().