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

#include <dlgctrl.hxx>

Public Member Functions

 SvxLineLB (std::unique_ptr< weld::ComboBox > pControl)
 
void Fill (const XDashListRef &pList)
 
bool getAddStandardFields () const
 
void setAddStandardFields (bool bNew)
 
void Append (const XDashEntry &rEntry, const BitmapEx &rBitmap)
 
void Modify (const XDashEntry &rEntry, sal_Int32 nPos, const BitmapEx &rBitmap)
 
void clear ()
 
void remove (int nPos)
 
int get_active () const
 
void set_active (int nPos)
 
void set_active_text (const OUString &rStr)
 
OUString get_active_text () const
 
void connect_changed (const Link< weld::ComboBox &, void > &rLink)
 
int get_count () const
 
void append_text (const OUString &rStr)
 
bool get_value_changed_from_saved () const
 
void save_value ()
 

Private Attributes

std::unique_ptr< weld::ComboBoxm_xControl
 
bool mbAddStandardFields: 1
 defines if standard fields (none, solid) are added, default is true More...
 

Detailed Description

Definition at line 213 of file dlgctrl.hxx.

Constructor & Destructor Documentation

◆ SvxLineLB()

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

Definition at line 914 of file dlgctrl.cxx.

Member Function Documentation

◆ Append()

void SvxLineLB::Append ( const XDashEntry rEntry,
const BitmapEx rBitmap 
)

◆ append_text()

void SvxLineLB::append_text ( const OUString &  rStr)
inline

Definition at line 239 of file dlgctrl.hxx.

References m_xControl.

◆ clear()

void SvxLineLB::clear ( )
inline

Definition at line 231 of file dlgctrl.hxx.

References m_xControl.

◆ connect_changed()

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

Definition at line 237 of file dlgctrl.hxx.

References m_xControl.

◆ Fill()

void SvxLineLB::Fill ( const XDashListRef pList)

◆ get_active()

int SvxLineLB::get_active ( ) const
inline

Definition at line 233 of file dlgctrl.hxx.

References m_xControl.

◆ get_active_text()

OUString SvxLineLB::get_active_text ( ) const
inline

Definition at line 236 of file dlgctrl.hxx.

References m_xControl.

◆ get_count()

int SvxLineLB::get_count ( ) const
inline

Definition at line 238 of file dlgctrl.hxx.

References m_xControl.

◆ get_value_changed_from_saved()

bool SvxLineLB::get_value_changed_from_saved ( ) const
inline

Definition at line 240 of file dlgctrl.hxx.

References m_xControl.

◆ getAddStandardFields()

bool SvxLineLB::getAddStandardFields ( ) const
inline

Definition at line 225 of file dlgctrl.hxx.

Referenced by Fill(), and setAddStandardFields().

◆ Modify()

void SvxLineLB::Modify ( const XDashEntry rEntry,
sal_Int32  nPos,
const BitmapEx rBitmap 
)

◆ remove()

void SvxLineLB::remove ( int  nPos)
inline

Definition at line 232 of file dlgctrl.hxx.

References m_xControl, and nPos.

◆ save_value()

void SvxLineLB::save_value ( )
inline

Definition at line 241 of file dlgctrl.hxx.

References m_xControl.

◆ set_active()

void SvxLineLB::set_active ( int  nPos)
inline

Definition at line 234 of file dlgctrl.hxx.

References m_xControl, and nPos.

◆ set_active_text()

void SvxLineLB::set_active_text ( const OUString &  rStr)
inline

Definition at line 235 of file dlgctrl.hxx.

References m_xControl.

◆ setAddStandardFields()

void SvxLineLB::setAddStandardFields ( bool  bNew)

Definition at line 920 of file dlgctrl.cxx.

References getAddStandardFields(), and mbAddStandardFields.

Member Data Documentation

◆ m_xControl

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

Definition at line 216 of file dlgctrl.hxx.

Referenced by Append(), Fill(), and Modify().

◆ mbAddStandardFields

bool SvxLineLB::mbAddStandardFields
private

defines if standard fields (none, solid) are added, default is true

Definition at line 219 of file dlgctrl.hxx.

Referenced by setAddStandardFields().


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