LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SvxFontWorkDialog Class Referencefinal

Floating window for setting attributes of text effects. More...

#include <fontwork.hxx>

Inheritance diagram for SvxFontWorkDialog:
[legend]
Collaboration diagram for SvxFontWorkDialog:
[legend]

Public Member Functions

 SvxFontWorkDialog (SfxBindings *pBinding, SfxChildWindow *pCW, vcl::Window *pParent)
 
virtual ~SvxFontWorkDialog () override
 
virtual void dispose () override
 
- Public Member Functions inherited from SfxDockingWindow
 SfxDockingWindow (SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window *pParent, WinBits nWinBits)
 
 SfxDockingWindow (SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window *pParent, const OUString &rID, const OUString &rUIXMLDescription)
 
virtual ~SfxDockingWindow () override
 
virtual void dispose () override
 
void Initialize (SfxChildWinInfo *pInfo)
 
virtual void FillInfo (SfxChildWinInfo &) const
 
virtual void StateChanged (StateChangedType nStateChange) override
 
void SetDockingRects (const tools::Rectangle &rOuter, const tools::Rectangle &rInner)
 
const tools::RectangleGetInnerRect () const
 
const tools::RectangleGetOuterRect () const
 
SfxBindingsGetBindings () const
 
sal_uInt16 GetType () const
 
SfxChildAlignment GetAlignment () const
 
void SetAlignment (SfxChildAlignment eAlign)
 
const SizeGetFloatingSize () const
 
void SetFloatingSize (const Size &rSize)
 
void SetMinOutputSizePixel (const Size &rSize)
 
const SizeGetMinOutputSizePixel () const
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
 DECL_DLLPRIVATE_LINK (TimerHdl, Timer *, void)
 
SAL_DLLPRIVATE void Initialize_Impl ()
 
SAL_DLLPRIVATE void SetItemSize_Impl (const Size &rSize)
 
SAL_DLLPRIVATE void Disappear_Impl ()
 
SAL_DLLPRIVATE void Reappear_Impl ()
 
SAL_DLLPRIVATE bool IsAutoHide_Impl () const
 
SAL_DLLPRIVATE void AutoShow_Impl ()
 
SAL_DLLPRIVATE void ReleaseChildWindow_Impl ()
 

Private Member Functions

 DECL_LINK (SelectStyleHdl_Impl, const OUString &, void)
 
 DECL_LINK (SelectAdjustHdl_Impl, const OUString &, void)
 
 DECL_LINK (SelectShadowHdl_Impl, const OUString &, void)
 
 DECL_LINK (ModifyInputHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (InputTimeoutHdl_Impl, Timer *, void)
 
 DECL_LINK (ColorSelectHdl_Impl, ColorListBox &, void)
 
void SetStyle_Impl (const XFormTextStyleItem *)
 
void SetAdjust_Impl (const XFormTextAdjustItem *)
 
void SetDistance_Impl (const XFormTextDistanceItem *)
 
void SetStart_Impl (const XFormTextStartItem *)
 
void SetMirror_Impl (const XFormTextMirrorItem *)
 
void SetShowForm_Impl (const XFormTextHideFormItem *)
 
void SetOutline_Impl (const XFormTextOutlineItem *)
 
void SetShadow_Impl (const XFormTextShadowItem *, bool bRestoreValues=false)
 
void SetShadowColor_Impl (const XFormTextShadowColorItem *)
 
void SetShadowXVal_Impl (const XFormTextShadowXValItem *)
 
void SetShadowYVal_Impl (const XFormTextShadowYValItem *)
 
void ApplyImageList ()
 
virtual SfxChildAlignment CheckAlignment (SfxChildAlignment eActAlign, SfxChildAlignment eAlign) override
 

Private Attributes

SfxBindingsrBindings
 
Idle aInputIdle
 
OUString m_sLastStyleTbxId
 
OUString m_sLastAdjustTbxId
 
OUString m_sLastShadowTbxId
 
tools::Long nSaveShadowX
 
tools::Long nSaveShadowY
 
tools::Long nSaveShadowAngle
 
tools::Long nSaveShadowSize
 
SvxFontWorkControllerItempCtrlItems [CONTROLLER_COUNT]
 
std::unique_ptr< weld::Toolbarm_xTbxStyle
 
std::unique_ptr< weld::Toolbarm_xTbxAdjust
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldDistance
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldTextStart
 
std::unique_ptr< weld::Toolbarm_xTbxShadow
 
std::unique_ptr< weld::Imagem_xFbShadowX
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldShadowX
 
std::unique_ptr< weld::Imagem_xFbShadowY
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldShadowY
 
std::unique_ptr< ColorListBoxm_xShadowColorLB
 

Friends

class SvxFontWorkChildWindow
 
class SvxFontWorkControllerItem
 

Additional Inherited Members

- Protected Member Functions inherited from SfxDockingWindow
SfxChildAlignment CalcAlignment (const Point &rPos, tools::Rectangle &rRect)
 
virtual Size CalcDockingSize (SfxChildAlignment)
 
virtual SfxChildAlignment CheckAlignment (SfxChildAlignment, SfxChildAlignment)
 
virtual void Resize () override
 
virtual bool PrepareToggleFloatingMode () override
 
virtual void ToggleFloatingMode () override
 
virtual void StartDocking () override
 
virtual bool Docking (const Point &rPos, tools::Rectangle &rRect) override
 
virtual void EndDocking (const tools::Rectangle &rRect, bool bFloatMode) override
 
virtual void Resizing (Size &rSize) override
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual bool Close () override
 
virtual void Move () override
 
SAL_DLLPRIVATE SfxChildWindowGetChildWindow_Impl ()
 
- Protected Attributes inherited from SfxDockingWindow
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Boxm_xContainer
 

Detailed Description

Floating window for setting attributes of text effects.

Definition at line 72 of file fontwork.hxx.

Constructor & Destructor Documentation

◆ SvxFontWorkDialog()

SvxFontWorkDialog::SvxFontWorkDialog ( SfxBindings pBinding,
SfxChildWindow pCW,
vcl::Window pParent 
)

Definition at line 176 of file fontwork.cxx.

References CM, and GetFrameWeld().

◆ ~SvxFontWorkDialog()

SvxFontWorkDialog::~SvxFontWorkDialog ( )
overridevirtual

Definition at line 252 of file fontwork.cxx.

Member Function Documentation

◆ ApplyImageList()

void SvxFontWorkDialog::ApplyImageList ( )
private

Definition at line 780 of file fontwork.cxx.

References m_sLastShadowTbxId, m_xFbShadowX, and m_xFbShadowY.

Referenced by SetShadow_Impl().

◆ CheckAlignment()

SfxChildAlignment SvxFontWorkDialog::CheckAlignment ( SfxChildAlignment  eActAlign,
SfxChildAlignment  eAlign 
)
overrideprivatevirtual

Reimplemented from SfxDockingWindow.

Definition at line 274 of file fontwork.cxx.

◆ DECL_LINK() [1/6]

SvxFontWorkDialog::DECL_LINK ( ColorSelectHdl_Impl  ,
ColorListBox ,
void   
)
private

◆ DECL_LINK() [2/6]

SvxFontWorkDialog::DECL_LINK ( InputTimeoutHdl_Impl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [3/6]

SvxFontWorkDialog::DECL_LINK ( ModifyInputHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [4/6]

SvxFontWorkDialog::DECL_LINK ( SelectAdjustHdl_Impl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [5/6]

SvxFontWorkDialog::DECL_LINK ( SelectShadowHdl_Impl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [6/6]

SvxFontWorkDialog::DECL_LINK ( SelectStyleHdl_Impl  ,
const OUString &  ,
void   
)
private

◆ dispose()

void SvxFontWorkDialog::dispose ( void  )
overridevirtual

◆ SetAdjust_Impl()

void SvxFontWorkDialog::SetAdjust_Impl ( const XFormTextAdjustItem pItem)
private

◆ SetDistance_Impl()

void SvxFontWorkDialog::SetDistance_Impl ( const XFormTextDistanceItem pItem)
private

◆ SetMirror_Impl()

void SvxFontWorkDialog::SetMirror_Impl ( const XFormTextMirrorItem pItem)
private

◆ SetOutline_Impl()

void SvxFontWorkDialog::SetOutline_Impl ( const XFormTextOutlineItem pItem)
private

◆ SetShadow_Impl()

void SvxFontWorkDialog::SetShadow_Impl ( const XFormTextShadowItem pItem,
bool  bRestoreValues = false 
)
private

◆ SetShadowColor_Impl()

void SvxFontWorkDialog::SetShadowColor_Impl ( const XFormTextShadowColorItem pItem)
private

◆ SetShadowXVal_Impl()

void SvxFontWorkDialog::SetShadowXVal_Impl ( const XFormTextShadowXValItem pItem)
private

◆ SetShadowYVal_Impl()

void SvxFontWorkDialog::SetShadowYVal_Impl ( const XFormTextShadowYValItem pItem)
private

◆ SetShowForm_Impl()

void SvxFontWorkDialog::SetShowForm_Impl ( const XFormTextHideFormItem pItem)
private

◆ SetStart_Impl()

void SvxFontWorkDialog::SetStart_Impl ( const XFormTextStartItem pItem)
private

◆ SetStyle_Impl()

void SvxFontWorkDialog::SetStyle_Impl ( const XFormTextStyleItem pItem)
private

Friends And Related Function Documentation

◆ SvxFontWorkChildWindow

friend class SvxFontWorkChildWindow
friend

Definition at line 105 of file fontwork.hxx.

◆ SvxFontWorkControllerItem

friend class SvxFontWorkControllerItem
friend

Definition at line 106 of file fontwork.hxx.

Member Data Documentation

◆ aInputIdle

Idle SvxFontWorkDialog::aInputIdle
private

Definition at line 77 of file fontwork.hxx.

◆ m_sLastAdjustTbxId

OUString SvxFontWorkDialog::m_sLastAdjustTbxId
private

Definition at line 80 of file fontwork.hxx.

Referenced by SetAdjust_Impl().

◆ m_sLastShadowTbxId

OUString SvxFontWorkDialog::m_sLastShadowTbxId
private

Definition at line 81 of file fontwork.hxx.

Referenced by ApplyImageList(), and SetShadow_Impl().

◆ m_sLastStyleTbxId

OUString SvxFontWorkDialog::m_sLastStyleTbxId
private

Definition at line 79 of file fontwork.hxx.

Referenced by SetStyle_Impl().

◆ m_xFbShadowX

std::unique_ptr<weld::Image> SvxFontWorkDialog::m_xFbShadowX
private

Definition at line 98 of file fontwork.hxx.

Referenced by ApplyImageList(), dispose(), and SetShadow_Impl().

◆ m_xFbShadowY

std::unique_ptr<weld::Image> SvxFontWorkDialog::m_xFbShadowY
private

Definition at line 100 of file fontwork.hxx.

Referenced by ApplyImageList(), dispose(), and SetShadow_Impl().

◆ m_xMtrFldDistance

std::unique_ptr<weld::MetricSpinButton> SvxFontWorkDialog::m_xMtrFldDistance
private

Definition at line 93 of file fontwork.hxx.

Referenced by dispose(), SetAdjust_Impl(), and SetDistance_Impl().

◆ m_xMtrFldShadowX

std::unique_ptr<weld::MetricSpinButton> SvxFontWorkDialog::m_xMtrFldShadowX
private

Definition at line 99 of file fontwork.hxx.

Referenced by dispose(), SetShadow_Impl(), and SetShadowXVal_Impl().

◆ m_xMtrFldShadowY

std::unique_ptr<weld::MetricSpinButton> SvxFontWorkDialog::m_xMtrFldShadowY
private

Definition at line 101 of file fontwork.hxx.

Referenced by dispose(), SetShadow_Impl(), and SetShadowYVal_Impl().

◆ m_xMtrFldTextStart

std::unique_ptr<weld::MetricSpinButton> SvxFontWorkDialog::m_xMtrFldTextStart
private

Definition at line 94 of file fontwork.hxx.

Referenced by dispose(), SetAdjust_Impl(), and SetStart_Impl().

◆ m_xShadowColorLB

std::unique_ptr<ColorListBox> SvxFontWorkDialog::m_xShadowColorLB
private

Definition at line 103 of file fontwork.hxx.

Referenced by dispose(), SetShadow_Impl(), and SetShadowColor_Impl().

◆ m_xTbxAdjust

std::unique_ptr<weld::Toolbar> SvxFontWorkDialog::m_xTbxAdjust
private

Definition at line 91 of file fontwork.hxx.

Referenced by dispose(), SetAdjust_Impl(), and SetMirror_Impl().

◆ m_xTbxShadow

std::unique_ptr<weld::Toolbar> SvxFontWorkDialog::m_xTbxShadow
private

◆ m_xTbxStyle

std::unique_ptr<weld::Toolbar> SvxFontWorkDialog::m_xTbxStyle
private

Definition at line 90 of file fontwork.hxx.

Referenced by dispose(), and SetStyle_Impl().

◆ nSaveShadowAngle

tools::Long SvxFontWorkDialog::nSaveShadowAngle
private

Definition at line 85 of file fontwork.hxx.

Referenced by SetShadow_Impl().

◆ nSaveShadowSize

tools::Long SvxFontWorkDialog::nSaveShadowSize
private

Definition at line 86 of file fontwork.hxx.

Referenced by SetShadow_Impl().

◆ nSaveShadowX

tools::Long SvxFontWorkDialog::nSaveShadowX
private

Definition at line 83 of file fontwork.hxx.

Referenced by SetShadow_Impl().

◆ nSaveShadowY

tools::Long SvxFontWorkDialog::nSaveShadowY
private

Definition at line 84 of file fontwork.hxx.

Referenced by SetShadow_Impl().

◆ pCtrlItems

SvxFontWorkControllerItem* SvxFontWorkDialog::pCtrlItems[CONTROLLER_COUNT]
private

Definition at line 88 of file fontwork.hxx.

Referenced by dispose().

◆ rBindings

SfxBindings& SvxFontWorkDialog::rBindings
private

Definition at line 76 of file fontwork.hxx.

Referenced by SetShadow_Impl().


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