LibreOffice Module sw (master) 1
|
#include <docstdlg.hxx>
Public Member Functions | |
SwDocStatPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SwDocStatPage () override |
Public Member Functions inherited from SfxTabPage | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *) |
virtual void | Reset (const SfxItemSet *) |
virtual bool | DeferResetToFirstActivation () |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
void | SetUserData (const OUString &rString) |
const OUString & | GetUserData () const |
virtual void | FillUserData () |
virtual bool | IsReadOnly () const |
virtual void | PageCreated (const SfxAllItemSet &aSet) |
virtual void | ChangesApplied () |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
DECL_LINK (UpdateHdl, weld::Button &, void) | |
void | Update () |
void | SetData (const SwDocStat &rStat) |
Private Attributes | |
std::unique_ptr< weld::Label > | m_xPageNo |
std::unique_ptr< weld::Label > | m_xTableNo |
std::unique_ptr< weld::Label > | m_xGrfNo |
std::unique_ptr< weld::Label > | m_xOLENo |
std::unique_ptr< weld::Label > | m_xParaNo |
std::unique_ptr< weld::Label > | m_xWordNo |
std::unique_ptr< weld::Label > | m_xCharNo |
std::unique_ptr< weld::Label > | m_xCharExclSpacesNo |
std::unique_ptr< weld::Label > | m_xLineLbl |
std::unique_ptr< weld::Label > | m_xLineNo |
std::unique_ptr< weld::Button > | m_xUpdatePB |
SwDocStat | m_aDocStat |
Additional Inherited Members | |
Protected Member Functions inherited from SfxTabPage | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 26 of file docstdlg.hxx.
SwDocStatPage::SwDocStatPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 39 of file docstdlg.cxx.
References SfxObjectShell::Current(), SwDocShell::GetFEShell(), LINK, m_xLineLbl, m_xLineNo, m_xUpdatePB, rSet, and Update().
|
overridevirtual |
Definition at line 66 of file docstdlg.cxx.
|
static |
Definition at line 34 of file docstdlg.cxx.
References rSet.
Referenced by SwAbstractDialogFactory_Impl::GetTabPageCreatorFunc().
|
private |
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 71 of file docstdlg.cxx.
|
overrideprivatevirtual |
Reimplemented from SfxTabPage.
Definition at line 76 of file docstdlg.cxx.
|
private |
Definition at line 81 of file docstdlg.cxx.
References LocaleDataWrapper::getNum(), Application::GetSettings(), AllSettings::GetUILocaleDataWrapper(), m_xCharExclSpacesNo, m_xCharNo, m_xGrfNo, m_xOLENo, m_xPageNo, m_xParaNo, m_xTableNo, m_xWordNo, SwDocStat::nChar, SwDocStat::nCharExcludingSpaces, SwDocStat::nGrf, SwDocStat::nOLE, SwDocStat::nPage, SwDocStat::nPara, SwDocStat::nTable, and SwDocStat::nWord.
Referenced by Update().
|
private |
Definition at line 95 of file docstdlg.cxx.
References SfxViewShell::Current(), SwViewShell::EndAction(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwDoc::getIDocumentStatistics(), IDocumentStatistics::GetUpdatedDocStat(), m_aDocStat, SetData(), and SwViewShell::StartAction().
Referenced by SwDocStatPage().
|
private |
Definition at line 52 of file docstdlg.hxx.
Referenced by Update().
|
private |
Definition at line 47 of file docstdlg.hxx.
Referenced by SetData().
|
private |
Definition at line 46 of file docstdlg.hxx.
Referenced by SetData().
|
private |
Definition at line 42 of file docstdlg.hxx.
Referenced by SetData().
|
private |
Definition at line 48 of file docstdlg.hxx.
Referenced by SwDocStatPage().
|
private |
Definition at line 49 of file docstdlg.hxx.
Referenced by SwDocStatPage().
|
private |
Definition at line 43 of file docstdlg.hxx.
Referenced by SetData().
|
private |
Definition at line 40 of file docstdlg.hxx.
Referenced by SetData().
|
private |
Definition at line 44 of file docstdlg.hxx.
Referenced by SetData().
|
private |
Definition at line 41 of file docstdlg.hxx.
Referenced by SetData().
|
private |
Definition at line 50 of file docstdlg.hxx.
Referenced by SwDocStatPage().
|
private |
Definition at line 45 of file docstdlg.hxx.
Referenced by SetData().