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

#include <ctrlbox.hxx>

Public Member Functions

 FontStyleBox (std::unique_ptr< weld::ComboBox > p)
 
void Fill (std::u16string_view rName, const FontList *pList)
 
void connect_changed (const Link< weld::ComboBox &, void > &rLink)
 
OUString get_active_text () const
 
void set_active_text (const OUString &rText)
 
void set_size_request (int nWidth, int nHeight)
 
void append_text (const OUString &rStr)
 
void set_sensitive (bool bSensitive)
 
void save_value ()
 
OUString const & get_saved_value () const
 
int get_count () const
 
int find_text (const OUString &rStr) const
 

Private Member Functions

 FontStyleBox (const FontStyleBox &)=delete
 
FontStyleBoxoperator= (const FontStyleBox &)=delete
 

Private Attributes

std::unique_ptr< weld::ComboBoxm_xComboBox
 

Detailed Description

Definition at line 392 of file ctrlbox.hxx.

Constructor & Destructor Documentation

◆ FontStyleBox() [1/2]

FontStyleBox::FontStyleBox ( std::unique_ptr< weld::ComboBox p)

Definition at line 834 of file ctrlbox.cxx.

References m_xComboBox, p, SvtResId(), and Width.

◆ FontStyleBox() [2/2]

FontStyleBox::FontStyleBox ( const FontStyleBox )
privatedelete

Member Function Documentation

◆ append_text()

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

Definition at line 405 of file ctrlbox.hxx.

◆ connect_changed()

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

Definition at line 400 of file ctrlbox.hxx.

◆ Fill()

void FontStyleBox::Fill ( std::u16string_view  rName,
const FontList pList 
)

◆ find_text()

int FontStyleBox::find_text ( const OUString &  rStr) const
inline

Definition at line 410 of file ctrlbox.hxx.

◆ get_active_text()

OUString FontStyleBox::get_active_text ( ) const
inline

Definition at line 401 of file ctrlbox.hxx.

◆ get_count()

int FontStyleBox::get_count ( ) const
inline

Definition at line 409 of file ctrlbox.hxx.

◆ get_saved_value()

OUString const & FontStyleBox::get_saved_value ( ) const
inline

Definition at line 408 of file ctrlbox.hxx.

◆ operator=()

FontStyleBox & FontStyleBox::operator= ( const FontStyleBox )
privatedelete

◆ save_value()

void FontStyleBox::save_value ( )
inline

Definition at line 407 of file ctrlbox.hxx.

◆ set_active_text()

void FontStyleBox::set_active_text ( const OUString &  rText)
inline

Definition at line 402 of file ctrlbox.hxx.

◆ set_sensitive()

void FontStyleBox::set_sensitive ( bool  bSensitive)
inline

Definition at line 406 of file ctrlbox.hxx.

◆ set_size_request()

void FontStyleBox::set_size_request ( int  nWidth,
int  nHeight 
)
inline

Definition at line 403 of file ctrlbox.hxx.

Member Data Documentation

◆ m_xComboBox

std::unique_ptr<weld::ComboBox> FontStyleBox::m_xComboBox
private

Definition at line 394 of file ctrlbox.hxx.

Referenced by Fill(), and FontStyleBox().


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