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 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 ()
 

Private Member Functions

 DECL_LINK (SelectStyleHdl_Impl, const OString &, void)
 
 DECL_LINK (SelectAdjustHdl_Impl, const OString &, void)
 
 DECL_LINK (SelectShadowHdl_Impl, const OString &, 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
 
OString m_sLastStyleTbxId
 
OString m_sLastAdjustTbxId
 
OString m_sLastShadowTbxId
 
long nSaveShadowX
 
long nSaveShadowY
 
long nSaveShadowAngle
 
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 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
 
VclPtr< vcl::Windowm_xVclContentArea
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Floating window for setting attributes of text effects.

Definition at line 72 of file fontwork.hxx.

Constructor & Destructor Documentation

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

Definition at line 252 of file fontwork.cxx.

Member Function Documentation

void SvxFontWorkDialog::ApplyImageList ( )
private

Definition at line 780 of file fontwork.cxx.

References m_sLastShadowTbxId, m_xFbShadowX, and m_xFbShadowY.

Referenced by SetShadow_Impl(), and SvxFontWorkDialog().

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

Reimplemented from SfxDockingWindow.

Definition at line 274 of file fontwork.cxx.

SvxFontWorkDialog::DECL_LINK ( SelectStyleHdl_Impl  ,
const OString &  ,
void   
)
private
SvxFontWorkDialog::DECL_LINK ( SelectAdjustHdl_Impl  ,
const OString &  ,
void   
)
private
SvxFontWorkDialog::DECL_LINK ( SelectShadowHdl_Impl  ,
const OString &  ,
void   
)
private
SvxFontWorkDialog::DECL_LINK ( ModifyInputHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxFontWorkDialog::DECL_LINK ( InputTimeoutHdl_Impl  ,
Timer ,
void   
)
private
SvxFontWorkDialog::DECL_LINK ( ColorSelectHdl_Impl  ,
ColorListBox ,
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

Definition at line 415 of file fontwork.cxx.

References SfxBoolItem::GetValue(), and m_xTbxAdjust.

Referenced by SvxFontWorkControllerItem::StateChanged().

void SvxFontWorkDialog::SetOutline_Impl ( const XFormTextOutlineItem pItem)
private

Definition at line 431 of file fontwork.cxx.

References SfxBoolItem::GetValue(), and m_xTbxShadow.

Referenced by SvxFontWorkControllerItem::StateChanged().

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

Definition at line 547 of file fontwork.cxx.

References XColorItem::GetColorValue(), and m_xShadowColorLB.

Referenced by SvxFontWorkControllerItem::StateChanged().

void SvxFontWorkDialog::SetShadowXVal_Impl ( const XFormTextShadowXValItem pItem)
private
void SvxFontWorkDialog::SetShadowYVal_Impl ( const XFormTextShadowYValItem pItem)
private
void SvxFontWorkDialog::SetShowForm_Impl ( const XFormTextHideFormItem pItem)
private

Definition at line 423 of file fontwork.cxx.

References SfxBoolItem::GetValue(), and m_xTbxShadow.

Referenced by SvxFontWorkControllerItem::StateChanged().

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 105 of file fontwork.hxx.

friend class SvxFontWorkControllerItem
friend

Definition at line 106 of file fontwork.hxx.

Referenced by SvxFontWorkDialog().

Member Data Documentation

Idle SvxFontWorkDialog::aInputIdle
private

Definition at line 77 of file fontwork.hxx.

Referenced by SvxFontWorkDialog().

OString SvxFontWorkDialog::m_sLastAdjustTbxId
private

Definition at line 80 of file fontwork.hxx.

Referenced by SetAdjust_Impl().

OString SvxFontWorkDialog::m_sLastShadowTbxId
private

Definition at line 81 of file fontwork.hxx.

Referenced by ApplyImageList(), and SetShadow_Impl().

OString SvxFontWorkDialog::m_sLastStyleTbxId
private

Definition at line 79 of file fontwork.hxx.

Referenced by SetStyle_Impl().

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

Definition at line 98 of file fontwork.hxx.

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

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

Definition at line 100 of file fontwork.hxx.

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

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

Definition at line 93 of file fontwork.hxx.

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

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

Definition at line 99 of file fontwork.hxx.

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

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

Definition at line 101 of file fontwork.hxx.

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

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

Definition at line 94 of file fontwork.hxx.

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

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

Definition at line 103 of file fontwork.hxx.

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

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

Definition at line 91 of file fontwork.hxx.

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

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

Definition at line 90 of file fontwork.hxx.

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

long SvxFontWorkDialog::nSaveShadowAngle
private

Definition at line 85 of file fontwork.hxx.

Referenced by SetShadow_Impl().

long SvxFontWorkDialog::nSaveShadowSize
private

Definition at line 86 of file fontwork.hxx.

Referenced by SetShadow_Impl().

long SvxFontWorkDialog::nSaveShadowX
private

Definition at line 83 of file fontwork.hxx.

Referenced by SetShadow_Impl().

long SvxFontWorkDialog::nSaveShadowY
private

Definition at line 84 of file fontwork.hxx.

Referenced by SetShadow_Impl().

SvxFontWorkControllerItem* SvxFontWorkDialog::pCtrlItems[CONTROLLER_COUNT]
private

Definition at line 88 of file fontwork.hxx.

Referenced by dispose(), and SvxFontWorkDialog().

SfxBindings& SvxFontWorkDialog::rBindings
private

Definition at line 76 of file fontwork.hxx.


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