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

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 OString &rID, const OUString &rUIXMLDescription)
 
virtual ~SfxDockingWindow () 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_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 ()
 

Protected Member Functions

virtual SfxChildAlignment CheckAlignment (SfxChildAlignment eActAlign, SfxChildAlignment eAlign) override
 
- Protected Member Functions inherited from SfxDockingWindow
SfxChildAlignment CalcAlignment (const Point &rPos, tools::Rectangle &rRect)
 
virtual Size CalcDockingSize (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 ()
 

Private Member Functions

 DECL_LINK (SelectStyleHdl_Impl, ToolBox *, void)
 
 DECL_LINK (SelectAdjustHdl_Impl, ToolBox *, void)
 
 DECL_LINK (SelectShadowHdl_Impl, ToolBox *, void)
 
 DECL_LINK (ModifyInputHdl_Impl, Edit &, void)
 
 DECL_LINK (InputTimeoutHdl_Impl, Timer *, void)
 
 DECL_LINK (ColorSelectHdl_Impl, SvxColorListBox &, 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 ()
 

Private Attributes

SvxFontWorkControllerItempCtrlItems [CONTROLLER_COUNT]
 
VclPtr< ToolBoxm_pTbxStyle
 
VclPtr< ToolBoxm_pTbxAdjust
 
VclPtr< MetricFieldm_pMtrFldDistance
 
VclPtr< MetricFieldm_pMtrFldTextStart
 
VclPtr< ToolBoxm_pTbxShadow
 
VclPtr< FixedImagem_pFbShadowX
 
VclPtr< MetricFieldm_pMtrFldShadowX
 
VclPtr< FixedImagem_pFbShadowY
 
VclPtr< MetricFieldm_pMtrFldShadowY
 
VclPtr< SvxColorListBoxm_pShadowColorLB
 
SfxBindingsrBindings
 
Idle aInputIdle
 
sal_uInt16 nLastStyleTbxId
 
sal_uInt16 nStyleOffId
 
sal_uInt16 nStyleRotateId
 
sal_uInt16 nStyleUprightId
 
sal_uInt16 nStyleSlantXId
 
sal_uInt16 nStyleSlantYId
 
sal_uInt16 nLastAdjustTbxId
 
sal_uInt16 nAdjustMirrorId
 
sal_uInt16 nAdjustLeftId
 
sal_uInt16 nAdjustCenterId
 
sal_uInt16 nAdjustRightId
 
sal_uInt16 nAdjustAutoSizeId
 
sal_uInt16 nLastShadowTbxId
 
sal_uInt16 nShowFormId
 
sal_uInt16 nOutlineId
 
sal_uInt16 nShadowOffId
 
sal_uInt16 nShadowNormalId
 
sal_uInt16 nShadowSlantId
 
long nSaveShadowX
 
long nSaveShadowY
 
long nSaveShadowAngle
 
long nSaveShadowSize
 

Friends

class SvxFontWorkChildWindow
 
class SvxFontWorkControllerItem
 

Detailed Description

Floating window for setting attributes of text effects.

Definition at line 74 of file fontwork.hxx.

Constructor & Destructor Documentation

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

Definition at line 286 of file fontwork.cxx.

Member Function Documentation

void SvxFontWorkDialog::ApplyImageList ( )
private
SfxChildAlignment SvxFontWorkDialog::CheckAlignment ( SfxChildAlignment  eActAlign,
SfxChildAlignment  eAlign 
)
overrideprotectedvirtual

Reimplemented from SfxDockingWindow.

Definition at line 308 of file fontwork.cxx.

SvxFontWorkDialog::DECL_LINK ( SelectStyleHdl_Impl  ,
ToolBox ,
void   
)
private
SvxFontWorkDialog::DECL_LINK ( SelectAdjustHdl_Impl  ,
ToolBox ,
void   
)
private
SvxFontWorkDialog::DECL_LINK ( SelectShadowHdl_Impl  ,
ToolBox ,
void   
)
private
SvxFontWorkDialog::DECL_LINK ( ModifyInputHdl_Impl  ,
Edit ,
void   
)
private
SvxFontWorkDialog::DECL_LINK ( InputTimeoutHdl_Impl  ,
Timer ,
void   
)
private
SvxFontWorkDialog::DECL_LINK ( ColorSelectHdl_Impl  ,
SvxColorListBox ,
void   
)
private
void SvxFontWorkDialog::dispose ( void  )
overridevirtual
void SvxFontWorkDialog::SetAdjust_Impl ( const XFormTextAdjustItem pItem)
private
void SvxFontWorkDialog::SetDistance_Impl ( const XFormTextDistanceItem pItem)
private
void SvxFontWorkDialog::SetMirror_Impl ( const XFormTextMirrorItem pItem)
private
void SvxFontWorkDialog::SetOutline_Impl ( const XFormTextOutlineItem pItem)
private
void SvxFontWorkDialog::SetShadow_Impl ( const XFormTextShadowItem pItem,
bool  bRestoreValues = false 
)
private
void SvxFontWorkDialog::SetShadowColor_Impl ( const XFormTextShadowColorItem pItem)
private
void SvxFontWorkDialog::SetShadowXVal_Impl ( const XFormTextShadowXValItem pItem)
private
void SvxFontWorkDialog::SetShadowYVal_Impl ( const XFormTextShadowYValItem pItem)
private
void SvxFontWorkDialog::SetShowForm_Impl ( const XFormTextHideFormItem pItem)
private
void SvxFontWorkDialog::SetStart_Impl ( const XFormTextStartItem pItem)
private
void SvxFontWorkDialog::SetStyle_Impl ( const XFormTextStyleItem pItem)
private

Friends And Related Function Documentation

friend class SvxFontWorkChildWindow
friend

Definition at line 124 of file fontwork.hxx.

friend class SvxFontWorkControllerItem
friend

Definition at line 125 of file fontwork.hxx.

Referenced by SvxFontWorkDialog().

Member Data Documentation

Idle SvxFontWorkDialog::aInputIdle
private

Definition at line 96 of file fontwork.hxx.

Referenced by SvxFontWorkDialog().

VclPtr<FixedImage> SvxFontWorkDialog::m_pFbShadowX
private

Definition at line 88 of file fontwork.hxx.

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

VclPtr<FixedImage> SvxFontWorkDialog::m_pFbShadowY
private

Definition at line 90 of file fontwork.hxx.

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

VclPtr<MetricField> SvxFontWorkDialog::m_pMtrFldDistance
private

Definition at line 83 of file fontwork.hxx.

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

VclPtr<MetricField> SvxFontWorkDialog::m_pMtrFldShadowX
private

Definition at line 89 of file fontwork.hxx.

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

VclPtr<MetricField> SvxFontWorkDialog::m_pMtrFldShadowY
private

Definition at line 91 of file fontwork.hxx.

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

VclPtr<MetricField> SvxFontWorkDialog::m_pMtrFldTextStart
private

Definition at line 84 of file fontwork.hxx.

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

VclPtr<SvxColorListBox> SvxFontWorkDialog::m_pShadowColorLB
private

Definition at line 93 of file fontwork.hxx.

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

VclPtr<ToolBox> SvxFontWorkDialog::m_pTbxAdjust
private

Definition at line 81 of file fontwork.hxx.

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

VclPtr<ToolBox> SvxFontWorkDialog::m_pTbxShadow
private
VclPtr<ToolBox> SvxFontWorkDialog::m_pTbxStyle
private

Definition at line 80 of file fontwork.hxx.

Referenced by dispose(), SetStyle_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nAdjustAutoSizeId
private

Definition at line 110 of file fontwork.hxx.

Referenced by SetAdjust_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nAdjustCenterId
private

Definition at line 108 of file fontwork.hxx.

Referenced by SetAdjust_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nAdjustLeftId
private

Definition at line 107 of file fontwork.hxx.

Referenced by SetAdjust_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nAdjustMirrorId
private

Definition at line 106 of file fontwork.hxx.

Referenced by SetMirror_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nAdjustRightId
private

Definition at line 109 of file fontwork.hxx.

Referenced by SetAdjust_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nLastAdjustTbxId
private

Definition at line 105 of file fontwork.hxx.

Referenced by SetAdjust_Impl().

sal_uInt16 SvxFontWorkDialog::nLastShadowTbxId
private

Definition at line 112 of file fontwork.hxx.

Referenced by ApplyImageList(), and SetShadow_Impl().

sal_uInt16 SvxFontWorkDialog::nLastStyleTbxId
private

Definition at line 98 of file fontwork.hxx.

Referenced by SetStyle_Impl().

sal_uInt16 SvxFontWorkDialog::nOutlineId
private

Definition at line 114 of file fontwork.hxx.

Referenced by SetOutline_Impl(), and SvxFontWorkDialog().

long SvxFontWorkDialog::nSaveShadowAngle
private

Definition at line 121 of file fontwork.hxx.

Referenced by SetShadow_Impl().

long SvxFontWorkDialog::nSaveShadowSize
private

Definition at line 122 of file fontwork.hxx.

Referenced by SetShadow_Impl().

long SvxFontWorkDialog::nSaveShadowX
private

Definition at line 119 of file fontwork.hxx.

Referenced by SetShadow_Impl().

long SvxFontWorkDialog::nSaveShadowY
private

Definition at line 120 of file fontwork.hxx.

Referenced by SetShadow_Impl().

sal_uInt16 SvxFontWorkDialog::nShadowNormalId
private

Definition at line 116 of file fontwork.hxx.

Referenced by SetShadow_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nShadowOffId
private

Definition at line 115 of file fontwork.hxx.

Referenced by SetShadow_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nShadowSlantId
private
sal_uInt16 SvxFontWorkDialog::nShowFormId
private

Definition at line 113 of file fontwork.hxx.

Referenced by SetShowForm_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nStyleOffId
private

Definition at line 99 of file fontwork.hxx.

Referenced by SetStyle_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nStyleRotateId
private

Definition at line 100 of file fontwork.hxx.

Referenced by SetStyle_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nStyleSlantXId
private

Definition at line 102 of file fontwork.hxx.

Referenced by SetStyle_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nStyleSlantYId
private

Definition at line 103 of file fontwork.hxx.

Referenced by SetStyle_Impl(), and SvxFontWorkDialog().

sal_uInt16 SvxFontWorkDialog::nStyleUprightId
private

Definition at line 101 of file fontwork.hxx.

Referenced by SetStyle_Impl(), and SvxFontWorkDialog().

SvxFontWorkControllerItem* SvxFontWorkDialog::pCtrlItems[CONTROLLER_COUNT]
private

Definition at line 78 of file fontwork.hxx.

Referenced by dispose(), and SvxFontWorkDialog().

SfxBindings& SvxFontWorkDialog::rBindings
private

Definition at line 95 of file fontwork.hxx.


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