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 (OUString aStr)
 
 ~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
 
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< SalMenuItempSalMenuItem
 

Detailed Description

Definition at line 33 of file menuitemlist.hxx.

Constructor & Destructor Documentation

◆ MenuItemData() [1/2]

MenuItemData::MenuItemData ( )
inline

Definition at line 62 of file menuitemlist.hxx.

References NONE.

◆ MenuItemData() [2/2]

MenuItemData::MenuItemData ( OUString  aStr)
inline

Definition at line 76 of file menuitemlist.hxx.

References aStr, and NONE.

◆ ~MenuItemData()

MenuItemData::~MenuItemData ( )

Member Function Documentation

◆ GetTextGlyphs()

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

◆ HasCheck()

bool MenuItemData::HasCheck ( ) const
inline

Definition at line 97 of file menuitemlist.hxx.

References AUTOCHECK, bChecked, CHECKABLE, nBits, and RADIOCHECK.

Member Data Documentation

◆ aAccelKey

vcl::KeyCode MenuItemData::aAccelKey

Definition at line 50 of file menuitemlist.hxx.

Referenced by MenuBarWindow::ImplCreatePopup().

◆ aAccessibleDescription

OUString MenuItemData::aAccessibleDescription

Definition at line 58 of file menuitemlist.hxx.

◆ aAccessibleName

OUString MenuItemData::aAccessibleName

Definition at line 57 of file menuitemlist.hxx.

◆ aCommandStr

OUString MenuItemData::aCommandStr

Definition at line 43 of file menuitemlist.hxx.

Referenced by MenuBarWindow::ImplCreatePopup().

◆ aHelpCommandStr

OUString MenuItemData::aHelpCommandStr

Definition at line 44 of file menuitemlist.hxx.

Referenced by MenuBarWindow::ImplCreatePopup().

◆ aHelpId

OUString MenuItemData::aHelpId

Definition at line 46 of file menuitemlist.hxx.

Referenced by MenuBarWindow::ImplCreatePopup().

◆ aHelpText

OUString MenuItemData::aHelpText

Definition at line 41 of file menuitemlist.hxx.

Referenced by MenuBarWindow::ImplCreatePopup().

◆ aImage

Image MenuItemData::aImage

Definition at line 49 of file menuitemlist.hxx.

◆ aSz

Size MenuItemData::aSz

◆ aText

OUString MenuItemData::aText

Definition at line 39 of file menuitemlist.hxx.

Referenced by GetTextGlyphs(), and MenuBarWindow::ImplCreatePopup().

◆ aTextGlyphs

SalLayoutGlyphs MenuItemData::aTextGlyphs

Text layout of aText.

Definition at line 40 of file menuitemlist.hxx.

Referenced by GetTextGlyphs().

◆ aTipHelpText

OUString MenuItemData::aTipHelpText

Definition at line 42 of file menuitemlist.hxx.

◆ aUserValueReleaseFunc

MenuUserDataReleaseFunction MenuItemData::aUserValueReleaseFunc

Definition at line 48 of file menuitemlist.hxx.

Referenced by ~MenuItemData().

◆ bChecked

bool MenuItemData::bChecked

Definition at line 51 of file menuitemlist.hxx.

Referenced by HasCheck().

◆ bEnabled

bool MenuItemData::bEnabled

◆ bHiddenOnGUI

bool MenuItemData::bHiddenOnGUI

Definition at line 55 of file menuitemlist.hxx.

Referenced by Menu::ImplCurrentlyHiddenOnGUI(), and MenuBarWindow::Paint().

◆ bIsTemporary

bool MenuItemData::bIsTemporary

Definition at line 54 of file menuitemlist.hxx.

Referenced by MenuFloatingWindow::EndExecute().

◆ bVisible

bool MenuItemData::bVisible

Definition at line 53 of file menuitemlist.hxx.

Referenced by Menu::ImplIsVisible().

◆ eType

MenuItemType MenuItemData::eType

◆ nBits

MenuItemBits MenuItemData::nBits

◆ nId

sal_uInt16 MenuItemData::nId

◆ nUserValue

void* MenuItemData::nUserValue

Definition at line 47 of file menuitemlist.hxx.

Referenced by ~MenuItemData().

◆ pSalMenuItem

std::unique_ptr<SalMenuItem> MenuItemData::pSalMenuItem

Definition at line 60 of file menuitemlist.hxx.

Referenced by ~MenuItemData().

◆ pSubMenu

VclPtr<Menu> MenuItemData::pSubMenu

◆ sIdent

OUString MenuItemData::sIdent

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