LibreOffice Module sw (master) 1
|
#include <wordcountdialog.hxx>
Public Member Functions | |
SwWordCountFloatDlg (SfxBindings *pBindings, SfxChildWindow *pChild, weld::Window *pParent, SfxChildWinInfo const *pInfo) | |
virtual | ~SwWordCountFloatDlg () override |
void | UpdateCounts () |
void | SetCounts (const SwDocStat &rCurrCnt, const SwDocStat &rDocStat) |
Public Member Functions inherited from SfxModelessDialogController | |
virtual | ~SfxModelessDialogController () override |
void | Initialize (SfxChildWinInfo const *pInfo) |
bool | IsClosing () const |
virtual void | Close () override |
virtual void | EndDialog (int nResponse) override |
virtual void | Activate () override |
virtual void | Deactivate () override |
virtual void | ChildWinDispose () override |
virtual void | FillInfo (SfxChildWinInfo &) const |
SfxBindings & | GetBindings () const |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Private Member Functions | |
void | SetValues (const SwDocStat &rCurrent, const SwDocStat &rDoc) |
void | showCJK (bool bShowCJK) |
void | showStandardizedPages (bool bShowStandardizedPages) |
Private Attributes | |
std::unique_ptr< weld::Label > | m_xCurrentWordFT |
std::unique_ptr< weld::Label > | m_xCurrentCharacterFT |
std::unique_ptr< weld::Label > | m_xCurrentCharacterExcludingSpacesFT |
std::unique_ptr< weld::Label > | m_xCurrentCjkcharsFT |
std::unique_ptr< weld::Label > | m_xCurrentStandardizedPagesFT |
std::unique_ptr< weld::Label > | m_xDocWordFT |
std::unique_ptr< weld::Label > | m_xDocCharacterFT |
std::unique_ptr< weld::Label > | m_xDocCharacterExcludingSpacesFT |
std::unique_ptr< weld::Label > | m_xDocCjkcharsFT |
std::unique_ptr< weld::Label > | m_xDocStandardizedPagesFT |
std::unique_ptr< weld::Label > | m_xCjkcharsLabelFT |
std::unique_ptr< weld::Label > | m_xCjkcharsLabelFT2 |
std::unique_ptr< weld::Label > | m_xStandardizedPagesLabelFT |
std::unique_ptr< weld::Label > | m_xStandardizedPagesLabelFT2 |
std::unique_ptr< weld::Label > | m_xDocComments |
Additional Inherited Members | |
Protected Member Functions inherited from SfxModelessDialogController | |
SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
Definition at line 26 of file wordcountdialog.hxx.
SwWordCountFloatDlg::SwWordCountFloatDlg | ( | SfxBindings * | pBindings, |
SfxChildWindow * | pChild, | ||
weld::Window * | pParent, | ||
SfxChildWinInfo const * | pInfo | ||
) |
Definition at line 106 of file wordcountdialog.cxx.
References sw::proofreadingiterator::get(), SfxModelessDialogController::Initialize(), SvtCJKOptions::IsAnyEnabled(), showCJK(), and showStandardizedPages().
|
overridevirtual |
Definition at line 38 of file wordcountdialog.cxx.
References SwViewShell::SetCareDialog().
Definition at line 155 of file wordcountdialog.cxx.
References SetValues().
Definition at line 57 of file wordcountdialog.cxx.
References sw::proofreadingiterator::get(), Application::GetSettings(), AllSettings::GetUILocaleDataWrapper(), SvtCJKOptions::IsAnyEnabled(), m_xCurrentCharacterExcludingSpacesFT, m_xCurrentCharacterFT, m_xCurrentCjkcharsFT, m_xCurrentStandardizedPagesFT, m_xCurrentWordFT, m_xDialog, m_xDocCharacterExcludingSpacesFT, m_xDocCharacterFT, m_xDocCjkcharsFT, m_xDocComments, m_xDocStandardizedPagesFT, m_xDocWordFT, m_xStandardizedPagesLabelFT, SwDocStat::nAsianWord, SwDocStat::nChar, SwDocStat::nCharExcludingSpaces, SwDocStat::nComments, SwDocStat::nWord, setValue(), and showCJK().
Referenced by SetCounts(), and UpdateCounts().
|
private |
Definition at line 88 of file wordcountdialog.cxx.
References IS_MOBILE_PHONE, m_xCjkcharsLabelFT, m_xCjkcharsLabelFT2, m_xCurrentCjkcharsFT, and m_xDocCjkcharsFT.
Referenced by SetValues(), and SwWordCountFloatDlg().
|
private |
Definition at line 97 of file wordcountdialog.cxx.
References IS_MOBILE_PHONE, m_xCurrentStandardizedPagesFT, m_xDocStandardizedPagesFT, m_xStandardizedPagesLabelFT, and m_xStandardizedPagesLabelFT2.
Referenced by SwWordCountFloatDlg().
void SwWordCountFloatDlg::UpdateCounts | ( | ) |
Definition at line 133 of file wordcountdialog.cxx.
References SwPostItMgr::begin(), SwEditShell::CountWords(), SwPostItMgr::end(), SwCursorShell::EndAction(), GetActiveView(), SwViewShell::GetPostItMgr(), SwEditShell::GetUpdatedDocStat(), SwDocStat::nComments, SetValues(), and SwCursorShell::StartAction().
|
private |
Definition at line 42 of file wordcountdialog.hxx.
Referenced by showCJK().
|
private |
Definition at line 43 of file wordcountdialog.hxx.
Referenced by showCJK().
|
private |
Definition at line 34 of file wordcountdialog.hxx.
Referenced by SetValues().
|
private |
Definition at line 33 of file wordcountdialog.hxx.
Referenced by SetValues().
|
private |
Definition at line 35 of file wordcountdialog.hxx.
Referenced by SetValues(), and showCJK().
|
private |
Definition at line 36 of file wordcountdialog.hxx.
Referenced by SetValues(), and showStandardizedPages().
|
private |
Definition at line 32 of file wordcountdialog.hxx.
Referenced by SetValues().
|
private |
Definition at line 39 of file wordcountdialog.hxx.
Referenced by SetValues().
|
private |
Definition at line 38 of file wordcountdialog.hxx.
Referenced by SetValues().
|
private |
Definition at line 40 of file wordcountdialog.hxx.
Referenced by SetValues(), and showCJK().
|
private |
Definition at line 46 of file wordcountdialog.hxx.
Referenced by SetValues().
|
private |
Definition at line 41 of file wordcountdialog.hxx.
Referenced by SetValues(), and showStandardizedPages().
|
private |
Definition at line 37 of file wordcountdialog.hxx.
Referenced by SetValues().
|
private |
Definition at line 44 of file wordcountdialog.hxx.
Referenced by SetValues(), and showStandardizedPages().
|
private |
Definition at line 45 of file wordcountdialog.hxx.
Referenced by showStandardizedPages().