LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SdFieldPopup Class Reference

PopupMenu for editing field-commands. More...

#include <sdpopup.hxx>

Collaboration diagram for SdFieldPopup:
[legend]

Public Member Functions

 SdFieldPopup (const SvxFieldData *pInField, LanguageType eLanguage)
 
void Execute (weld::Window *pParent, const tools::Rectangle &rRect)
 
 ~SdFieldPopup ()
 
SvxFieldDataGetField ()
 Returns a new field, owned by caller. More...
 

Private Member Functions

void Fill (LanguageType eLanguage)
 

Private Attributes

std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Menum_xPopup
 
const SvxFieldDatam_pField
 

Detailed Description

PopupMenu for editing field-commands.

Definition at line 30 of file sdpopup.hxx.

Constructor & Destructor Documentation

◆ SdFieldPopup()

SdFieldPopup::SdFieldPopup ( const SvxFieldData pInField,
LanguageType  eLanguage 
)

Definition at line 39 of file sdpopup.cxx.

References Fill().

◆ ~SdFieldPopup()

SdFieldPopup::~SdFieldPopup ( )

Definition at line 47 of file sdpopup.cxx.

Member Function Documentation

◆ Execute()

void SdFieldPopup::Execute ( weld::Window pParent,
const tools::Rectangle rRect 
)

Definition at line 156 of file sdpopup.cxx.

References i, m_xPopup, and nCount.

Referenced by sd::DrawViewShell::Command().

◆ Fill()

void SdFieldPopup::Fill ( LanguageType  eLanguage)
private

◆ GetField()

SvxFieldData * SdFieldPopup::GetField ( )

Member Data Documentation

◆ m_pField

const SvxFieldData* SdFieldPopup::m_pField
private

Definition at line 35 of file sdpopup.hxx.

Referenced by Fill(), and GetField().

◆ m_xBuilder

std::unique_ptr<weld::Builder> SdFieldPopup::m_xBuilder
private

Definition at line 33 of file sdpopup.hxx.

◆ m_xPopup

std::unique_ptr<weld::Menu> SdFieldPopup::m_xPopup
private

Definition at line 34 of file sdpopup.hxx.

Referenced by Execute(), Fill(), and GetField().


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