LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
SalInstanceMenu Class Reference
Inheritance diagram for SalInstanceMenu:
[legend]
Collaboration diagram for SalInstanceMenu:
[legend]

Public Member Functions

 SalInstanceMenu (PopupMenu *pMenu, bool bTakeOwnership)
 
virtual OString popup_at_rect (weld::Widget *pParent, const tools::Rectangle &rRect) override
 
virtual void set_sensitive (const OString &rIdent, bool bSensitive) override
 
virtual void set_active (const OString &rIdent, bool bActive) override
 
virtual bool get_active (const OString &rIdent) const override
 
virtual void set_label (const OString &rIdent, const OUString &rLabel) override
 
virtual void set_visible (const OString &rIdent, bool bShow) override
 
virtual void clear () override
 
virtual void insert (int pos, const OUString &rId, const OUString &rStr, const OUString *pIconName, VirtualDevice *pImageSurface, bool bCheck) override
 
virtual void insert_separator (int pos, const OUString &rId) override
 
virtual ~SalInstanceMenu () override
 
- Public Member Functions inherited from weld::Menu
void append_separator (const OUString &rId)
 
void append (const OUString &rId, const OUString &rStr)
 
void append_check (const OUString &rId, const OUString &rStr)
 
void append (const OUString &rId, const OUString &rStr, const OUString &rImage)
 
void append (const OUString &rId, const OUString &rStr, VirtualDevice &rImage)
 
virtual ~Menu ()
 

Private Attributes

VclPtr< PopupMenum_xMenu
 
bool const m_bTakeOwnership
 
sal_uInt16 m_nLastId
 

Detailed Description

Definition at line 828 of file salvtables.cxx.

Constructor & Destructor Documentation

SalInstanceMenu::SalInstanceMenu ( PopupMenu pMenu,
bool  bTakeOwnership 
)
inline

Definition at line 837 of file salvtables.cxx.

References Menu::GetItemCount(), and Menu::GetItemId().

virtual SalInstanceMenu::~SalInstanceMenu ( )
inlineoverridevirtual

Definition at line 885 of file salvtables.cxx.

References VclPtr< reference_type >::disposeAndClear().

Member Function Documentation

virtual void SalInstanceMenu::clear ( )
inlineoverridevirtual

Implements weld::Menu.

Definition at line 871 of file salvtables.cxx.

References Menu::Clear().

virtual bool SalInstanceMenu::get_active ( const OString &  rIdent) const
inlineoverridevirtual

Implements weld::Menu.

Definition at line 859 of file salvtables.cxx.

References Menu::GetItemId(), and Menu::IsItemChecked().

virtual void SalInstanceMenu::insert ( int  pos,
const OUString &  rId,
const OUString &  rStr,
const OUString *  pIconName,
VirtualDevice pImageSurface,
bool  bCheck 
)
inlineoverridevirtual

Implements weld::Menu.

Definition at line 875 of file salvtables.cxx.

virtual void SalInstanceMenu::insert_separator ( int  pos,
const OUString &  rId 
)
inlineoverridevirtual

Implements weld::Menu.

Definition at line 880 of file salvtables.cxx.

References Menu::InsertSeparator(), and MENU_APPEND.

virtual OString SalInstanceMenu::popup_at_rect ( weld::Widget pParent,
const tools::Rectangle rRect 
)
inlineoverridevirtual
virtual void SalInstanceMenu::set_active ( const OString &  rIdent,
bool  bActive 
)
inlineoverridevirtual

Implements weld::Menu.

Definition at line 855 of file salvtables.cxx.

References Menu::CheckItem().

virtual void SalInstanceMenu::set_label ( const OString &  rIdent,
const OUString &  rLabel 
)
inlineoverridevirtual

Implements weld::Menu.

Definition at line 863 of file salvtables.cxx.

References Menu::GetItemId(), and Menu::SetItemText().

virtual void SalInstanceMenu::set_sensitive ( const OString &  rIdent,
bool  bSensitive 
)
inlineoverridevirtual

Implements weld::Menu.

Definition at line 851 of file salvtables.cxx.

References Menu::EnableItem().

virtual void SalInstanceMenu::set_visible ( const OString &  rIdent,
bool  bShow 
)
inlineoverridevirtual

Implements weld::Menu.

Definition at line 867 of file salvtables.cxx.

References Menu::GetItemId(), and Menu::ShowItem().

Member Data Documentation

bool const SalInstanceMenu::m_bTakeOwnership
private

Definition at line 833 of file salvtables.cxx.

sal_uInt16 SalInstanceMenu::m_nLastId
private

Definition at line 834 of file salvtables.cxx.

VclPtr<PopupMenu> SalInstanceMenu::m_xMenu
private

Definition at line 831 of file salvtables.cxx.


The documentation for this class was generated from the following file: