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 SetSelection (Paper eSize)
 
Paper GetSelection () const
 
void connect_changed (const Link< weld::ComboBox &, void > &rLink)
 
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 46 of file papersizelistbox.hxx.

Constructor & Destructor Documentation

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

Definition at line 87 of file papersizelistbox.cxx.

References m_xControl.

Member Function Documentation

void SvxPaperSizeListBox::clear ( )
inline

Definition at line 58 of file papersizelistbox.hxx.

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

Definition at line 57 of file papersizelistbox.hxx.

void SvxPaperSizeListBox::FillPaperSizeEntries ( PaperSizeApp  eApp)

Definition at line 93 of file papersizelistbox.cxx.

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

bool SvxPaperSizeListBox::get_value_changed_from_saved ( ) const
inline

Definition at line 60 of file papersizelistbox.hxx.

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

Definition at line 62 of file papersizelistbox.hxx.

Paper SvxPaperSizeListBox::GetSelection ( ) const

Definition at line 131 of file papersizelistbox.cxx.

References m_xControl.

void SvxPaperSizeListBox::save_value ( )
inline

Definition at line 59 of file papersizelistbox.hxx.

void SvxPaperSizeListBox::SetSelection ( Paper  eSize)

Definition at line 108 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: