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::SvxPaperSizeListBox ( std::unique_ptr< weld::ComboBox pControl)

Definition at line 24 of file papersizelistbox.cxx.

References m_xControl.

Member Function Documentation

◆ clear()

void SvxPaperSizeListBox::clear ( )
inline

Definition at line 50 of file papersizelistbox.hxx.

References m_xControl.

◆ connect_changed()

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

Definition at line 45 of file papersizelistbox.hxx.

References m_xControl.

◆ FillPaperSizeEntries()

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().

◆ get_active()

int SvxPaperSizeListBox::get_active ( ) const
inline

Definition at line 49 of file papersizelistbox.hxx.

References m_xControl.

◆ get_active_id()

Paper SvxPaperSizeListBox::get_active_id ( ) const

Definition at line 68 of file papersizelistbox.cxx.

References m_xControl.

◆ get_value_changed_from_saved()

bool SvxPaperSizeListBox::get_value_changed_from_saved ( ) const
inline

Definition at line 52 of file papersizelistbox.hxx.

References m_xControl.

◆ get_widget()

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

Definition at line 54 of file papersizelistbox.hxx.

References m_xControl.

◆ save_value()

void SvxPaperSizeListBox::save_value ( )
inline

Definition at line 51 of file papersizelistbox.hxx.

References m_xControl.

◆ set_active_id()

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

◆ m_xControl

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

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