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

This listbox contains entries to select horizontal text direction. More...

#include <frmdirlbox.hxx>

Public Member Functions

 FrameDirectionListBox (std::unique_ptr< weld::ComboBox > pControl)
 
virtual ~FrameDirectionListBox ()
 
bool get_visible () const
 
void save_value ()
 
bool get_value_changed_from_saved () const
 
SvxFrameDirection get_active_id () const
 
void set_active_id (SvxFrameDirection eDir)
 
void remove_id (SvxFrameDirection eDir)
 
void set_active (int pos)
 
int get_active () const
 
void set_sensitive (bool bSensitive)
 
void hide ()
 
void set_visible (bool bVisible)
 
void show ()
 
int get_count () const
 
void append (SvxFrameDirection eDirection, const OUString &rString)
 Inserts a string with corresponding direction enum into the listbox. More...
 
void connect_changed (const Link< weld::ComboBox &, void > &rLink)
 

Private Attributes

std::unique_ptr< weld::ComboBoxm_xControl
 

Detailed Description

This listbox contains entries to select horizontal text direction.

The control works on the SvxFrameDirection enumeration (i.e. left-to-right, right-to-left), used i.e. in conjunction with the SvxFrameDirectionItem.

Definition at line 34 of file frmdirlbox.hxx.

Constructor & Destructor Documentation

◆ FrameDirectionListBox()

svx::FrameDirectionListBox::FrameDirectionListBox ( std::unique_ptr< weld::ComboBox pControl)
explicit

Definition at line 24 of file frmdirlbox.cxx.

◆ ~FrameDirectionListBox()

svx::FrameDirectionListBox::~FrameDirectionListBox ( )
virtual

Definition at line 29 of file frmdirlbox.cxx.

Member Function Documentation

◆ append()

void svx::FrameDirectionListBox::append ( SvxFrameDirection  eDirection,
const OUString &  rString 
)
inline

Inserts a string with corresponding direction enum into the listbox.

Definition at line 67 of file frmdirlbox.hxx.

References m_xControl.

◆ connect_changed()

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

Definition at line 71 of file frmdirlbox.hxx.

References m_xControl.

◆ get_active()

int svx::FrameDirectionListBox::get_active ( ) const
inline

Definition at line 60 of file frmdirlbox.hxx.

References m_xControl.

◆ get_active_id()

SvxFrameDirection svx::FrameDirectionListBox::get_active_id ( ) const
inline

Definition at line 45 of file frmdirlbox.hxx.

References m_xControl.

◆ get_count()

int svx::FrameDirectionListBox::get_count ( ) const
inline

Definition at line 65 of file frmdirlbox.hxx.

References m_xControl.

◆ get_value_changed_from_saved()

bool svx::FrameDirectionListBox::get_value_changed_from_saved ( ) const
inline

Definition at line 44 of file frmdirlbox.hxx.

References m_xControl.

◆ get_visible()

bool svx::FrameDirectionListBox::get_visible ( ) const
inline

Definition at line 42 of file frmdirlbox.hxx.

References m_xControl.

◆ hide()

void svx::FrameDirectionListBox::hide ( )
inline

Definition at line 62 of file frmdirlbox.hxx.

References m_xControl.

◆ remove_id()

void svx::FrameDirectionListBox::remove_id ( SvxFrameDirection  eDir)
inline

Definition at line 53 of file frmdirlbox.hxx.

References m_xControl, and nPos.

◆ save_value()

void svx::FrameDirectionListBox::save_value ( )
inline

Definition at line 43 of file frmdirlbox.hxx.

References m_xControl.

◆ set_active()

void svx::FrameDirectionListBox::set_active ( int  pos)
inline

Definition at line 59 of file frmdirlbox.hxx.

References m_xControl, and pos.

◆ set_active_id()

void svx::FrameDirectionListBox::set_active_id ( SvxFrameDirection  eDir)
inline

Definition at line 49 of file frmdirlbox.hxx.

References m_xControl.

◆ set_sensitive()

void svx::FrameDirectionListBox::set_sensitive ( bool  bSensitive)
inline

Definition at line 61 of file frmdirlbox.hxx.

References m_xControl.

◆ set_visible()

void svx::FrameDirectionListBox::set_visible ( bool  bVisible)
inline

Definition at line 63 of file frmdirlbox.hxx.

References bVisible, and m_xControl.

◆ show()

void svx::FrameDirectionListBox::show ( )
inline

Definition at line 64 of file frmdirlbox.hxx.

References m_xControl.

Member Data Documentation

◆ m_xControl

std::unique_ptr<weld::ComboBox> svx::FrameDirectionListBox::m_xControl
private

Definition at line 37 of file frmdirlbox.hxx.


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