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

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

Definition at line 24 of file frmdirlbox.cxx.

svx::FrameDirectionListBox::~FrameDirectionListBox ( )
virtual

Definition at line 29 of file frmdirlbox.cxx.

Member Function Documentation

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

Inserts a string with corresponding direction enum into the listbox.

Definition at line 60 of file frmdirlbox.hxx.

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

Definition at line 64 of file frmdirlbox.hxx.

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

Definition at line 53 of file frmdirlbox.hxx.

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

Definition at line 44 of file frmdirlbox.hxx.

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

Definition at line 58 of file frmdirlbox.hxx.

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

Definition at line 43 of file frmdirlbox.hxx.

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

Definition at line 41 of file frmdirlbox.hxx.

void svx::FrameDirectionListBox::hide ( )
inline

Definition at line 55 of file frmdirlbox.hxx.

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

Definition at line 46 of file frmdirlbox.hxx.

References nPos.

void svx::FrameDirectionListBox::save_value ( )
inline

Definition at line 42 of file frmdirlbox.hxx.

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

Definition at line 52 of file frmdirlbox.hxx.

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

Definition at line 45 of file frmdirlbox.hxx.

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

Definition at line 54 of file frmdirlbox.hxx.

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

Definition at line 56 of file frmdirlbox.hxx.

void svx::FrameDirectionListBox::show ( )
inline

Definition at line 57 of file frmdirlbox.hxx.

Member Data Documentation

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: