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

#include <papersizelistbox.hxx>

Public Member Functions

 SvxPaperSizeListBox (std::unique_ptr< weld::ComboBox > pControl)
 
void FillPaperSizeEntries (PaperSizeApp eApp)
 
void set_active_id (Paper eSize)
 
Paper get_active_id () const
 
void connect_changed (const Link< weld::ComboBox &, void > &rLink)
 
int get_active () const
 
void clear ()
 
void save_value ()
 
bool get_value_changed_from_saved () const
 
weld::ComboBoxget_widget () const
 

Private Attributes

std::unique_ptr< weld::ComboBoxm_xControl
 

Detailed Description

Definition at line 33 of file papersizelistbox.hxx.

Constructor & Destructor Documentation

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

Definition at line 24 of file papersizelistbox.cxx.

References m_xControl.

Member Function Documentation

void SvxPaperSizeListBox::clear ( )
inline

Definition at line 46 of file papersizelistbox.hxx.

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

Definition at line 44 of file papersizelistbox.hxx.

void SvxPaperSizeListBox::FillPaperSizeEntries ( PaperSizeApp  eApp)

Definition at line 30 of file papersizelistbox.cxx.

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

int SvxPaperSizeListBox::get_active ( ) const
inline

Definition at line 45 of file papersizelistbox.hxx.

Paper SvxPaperSizeListBox::get_active_id ( ) const

Definition at line 68 of file papersizelistbox.cxx.

References m_xControl.

bool SvxPaperSizeListBox::get_value_changed_from_saved ( ) const
inline

Definition at line 48 of file papersizelistbox.hxx.

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

Definition at line 50 of file papersizelistbox.hxx.

References m_xControl.

void SvxPaperSizeListBox::save_value ( )
inline

Definition at line 47 of file papersizelistbox.hxx.

void SvxPaperSizeListBox::set_active_id ( Paper  eSize)

Definition at line 45 of file papersizelistbox.cxx.

References i, m_xControl, and PAPER_USER.

Member Data Documentation

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

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