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

#include <numberingtypelistbox.hxx>

Public Member Functions

 SwNumberingTypeListBox (std::unique_ptr< weld::ComboBox > pWidget)
 
 ~SwNumberingTypeListBox ()
 
void connect_changed (const Link< weld::ComboBox &, void > &rLink)
 
void Reload (SwInsertNumTypes nTypeFlags)
 
SvxNumType GetSelectedNumberingType ()
 
bool SelectNumberingType (SvxNumType nType)
 
void SetNoSelection ()
 
void set_sensitive (bool bEnable)
 

Private Attributes

std::unique_ptr< weld::ComboBoxm_xWidget
 
std::unique_ptr< SwNumberingTypeListBox_Implm_xImpl
 

Detailed Description

Definition at line 40 of file numberingtypelistbox.hxx.

Constructor & Destructor Documentation

SwNumberingTypeListBox::SwNumberingTypeListBox ( std::unique_ptr< weld::ComboBox pWidget)

Definition at line 41 of file numberingtypelistbox.cxx.

References comphelper::getProcessComponentContext(), and m_xImpl.

SwNumberingTypeListBox::~SwNumberingTypeListBox ( )

Definition at line 50 of file numberingtypelistbox.cxx.

Member Function Documentation

void SwNumberingTypeListBox::connect_changed ( const Link< weld::ComboBox &, void > &  rLink)
inline

Definition at line 49 of file numberingtypelistbox.hxx.

SvxNumType SwNumberingTypeListBox::GetSelectedNumberingType ( )

Definition at line 121 of file numberingtypelistbox.cxx.

References m_xWidget, and SVX_NUM_CHARS_UPPER_LETTER.

void SwNumberingTypeListBox::Reload ( SwInsertNumTypes  nTypeFlags)
bool SwNumberingTypeListBox::SelectNumberingType ( SvxNumType  nType)

Definition at line 134 of file numberingtypelistbox.cxx.

References m_xWidget, and nPos.

Referenced by SwSectionFootnoteEndTabPage::ResetState().

void SwNumberingTypeListBox::set_sensitive ( bool  bEnable)
inline

Definition at line 55 of file numberingtypelistbox.hxx.

Referenced by IMPL_LINK(), and SwSectionFootnoteEndTabPage::ResetState().

void SwNumberingTypeListBox::SetNoSelection ( )
inline

Definition at line 54 of file numberingtypelistbox.hxx.

Member Data Documentation

std::unique_ptr<SwNumberingTypeListBox_Impl> SwNumberingTypeListBox::m_xImpl
private

Definition at line 43 of file numberingtypelistbox.hxx.

Referenced by Reload(), and SwNumberingTypeListBox().

std::unique_ptr<weld::ComboBox> SwNumberingTypeListBox::m_xWidget
private

Definition at line 42 of file numberingtypelistbox.hxx.

Referenced by GetSelectedNumberingType(), Reload(), and SelectNumberingType().


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