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

#include <TextCharacterSpacingControl.hxx>

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

Public Member Functions

 TextCharacterSpacingControl (sal_uInt16 nId, vcl::Window *pParent)
 
virtual ~TextCharacterSpacingControl () override
 
virtual void dispose () override
 
long GetLastCustomValue () const
 
- Public Member Functions inherited from SfxPopupWindow
 SfxPopupWindow (sal_uInt16 nId, vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &rFrame, WinBits nBits)
 
 SfxPopupWindow (sal_uInt16 nId, vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame=css::uno::Reference< css::frame::XFrame >())
 
virtual ~SfxPopupWindow () override
 
virtual void MouseMove (const MouseEvent &rMEvt) override
 
void StartCascading ()
 
SAL_DLLPRIVATE void SetDeleteLink_Impl (const Link< SfxPopupWindow *, void > &rLink)
 

Private Member Functions

void Initialize ()
 
void ExecuteCharacterSpacing (long nValue, bool bClose=true)
 
 DECL_LINK (PredefinedValuesHdl, Button *, void)
 
 DECL_LINK (KerningSelectHdl, ListBox &, void)
 
 DECL_LINK (KerningModifyHdl, Edit &, void)
 
MapUnit GetCoreMetric () const
 

Private Attributes

VclPtr< MetricFieldmaEditKerning
 
VclPtr< PushButtonmaNormal
 
VclPtr< PushButtonmaVeryTight
 
VclPtr< PushButtonmaTight
 
VclPtr< PushButtonmaVeryLoose
 
VclPtr< PushButtonmaLoose
 
VclPtr< PushButtonmaLastCustom
 
sal_uInt16 const mnId
 
long mnCustomKern
 
short mnLastCus
 

Additional Inherited Members

- Protected Member Functions inherited from SfxPopupWindow
virtual void PopupModeEnd () override
 
virtual bool Close () override
 
sal_uInt16 GetId () const
 
const css::uno::Reference< css::frame::XFrame > & GetFrame () const
 
void AddStatusListener (const OUString &rCommandURL)
 
virtual void statusChanged (const css::frame::FeatureStateEvent &rEvent)
 

Detailed Description

Definition at line 34 of file TextCharacterSpacingControl.hxx.

Constructor & Destructor Documentation

svx::TextCharacterSpacingControl::TextCharacterSpacingControl ( sal_uInt16  nId,
vcl::Window pParent 
)
explicit
svx::TextCharacterSpacingControl::~TextCharacterSpacingControl ( )
overridevirtual

Definition at line 73 of file TextCharacterSpacingControl.cxx.

Member Function Documentation

svx::TextCharacterSpacingControl::DECL_LINK ( PredefinedValuesHdl  ,
Button ,
void   
)
private
svx::TextCharacterSpacingControl::DECL_LINK ( KerningSelectHdl  ,
ListBox ,
void   
)
private
svx::TextCharacterSpacingControl::DECL_LINK ( KerningModifyHdl  ,
Edit ,
void   
)
private
void svx::TextCharacterSpacingControl::dispose ( void  )
overridevirtual
void svx::TextCharacterSpacingControl::ExecuteCharacterSpacing ( long  nValue,
bool  bClose = true 
)
private
MapUnit svx::TextCharacterSpacingControl::GetCoreMetric ( ) const
private
long svx::TextCharacterSpacingControl::GetLastCustomValue ( ) const
inline

Definition at line 41 of file TextCharacterSpacingControl.hxx.

References mnCustomKern.

Referenced by dispose().

void svx::TextCharacterSpacingControl::Initialize ( )
private

Member Data Documentation

VclPtr<MetricField> svx::TextCharacterSpacingControl::maEditKerning
private
VclPtr<PushButton> svx::TextCharacterSpacingControl::maLastCustom
private

Definition at line 51 of file TextCharacterSpacingControl.hxx.

Referenced by dispose(), and TextCharacterSpacingControl().

VclPtr<PushButton> svx::TextCharacterSpacingControl::maLoose
private

Definition at line 50 of file TextCharacterSpacingControl.hxx.

Referenced by dispose(), and TextCharacterSpacingControl().

VclPtr<PushButton> svx::TextCharacterSpacingControl::maNormal
private

Definition at line 46 of file TextCharacterSpacingControl.hxx.

Referenced by dispose(), and TextCharacterSpacingControl().

VclPtr<PushButton> svx::TextCharacterSpacingControl::maTight
private

Definition at line 48 of file TextCharacterSpacingControl.hxx.

Referenced by dispose(), and TextCharacterSpacingControl().

VclPtr<PushButton> svx::TextCharacterSpacingControl::maVeryLoose
private

Definition at line 49 of file TextCharacterSpacingControl.hxx.

Referenced by dispose(), and TextCharacterSpacingControl().

VclPtr<PushButton> svx::TextCharacterSpacingControl::maVeryTight
private

Definition at line 47 of file TextCharacterSpacingControl.hxx.

Referenced by dispose(), and TextCharacterSpacingControl().

long svx::TextCharacterSpacingControl::mnCustomKern
private

Definition at line 54 of file TextCharacterSpacingControl.hxx.

Referenced by GetLastCustomValue(), and Initialize().

sal_uInt16 const svx::TextCharacterSpacingControl::mnId
private

Definition at line 53 of file TextCharacterSpacingControl.hxx.

Referenced by GetCoreMetric().

short svx::TextCharacterSpacingControl::mnLastCus
private

Definition at line 55 of file TextCharacterSpacingControl.hxx.

Referenced by dispose(), and Initialize().


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