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 ()
 
void set_sensitive (bool bSensitive)
 
bool get_sensitive () const
 

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

Constructor & Destructor Documentation

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

Definition at line 918 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 253 of file dlgctrl.hxx.

void SvxLineLB::clear ( )
inline

Definition at line 245 of file dlgctrl.hxx.

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

Definition at line 251 of file dlgctrl.hxx.

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

Definition at line 247 of file dlgctrl.hxx.

OUString SvxLineLB::get_active_text ( ) const
inline

Definition at line 250 of file dlgctrl.hxx.

int SvxLineLB::get_count ( ) const
inline

Definition at line 252 of file dlgctrl.hxx.

bool SvxLineLB::get_sensitive ( ) const
inline

Definition at line 257 of file dlgctrl.hxx.

bool SvxLineLB::get_value_changed_from_saved ( ) const
inline

Definition at line 254 of file dlgctrl.hxx.

bool SvxLineLB::getAddStandardFields ( ) const
inline

Definition at line 239 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 246 of file dlgctrl.hxx.

References nPos.

void SvxLineLB::save_value ( )
inline

Definition at line 255 of file dlgctrl.hxx.

void SvxLineLB::set_active ( int  nPos)
inline

Definition at line 248 of file dlgctrl.hxx.

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

Definition at line 249 of file dlgctrl.hxx.

void SvxLineLB::set_sensitive ( bool  bSensitive)
inline

Definition at line 256 of file dlgctrl.hxx.

void SvxLineLB::setAddStandardFields ( bool  bNew)

Definition at line 924 of file dlgctrl.cxx.

References getAddStandardFields(), and mbAddStandardFields.

Member Data Documentation

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

Definition at line 230 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 233 of file dlgctrl.hxx.

Referenced by setAddStandardFields().


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