LibreOffice Module vcl (master)  1
Public Member Functions | Public Attributes | List of all members
MenuItemData Struct Reference

#include <menuitemlist.hxx>

Collaboration diagram for MenuItemData:

Public Member Functions

 MenuItemData ()
 MenuItemData (const OUString &rStr)
 ~MenuItemData ()
SalLayoutGlyphsGetTextGlyphs (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< MenupSubMenu
OUString aText
SalLayoutGlyphs aTextGlyphs
 Text layout of aText. More...
OUString aHelpText
OUString aTipHelpText
OUString aCommandStr
OUString aHelpCommandStr
OString sIdent
OString aHelpId
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< SalMenuItempSalMenuItem

Detailed Description

Definition at line 32 of file menuitemlist.hxx.

Constructor & Destructor Documentation

MenuItemData::MenuItemData ( )

Definition at line 61 of file menuitemlist.hxx.

References false, and NONE.

MenuItemData::MenuItemData ( const OUString &  rStr)

Definition at line 75 of file menuitemlist.hxx.

References false, and NONE.

MenuItemData::~MenuItemData ( )

Definition at line 34 of file menuitemlist.cxx.

Member Function Documentation

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().

bool MenuItemData::HasCheck ( ) const

Definition at line 96 of file menuitemlist.hxx.


Referenced by Menu::ImplCalcSize(), and Menu::ImplPaint().

Member Data Documentation

vcl::KeyCode MenuItemData::aAccelKey
OUString MenuItemData::aAccessibleDescription
OUString MenuItemData::aAccessibleName

Definition at line 56 of file menuitemlist.hxx.

Referenced by Menu::GetAccessibleName(), and Menu::SetAccessibleName().

OUString MenuItemData::aCommandStr
OUString MenuItemData::aHelpCommandStr
OString MenuItemData::aHelpId
OUString MenuItemData::aHelpText
Image MenuItemData::aImage
Size MenuItemData::aSz
OUString MenuItemData::aText
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
bool MenuItemData::bEnabled
bool MenuItemData::bHiddenOnGUI
bool MenuItemData::bIsTemporary
bool MenuItemData::bVisible
MenuItemType MenuItemData::eType
MenuItemBits MenuItemData::nBits
sal_uInt16 MenuItemData::nId
void* MenuItemData::nUserValue
std::unique_ptr<SalMenuItem> MenuItemData::pSalMenuItem
VclPtr<Menu> MenuItemData::pSubMenu
OString MenuItemData::sIdent

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