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 215 of file dlgctrl.hxx.

Constructor & Destructor Documentation

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

Definition at line 894 of file dlgctrl.cxx.

Member Function Documentation

void SvxLineLB::Append ( const XDashEntry rEntry,
const BitmapEx rBitmap 
)
void SvxLineLB::append_text ( const OUString &  rStr)
inline

Definition at line 241 of file dlgctrl.hxx.

void SvxLineLB::clear ( )
inline

Definition at line 233 of file dlgctrl.hxx.

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

Definition at line 239 of file dlgctrl.hxx.

void SvxLineLB::Fill ( const XDashListRef pList)
int SvxLineLB::get_active ( ) const
inline

Definition at line 235 of file dlgctrl.hxx.

OUString SvxLineLB::get_active_text ( ) const
inline

Definition at line 238 of file dlgctrl.hxx.

int SvxLineLB::get_count ( ) const
inline

Definition at line 240 of file dlgctrl.hxx.

bool SvxLineLB::get_value_changed_from_saved ( ) const
inline

Definition at line 242 of file dlgctrl.hxx.

bool SvxLineLB::getAddStandardFields ( ) const
inline

Definition at line 227 of file dlgctrl.hxx.

Referenced by Fill(), and setAddStandardFields().

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

Definition at line 234 of file dlgctrl.hxx.

References nPos.

void SvxLineLB::save_value ( )
inline

Definition at line 243 of file dlgctrl.hxx.

void SvxLineLB::set_active ( int  nPos)
inline

Definition at line 236 of file dlgctrl.hxx.

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

Definition at line 237 of file dlgctrl.hxx.

void SvxLineLB::setAddStandardFields ( bool  bNew)

Definition at line 900 of file dlgctrl.cxx.

References getAddStandardFields(), and mbAddStandardFields.

Member Data Documentation

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

Definition at line 218 of file dlgctrl.hxx.

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

bool SvxLineLB::mbAddStandardFields
private

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

Definition at line 221 of file dlgctrl.hxx.

Referenced by setAddStandardFields().


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