LibreOffice Module vcl (master)
1
|
#include <menuitemlist.hxx>
Public Member Functions | |
MenuItemData () | |
MenuItemData (const OUString &rStr) | |
~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 |
OString | sIdent |
OString | 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 32 of file menuitemlist.hxx.
|
inline |
Definition at line 61 of file menuitemlist.hxx.
References NONE.
|
inline |
Definition at line 75 of file menuitemlist.hxx.
References NONE.
MenuItemData::~MenuItemData | ( | ) |
Definition at line 34 of file menuitemlist.cxx.
SalLayoutGlyphs * MenuItemData::GetTextGlyphs | ( | const OutputDevice * | pOutputDevice | ) |
Computes aText's text layout (glyphs), cached in aTextGlyphs.
Definition at line 42 of file menuitemlist.cxx.
References OutputDevice::GetNonMnemonicString(), GlyphItemsOnly, OutputDevice::ImplLayout(), and Point.
Referenced by Menu::ImplCalcSize(), and Menu::ImplPaint().
|
inline |
Definition at line 96 of file menuitemlist.hxx.
References AUTOCHECK, CHECKABLE, and RADIOCHECK.
Referenced by Menu::ImplCalcSize(), and Menu::ImplPaint().
vcl::KeyCode MenuItemData::aAccelKey |
Definition at line 49 of file menuitemlist.hxx.
Referenced by Menu::GetAccelKey(), Menu::ImplCalcSize(), MenuBarWindow::ImplCreatePopup(), Menu::ImplPaint(), and Menu::SetAccelKey().
OUString MenuItemData::aAccessibleDescription |
Definition at line 57 of file menuitemlist.hxx.
Referenced by Menu::GetAccessibleDescription(), and Menu::SetAccessibleDescription().
OUString MenuItemData::aAccessibleName |
Definition at line 56 of file menuitemlist.hxx.
Referenced by Menu::GetAccessibleName(), and Menu::SetAccessibleName().
OUString MenuItemData::aCommandStr |
Definition at line 42 of file menuitemlist.hxx.
Referenced by Menu::GetHelpId(), Menu::GetItemCommand(), MenuBarWindow::ImplCreatePopup(), Menu::ImplGetHelpText(), Menu::ImplIsVisible(), and Menu::SetItemCommand().
OUString MenuItemData::aHelpCommandStr |
Definition at line 43 of file menuitemlist.hxx.
Referenced by Menu::GetHelpCommand(), MenuBarWindow::ImplCreatePopup(), and Menu::SetHelpCommand().
OString MenuItemData::aHelpId |
Definition at line 45 of file menuitemlist.hxx.
Referenced by Menu::GetHelpId(), MenuBarWindow::ImplCreatePopup(), Menu::ImplGetHelpText(), and Menu::SetHelpId().
OUString MenuItemData::aHelpText |
Definition at line 40 of file menuitemlist.hxx.
Referenced by MenuBarWindow::ImplCreatePopup(), Menu::ImplGetHelpText(), and Menu::SetHelpText().
Image MenuItemData::aImage |
Definition at line 48 of file menuitemlist.hxx.
Referenced by Menu::GetItemImage(), Menu::ImplCalcSize(), Menu::ImplPaint(), ImplSetMenuItemData(), and Menu::SetItemImage().
Size MenuItemData::aSz |
Definition at line 55 of file menuitemlist.hxx.
Referenced by Menu::EnableItem(), MenuBarWindow::HighlightItem(), IMPL_LINK(), PopupMenu::ImplCalcHeight(), Menu::ImplCalcSize(), PopupMenu::ImplCalcVisEntries(), MenuBarWindow::ImplCreatePopup(), MenuBarWindow::ImplFindEntry(), MenuFloatingWindow::ImplGetItemRect(), MenuBarWindow::ImplGetItemRect(), MenuFloatingWindow::ImplGetStartY(), MenuFloatingWindow::ImplHighlightItem(), Menu::ImplPaint(), MenuFloatingWindow::ImplScroll(), MenuFloatingWindow::InvalidateItem(), and MenuFloatingWindow::RenderHighlightItem().
OUString MenuItemData::aText |
Definition at line 38 of file menuitemlist.hxx.
Referenced by Menu::CreateAutoMnemonics(), Menu::GetActivationKey(), MenuItemList::GetItemCount(), Menu::GetItemText(), Menu::ImplCalcSize(), MenuBarWindow::ImplCreatePopup(), Menu::ImplPaint(), ImplSetMenuItemData(), MenuItemList::SearchItem(), and Menu::SetItemText().
SalLayoutGlyphs MenuItemData::aTextGlyphs |
Text layout of aText.
Definition at line 39 of file menuitemlist.hxx.
Referenced by Menu::SetItemText().
OUString MenuItemData::aTipHelpText |
Definition at line 41 of file menuitemlist.hxx.
Referenced by Menu::GetTipHelpText(), and Menu::SetTipHelpText().
MenuUserDataReleaseFunction MenuItemData::aUserValueReleaseFunc |
Definition at line 47 of file menuitemlist.hxx.
Referenced by Menu::SetUserValue().
bool MenuItemData::bChecked |
Definition at line 50 of file menuitemlist.hxx.
Referenced by Menu::CheckItem(), Menu::ImplPaint(), MenuItemList::Insert(), MenuItemList::InsertSeparator(), and Menu::IsItemChecked().
bool MenuItemData::bEnabled |
Definition at line 51 of file menuitemlist.hxx.
Referenced by Menu::EnableItem(), MenuItemList::GetItemCount(), IMPL_LINK(), MenuBarWindow::ImplCreatePopup(), MenuFloatingWindow::ImplCursorUpDown(), PopupMenu::ImplExecute(), Menu::ImplIsVisible(), Menu::ImplPaint(), MenuItemList::Insert(), MenuItemList::InsertSeparator(), Menu::IsItemEnabled(), MenuFloatingWindow::KeyInput(), MenuFloatingWindow::MouseButtonUp(), Menu::RemoveDisabledEntries(), MenuFloatingWindow::RenderHighlightItem(), and MenuItemList::SearchItem().
bool MenuItemData::bHiddenOnGUI |
Definition at line 54 of file menuitemlist.hxx.
Referenced by MenuBarWindow::ImplCreatePopup(), Menu::ImplCurrentlyHiddenOnGUI(), Menu::ImplPaint(), and MenuBarWindow::Paint().
bool MenuItemData::bIsTemporary |
Definition at line 53 of file menuitemlist.hxx.
Referenced by Menu::Deactivate(), MenuFloatingWindow::EndExecute(), PopupMenu::ImplExecute(), Menu::ImplPaint(), MenuItemList::Insert(), and MenuItemList::InsertSeparator().
bool MenuItemData::bVisible |
Definition at line 52 of file menuitemlist.hxx.
Referenced by Menu::ImplIsVisible(), MenuItemList::Insert(), MenuItemList::InsertSeparator(), and Menu::ShowItem().
MenuItemType MenuItemData::eType |
Definition at line 35 of file menuitemlist.hxx.
Referenced by Menu::GetItemType(), MenuBarWindow::HandleKeyEvent(), MenuBarWindow::HighlightItem(), Menu::ImplCalcSize(), MenuFloatingWindow::ImplCursorUpDown(), PopupMenu::ImplExecute(), MenuFloatingWindow::ImplGetItemRect(), MenuBarWindow::ImplGetItemRect(), Menu::ImplIsVisible(), Menu::ImplPaint(), ImplSetMenuItemData(), MenuItemList::Insert(), MenuItemList::InsertSeparator(), MenuFloatingWindow::MouseButtonUp(), Menu::RemoveDisabledEntries(), and MenuFloatingWindow::RenderHighlightItem().
MenuItemBits MenuItemData::nBits |
Definition at line 36 of file menuitemlist.hxx.
Referenced by Menu::CheckItem(), Menu::CreateAutoMnemonics(), Menu::GetItemBits(), MenuBarWindow::ImplCreatePopup(), MenuFloatingWindow::ImplGetItemRect(), MenuFloatingWindow::ImplHighlightItem(), Menu::ImplIsSelectable(), Menu::ImplPaint(), Menu::ImplSelect(), MenuItemList::Insert(), MenuItemList::InsertSeparator(), MenuFloatingWindow::MouseButtonUp(), MenuFloatingWindow::RenderHighlightItem(), and Menu::SetItemBits().
sal_uInt16 MenuItemData::nId |
Definition at line 34 of file menuitemlist.hxx.
Referenced by Menu::CheckItem(), MenuFloatingWindow::EndExecute(), Menu::GetItemId(), Menu::ImplCallHighlight(), PopupMenu::ImplExecute(), Menu::ImplFindMenu(), MenuWindow::ImplHandleHelpEvent(), Menu::ImplPaint(), MenuItemList::Insert(), and MenuItemList::InsertSeparator().
void* MenuItemData::nUserValue |
Definition at line 46 of file menuitemlist.hxx.
Referenced by Menu::GetUserValue(), MenuItemList::Insert(), MenuItemList::InsertSeparator(), and Menu::SetUserValue().
std::unique_ptr<SalMenuItem> MenuItemData::pSalMenuItem |
Definition at line 59 of file menuitemlist.hxx.
Referenced by MenuItemList::Insert(), MenuItemList::InsertSeparator(), Menu::InsertSeparator(), Menu::NbcInsertItem(), Menu::SetAccelKey(), Menu::SetItemImage(), Menu::SetItemText(), and Menu::SetPopupMenu().
Definition at line 37 of file menuitemlist.hxx.
Referenced by MenuBarWindow::ChangeHighlightItem(), MenuFloatingWindow::ChangeHighlightItem(), MenuFloatingWindow::doShutdown(), Menu::GetPopupMenu(), IMPL_LINK(), Menu::ImplCalcSize(), MenuBarWindow::ImplCreatePopup(), Menu::ImplFindMenu(), Menu::ImplFindSelectMenu(), MenuFloatingWindow::ImplHighlightItem(), Menu::ImplPaint(), MenuItemList::Insert(), MenuItemList::InsertSeparator(), MenuFloatingWindow::KeyInput(), MenuBarWindow::KillActivePopup(), MenuFloatingWindow::MouseButtonUp(), MenuFloatingWindow::MouseMove(), Menu::RemoveDisabledEntries(), PopupMenu::SelectItem(), and Menu::SetPopupMenu().
OString MenuItemData::sIdent |
Definition at line 44 of file menuitemlist.hxx.
Referenced by MenuFloatingWindow::EndExecute(), Menu::GetItemId(), Menu::GetItemIdent(), Menu::ImplCallHighlight(), MenuBarWindow::ImplCreatePopup(), Menu::ImplIsVisible(), MenuItemList::Insert(), and MenuItemList::InsertSeparator().