LibreOffice Module sw (master) 1
|
#include <wordcountdialog.hxx>
Public Member Functions | |
SwWordCountWrapper (vcl::Window *pParentWindow, sal_uInt16 nId, SfxBindings *pBindings, SfxChildWinInfo *pInfo) | |
SFX_DECL_CHILDWINDOW_WITHID (SwWordCountWrapper) | |
virtual | ~SwWordCountWrapper () override |
void | UpdateCounts () |
void | SetCounts (const SwDocStat &rCurrCnt, const SwDocStat &rDocStat) |
Public Member Functions inherited from SfxChildWindow | |
virtual | ~SfxChildWindow () |
void | Destroy () |
vcl::Window * | GetWindow () const |
void | SetController (std::shared_ptr< SfxDialogController > controller) |
void | ClearController () |
std::shared_ptr< SfxDialogController > & | GetController () |
const std::shared_ptr< SfxDialogController > & | GetController () const |
vcl::Window * | GetParent () const |
SfxChildAlignment | GetAlignment () const |
void | SetAlignment (SfxChildAlignment eAlign) |
virtual void | Hide () |
virtual void | Show (ShowFlags nFlags) |
sal_uInt16 | GetPosition () const |
sal_uInt16 | GetType () const |
virtual SfxChildWinInfo | GetInfo () const |
void | SaveStatus (const SfxChildWinInfo &rInfo) |
void | SetHideNotDelete (bool bOn) |
bool | IsHideNotDelete () const |
bool | IsVisible () const |
void | SetWantsFocus (bool) |
bool | WantsFocus () const |
virtual bool | QueryClose () |
const css::uno::Reference< css::frame::XFrame > & | GetFrame () const |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &) |
void | SetVisible_Impl (bool bVis) |
SAL_DLLPRIVATE void | SetWorkWindow_Impl (SfxWorkWindow *) |
SAL_DLLPRIVATE void | Activate_Impl () |
SAL_DLLPRIVATE void | SetFactory_Impl (const SfxChildWinFactory *) |
Private Attributes | |
VclPtr< AbstractSwWordCountFloatDlg > | m_xAbstDlg |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxChildWindow | |
static void | RegisterChildWindow (SfxModule *, const SfxChildWinFactory &) |
static std::unique_ptr< SfxChildWindow > | CreateChildWindow (sal_uInt16, vcl::Window *, SfxBindings *, SfxChildWinInfo const &) |
static SAL_DLLPRIVATE void | InitializeChildWinFactory_Impl (sal_uInt16, SfxChildWinInfo &) |
Protected Member Functions inherited from SfxChildWindow | |
void | SetWindow (const VclPtr< vcl::Window > &p) |
SfxChildWindow (vcl::Window *pParentWindow, sal_uInt16 nId) | |
Definition at line 59 of file wordcountdialog.hxx.
SwWordCountWrapper::SwWordCountWrapper | ( | vcl::Window * | pParentWindow, |
sal_uInt16 | nId, | ||
SfxBindings * | pBindings, | ||
SfxChildWinInfo * | pInfo | ||
) |
Definition at line 16 of file wordcountwrapper.cxx.
References SwAbstractDialogFactory::Create(), and SwAbstractDialogFactory::CreateSwWordCountDialog().
|
overridevirtual |
Definition at line 27 of file wordcountwrapper.cxx.
References VclPtr< class reference_type >::disposeAndClear(), and m_xAbstDlg.
Definition at line 43 of file wordcountwrapper.cxx.
References m_xAbstDlg.
Referenced by SwView::StateStatusLine().
SwWordCountWrapper::SFX_DECL_CHILDWINDOW_WITHID | ( | SwWordCountWrapper | ) |
void SwWordCountWrapper::UpdateCounts | ( | ) |
Definition at line 38 of file wordcountwrapper.cxx.
References m_xAbstDlg.
Referenced by SwWrtShell::EndSelect(), SwWrtShell::Invalidate(), SwEditWin::KeyInput(), SwEditWin::MouseMove(), and SwView::UpdateWordCount().
|
private |
Definition at line 61 of file wordcountdialog.hxx.
Referenced by SetCounts(), UpdateCounts(), and ~SwWordCountWrapper().