LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
svx::TextCharacterSpacingControl Class Referencefinal

#include <TextCharacterSpacingControl.hxx>

Inheritance diagram for svx::TextCharacterSpacingControl:
[legend]
Collaboration diagram for svx::TextCharacterSpacingControl:
[legend]

Public Member Functions

 TextCharacterSpacingControl (TextCharacterSpacingPopup *pControl, weld::Widget *pParent)
 
virtual void GrabFocus () override
 
virtual ~TextCharacterSpacingControl () override
 
- Public Member Functions inherited from WeldToolbarPopup
 WeldToolbarPopup (css::uno::Reference< css::frame::XFrame > xFrame, weld::Widget *pParent, const OUString &rUIFile, const OUString &rId)
 
virtual ~WeldToolbarPopup ()
 
weld::ContainergetTopLevel ()
 
weld::ContainergetContainer ()
 
void AddStatusListener (const OUString &rCommandURL)
 
virtual void statusChanged (const css::frame::FeatureStateEvent &Event)
 
virtual void GrabFocus ()=0
 

Private Member Functions

void Initialize ()
 
void ExecuteCharacterSpacing (tools::Long nValue, bool bClose=true)
 
 DECL_LINK (PredefinedValuesHdl, weld::Button &, void)
 
 DECL_LINK (KerningModifyHdl, weld::MetricSpinButton &, void)
 

Static Private Member Functions

static MapUnit GetCoreMetric ()
 

Private Attributes

tools::Long mnCustomKern
 
short mnLastCus
 
std::unique_ptr< weld::MetricSpinButtonmxEditKerning
 
std::unique_ptr< weld::ButtonmxTight
 
std::unique_ptr< weld::ButtonmxVeryTight
 
std::unique_ptr< weld::ButtonmxNormal
 
std::unique_ptr< weld::ButtonmxLoose
 
std::unique_ptr< weld::ButtonmxVeryLoose
 
std::unique_ptr< weld::ButtonmxLastCustom
 
rtl::Reference< TextCharacterSpacingPopupmxControl
 

Additional Inherited Members

- Protected Attributes inherited from WeldToolbarPopup
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xTopLevel
 
std::unique_ptr< weld::Containerm_xContainer
 
css::uno::Reference< css::frame::XFrame > m_xFrame
 
rtl::Reference< svt::FrameStatusListenerm_xStatusListener
 

Detailed Description

Definition at line 33 of file TextCharacterSpacingControl.hxx.

Constructor & Destructor Documentation

◆ TextCharacterSpacingControl()

svx::TextCharacterSpacingControl::TextCharacterSpacingControl ( TextCharacterSpacingPopup pControl,
weld::Widget pParent 
)
explicit

◆ ~TextCharacterSpacingControl()

svx::TextCharacterSpacingControl::~TextCharacterSpacingControl ( )
overridevirtual

Member Function Documentation

◆ DECL_LINK() [1/2]

svx::TextCharacterSpacingControl::DECL_LINK ( KerningModifyHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [2/2]

svx::TextCharacterSpacingControl::DECL_LINK ( PredefinedValuesHdl  ,
weld::Button ,
void   
)
private

◆ ExecuteCharacterSpacing()

void svx::TextCharacterSpacingControl::ExecuteCharacterSpacing ( tools::Long  nValue,
bool  bClose = true 
)
private

◆ GetCoreMetric()

MapUnit svx::TextCharacterSpacingControl::GetCoreMetric ( )
staticprivate

◆ GrabFocus()

void svx::TextCharacterSpacingControl::GrabFocus ( )
overridevirtual

◆ Initialize()

void svx::TextCharacterSpacingControl::Initialize ( )
private

Member Data Documentation

◆ mnCustomKern

tools::Long svx::TextCharacterSpacingControl::mnCustomKern
private

◆ mnLastCus

short svx::TextCharacterSpacingControl::mnLastCus
private

Definition at line 44 of file TextCharacterSpacingControl.hxx.

Referenced by Initialize(), and ~TextCharacterSpacingControl().

◆ mxControl

rtl::Reference<TextCharacterSpacingPopup> svx::TextCharacterSpacingControl::mxControl
private

Definition at line 54 of file TextCharacterSpacingControl.hxx.

Referenced by ExecuteCharacterSpacing().

◆ mxEditKerning

std::unique_ptr<weld::MetricSpinButton> svx::TextCharacterSpacingControl::mxEditKerning
private

◆ mxLastCustom

std::unique_ptr<weld::Button> svx::TextCharacterSpacingControl::mxLastCustom
private

Definition at line 52 of file TextCharacterSpacingControl.hxx.

Referenced by GrabFocus(), and TextCharacterSpacingControl().

◆ mxLoose

std::unique_ptr<weld::Button> svx::TextCharacterSpacingControl::mxLoose
private

Definition at line 50 of file TextCharacterSpacingControl.hxx.

Referenced by GrabFocus(), and TextCharacterSpacingControl().

◆ mxNormal

std::unique_ptr<weld::Button> svx::TextCharacterSpacingControl::mxNormal
private

Definition at line 49 of file TextCharacterSpacingControl.hxx.

Referenced by GrabFocus(), and TextCharacterSpacingControl().

◆ mxTight

std::unique_ptr<weld::Button> svx::TextCharacterSpacingControl::mxTight
private

Definition at line 47 of file TextCharacterSpacingControl.hxx.

Referenced by GrabFocus(), and TextCharacterSpacingControl().

◆ mxVeryLoose

std::unique_ptr<weld::Button> svx::TextCharacterSpacingControl::mxVeryLoose
private

Definition at line 51 of file TextCharacterSpacingControl.hxx.

Referenced by GrabFocus(), and TextCharacterSpacingControl().

◆ mxVeryTight

std::unique_ptr<weld::Button> svx::TextCharacterSpacingControl::mxVeryTight
private

Definition at line 48 of file TextCharacterSpacingControl.hxx.

Referenced by GrabFocus(), and TextCharacterSpacingControl().


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