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

#include <menuitemlist.hxx>

Collaboration diagram for MenuItemData:
[legend]

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
 
voidnUserValue
 
MenuUserDataReleaseFunction aUserValueReleaseFunc
 
Image aImage
 
vcl::KeyCode aAccelKey
 
bool bChecked
 
bool bEnabled
 
bool bVisible
 
bool bIsTemporary
 
bool bHiddenOnGUI
 
Size aSz
 
OUString const aAccessibleName
 
std::unique_ptr< SalMenuItempSalMenuItem
 

Detailed Description

Definition at line 34 of file menuitemlist.hxx.

Constructor & Destructor Documentation

MenuItemData::MenuItemData ( )
inline

Definition at line 62 of file menuitemlist.hxx.

References DONTKNOW, and NONE.

MenuItemData::MenuItemData ( const OUString &  rStr)
inline

Definition at line 76 of file menuitemlist.hxx.

References DONTKNOW, 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, and OutputDevice::ImplLayout().

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

bool MenuItemData::HasCheck ( ) const
inline

Definition at line 97 of file menuitemlist.hxx.

References AUTOCHECK, CHECKABLE, and RADIOCHECK.

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

Member Data Documentation

vcl::KeyCode MenuItemData::aAccelKey
OUString const MenuItemData::aAccessibleName

Definition at line 58 of file menuitemlist.hxx.

Referenced by Menu::GetAccessibleName().

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 41 of file menuitemlist.hxx.

Referenced by Menu::SetItemText().

OUString MenuItemData::aTipHelpText

Definition at line 43 of file menuitemlist.hxx.

Referenced by Menu::GetTipHelpText(), and Menu::SetTipHelpText().

MenuUserDataReleaseFunction MenuItemData::aUserValueReleaseFunc

Definition at line 49 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: