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

#include <pagenumberlistbox.hxx>

Public Member Functions

 SvxPageNumberListBox (std::unique_ptr< weld::ComboBox > pControl)
 
int get_count () const
 
SvxNumType get_active_id () const
 
void set_active_id (SvxNumType eId) const
 
int get_active () const
 
void set_active (int pos)
 
void save_value ()
 
bool get_value_changed_from_saved () const
 
void connect_changed (const Link< weld::ComboBox &, void > &rLink)
 
weld::ComboBoxget_widget () const
 

Private Attributes

std::unique_ptr< weld::ComboBoxm_xControl
 

Detailed Description

Definition at line 27 of file pagenumberlistbox.hxx.

Constructor & Destructor Documentation

SvxPageNumberListBox::SvxPageNumberListBox ( std::unique_ptr< weld::ComboBox pControl)

Definition at line 26 of file pagenumberlistbox.cxx.

References aStr, first(), i, LINK_TOKEN, m_xControl, SAL_N_ELEMENTS, and SvxResId().

Member Function Documentation

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

Definition at line 40 of file pagenumberlistbox.hxx.

int SvxPageNumberListBox::get_active ( ) const
inline

Definition at line 36 of file pagenumberlistbox.hxx.

SvxNumType SvxPageNumberListBox::get_active_id ( ) const
inline

Definition at line 34 of file pagenumberlistbox.hxx.

int SvxPageNumberListBox::get_count ( ) const
inline

Definition at line 33 of file pagenumberlistbox.hxx.

bool SvxPageNumberListBox::get_value_changed_from_saved ( ) const
inline

Definition at line 39 of file pagenumberlistbox.hxx.

weld::ComboBox& SvxPageNumberListBox::get_widget ( ) const
inline

Definition at line 41 of file pagenumberlistbox.hxx.

References m_xControl.

void SvxPageNumberListBox::save_value ( )
inline

Definition at line 38 of file pagenumberlistbox.hxx.

void SvxPageNumberListBox::set_active ( int  pos)
inline

Definition at line 37 of file pagenumberlistbox.hxx.

void SvxPageNumberListBox::set_active_id ( SvxNumType  eId) const
inline

Definition at line 35 of file pagenumberlistbox.hxx.

Member Data Documentation

std::unique_ptr<weld::ComboBox> SvxPageNumberListBox::m_xControl
private

Definition at line 30 of file pagenumberlistbox.hxx.

Referenced by SvxPageNumberListBox().


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