LibreOffice Module svx (master) 1
|
Floating window for setting attributes of text effects. More...
#include <fontwork.hxx>
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::Rectangle & | GetInnerRect () const |
const tools::Rectangle & | GetOuterRect () const |
SfxBindings & | GetBindings () const |
sal_uInt16 | GetType () const |
SfxChildAlignment | GetAlignment () const |
void | SetAlignment (SfxChildAlignment eAlign) |
const Size & | GetFloatingSize () const |
void | SetFloatingSize (const Size &rSize) |
void | SetMinOutputSizePixel (const Size &rSize) |
const Size & | GetMinOutputSizePixel () 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 Attributes | |
SfxBindings & | rBindings |
Idle | aInputIdle |
OUString | m_sLastStyleTbxId |
OUString | m_sLastAdjustTbxId |
OUString | m_sLastShadowTbxId |
tools::Long | nSaveShadowX |
tools::Long | nSaveShadowY |
tools::Long | nSaveShadowAngle |
tools::Long | nSaveShadowSize |
SvxFontWorkControllerItem * | pCtrlItems [CONTROLLER_COUNT] |
std::unique_ptr< weld::Toolbar > | m_xTbxStyle |
std::unique_ptr< weld::Toolbar > | m_xTbxAdjust |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldDistance |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldTextStart |
std::unique_ptr< weld::Toolbar > | m_xTbxShadow |
std::unique_ptr< weld::Image > | m_xFbShadowX |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldShadowX |
std::unique_ptr< weld::Image > | m_xFbShadowY |
std::unique_ptr< weld::MetricSpinButton > | m_xMtrFldShadowY |
std::unique_ptr< ColorListBox > | m_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 SfxChildWindow * | GetChildWindow_Impl () |
Protected Attributes inherited from SfxDockingWindow | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Box > | m_xContainer |
Floating window for setting attributes of text effects.
Definition at line 72 of file fontwork.hxx.
SvxFontWorkDialog::SvxFontWorkDialog | ( | SfxBindings * | pBinding, |
SfxChildWindow * | pCW, | ||
vcl::Window * | pParent | ||
) |
Definition at line 176 of file fontwork.cxx.
References CM, and GetFrameWeld().
|
overridevirtual |
Definition at line 252 of file fontwork.cxx.
|
private |
Definition at line 780 of file fontwork.cxx.
References m_sLastShadowTbxId, m_xFbShadowX, and m_xFbShadowY.
Referenced by SetShadow_Impl().
|
overrideprivatevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 274 of file fontwork.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxDockingWindow.
Definition at line 257 of file fontwork.cxx.
References SfxDockingWindow::dispose(), m_xFbShadowX, m_xFbShadowY, m_xMtrFldDistance, m_xMtrFldShadowX, m_xMtrFldShadowY, m_xMtrFldTextStart, m_xShadowColorLB, m_xTbxAdjust, m_xTbxShadow, m_xTbxStyle, and pCtrlItems.
|
private |
Definition at line 354 of file fontwork.cxx.
References Center, SfxEnumItem< typename EnumT >::GetValue(), Left, m_sLastAdjustTbxId, m_xMtrFldDistance, m_xMtrFldTextStart, m_xTbxAdjust, Right, and sId.
Referenced by SvxFontWorkControllerItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 395 of file fontwork.cxx.
References CntInt32Item::GetValue(), m_xMtrFldDistance, and SetMetricValue().
Referenced by SvxFontWorkControllerItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 415 of file fontwork.cxx.
References SfxBoolItem::GetValue(), and m_xTbxAdjust.
Referenced by SvxFontWorkControllerItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 431 of file fontwork.cxx.
References SfxBoolItem::GetValue(), and m_xTbxShadow.
Referenced by SvxFontWorkControllerItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 439 of file fontwork.cxx.
References ApplyImageList(), SfxDispatcher::ExecuteList(), SfxDockingWindow::GetBindings(), SfxBindings::GetDispatcher(), SfxModule::GetFieldUnit(), SfxDispatcher::GetModule(), SfxEnumItem< typename EnumT >::GetValue(), m_sLastShadowTbxId, m_xFbShadowX, m_xFbShadowY, m_xMtrFldShadowX, m_xMtrFldShadowY, m_xShadowColorLB, m_xTbxShadow, NONE, Normal, nSaveShadowAngle, nSaveShadowSize, nSaveShadowX, nSaveShadowY, rBindings, SetMetricValue(), sId, and WIDTH_CHARS.
Referenced by SvxFontWorkControllerItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 547 of file fontwork.cxx.
References XColorItem::GetColorValue(), and m_xShadowColorLB.
Referenced by SvxFontWorkControllerItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 554 of file fontwork.cxx.
References CntInt32Item::GetValue(), m_xMtrFldShadowX, m_xTbxShadow, and SetMetricValue().
Referenced by SvxFontWorkControllerItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 583 of file fontwork.cxx.
References CntInt32Item::GetValue(), m_xMtrFldShadowY, m_xTbxShadow, and SetMetricValue().
Referenced by SvxFontWorkControllerItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 423 of file fontwork.cxx.
References SfxBoolItem::GetValue(), and m_xTbxShadow.
Referenced by SvxFontWorkControllerItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 405 of file fontwork.cxx.
References CntInt32Item::GetValue(), m_xMtrFldTextStart, and SetMetricValue().
Referenced by SvxFontWorkControllerItem::StateChangedAtToolBoxControl().
|
private |
Definition at line 314 of file fontwork.cxx.
References SfxEnumItem< typename EnumT >::GetValue(), m_sLastStyleTbxId, m_xTbxStyle, NONE, Rotate, sId, SlantX, SlantY, and Upright.
Referenced by SvxFontWorkControllerItem::StateChangedAtToolBoxControl().
|
friend |
Definition at line 105 of file fontwork.hxx.
|
friend |
Definition at line 106 of file fontwork.hxx.
|
private |
Definition at line 77 of file fontwork.hxx.
|
private |
Definition at line 80 of file fontwork.hxx.
Referenced by SetAdjust_Impl().
|
private |
Definition at line 81 of file fontwork.hxx.
Referenced by ApplyImageList(), and SetShadow_Impl().
|
private |
Definition at line 79 of file fontwork.hxx.
Referenced by SetStyle_Impl().
|
private |
Definition at line 98 of file fontwork.hxx.
Referenced by ApplyImageList(), dispose(), and SetShadow_Impl().
|
private |
Definition at line 100 of file fontwork.hxx.
Referenced by ApplyImageList(), dispose(), and SetShadow_Impl().
|
private |
Definition at line 93 of file fontwork.hxx.
Referenced by dispose(), SetAdjust_Impl(), and SetDistance_Impl().
|
private |
Definition at line 99 of file fontwork.hxx.
Referenced by dispose(), SetShadow_Impl(), and SetShadowXVal_Impl().
|
private |
Definition at line 101 of file fontwork.hxx.
Referenced by dispose(), SetShadow_Impl(), and SetShadowYVal_Impl().
|
private |
Definition at line 94 of file fontwork.hxx.
Referenced by dispose(), SetAdjust_Impl(), and SetStart_Impl().
|
private |
Definition at line 103 of file fontwork.hxx.
Referenced by dispose(), SetShadow_Impl(), and SetShadowColor_Impl().
|
private |
Definition at line 91 of file fontwork.hxx.
Referenced by dispose(), SetAdjust_Impl(), and SetMirror_Impl().
|
private |
Definition at line 96 of file fontwork.hxx.
Referenced by dispose(), SetOutline_Impl(), SetShadow_Impl(), SetShadowXVal_Impl(), SetShadowYVal_Impl(), and SetShowForm_Impl().
|
private |
Definition at line 90 of file fontwork.hxx.
Referenced by dispose(), and SetStyle_Impl().
|
private |
Definition at line 85 of file fontwork.hxx.
Referenced by SetShadow_Impl().
|
private |
Definition at line 86 of file fontwork.hxx.
Referenced by SetShadow_Impl().
|
private |
Definition at line 83 of file fontwork.hxx.
Referenced by SetShadow_Impl().
|
private |
Definition at line 84 of file fontwork.hxx.
Referenced by SetShadow_Impl().
|
private |
Definition at line 88 of file fontwork.hxx.
Referenced by dispose().
|
private |
Definition at line 76 of file fontwork.hxx.
Referenced by SetShadow_Impl().