LibreOffice Module sw (master) 1
|
#include <docufld.hxx>
Public Member Functions | |
SwDocStatFieldType (SwDoc &) | |
OUString | Expand (sal_uInt16 nSubType, SvxNumType nFormat) const |
virtual std::unique_ptr< SwFieldType > | Copy () const override |
void | SetNumFormat (SvxNumType eFormat) |
Public Member Functions inherited from SwFieldType | |
unotools::WeakReference< SwXFieldMaster > const & | GetXObject () const |
void | SetXObject (rtl::Reference< SwXFieldMaster > const &xFieldMaster) |
virtual OUString | GetName () const |
Only in derived classes. More... | |
virtual std::unique_ptr< SwFieldType > | Copy () const =0 |
virtual void | QueryValue (css::uno::Any &rVal, sal_uInt16 nWhich) const |
virtual void | PutValue (const css::uno::Any &rVal, sal_uInt16 nWhich) |
SwFieldIds | Which () const |
void | PrintHiddenPara () |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
SwFormatField * | FindFormatForField (const SwField *) const |
SwFormatField * | FindFormatForPostItId (sal_uInt32 nPostItId) const |
void | CollectPostIts (std::vector< SwFormatField * > &rvFormatFields, IDocumentRedlineAccess const &rIDRA, bool HideRedlines) |
bool | HasHiddenInformationNotes () const |
void | GatherNodeIndex (std::vector< SwNodeOffset > &rvNodeIndex) |
void | GatherRefFields (std::vector< SwGetRefField * > &rvRFields, const sal_uInt16 nTyp) |
void | GatherFields (std::vector< SwFormatField * > &rvFormatFields, bool bCollectOnlyInDocNodes=true) const |
void | GatherDdeTables (std::vector< SwDDETable * > &rvTables) const |
void | UpdateDocPos (const SwTwips nDocPos) |
virtual void | UpdateFields () |
Private Attributes | |
SwDoc & | m_rDoc |
SvxNumType | m_nNumberingType |
Additional Inherited Members | |
Static Public Member Functions inherited from SwFieldType | |
static const OUString & | GetTypeStr (SwFieldTypesEnum nTypeId) |
Protected Member Functions inherited from SwFieldType | |
SwFieldType (SwFieldIds nWhichId) | |
Single argument ctors shall be explicit. More... | |
Definition at line 252 of file docufld.hxx.
SwDocStatFieldType::SwDocStatFieldType | ( | SwDoc & | rDocument | ) |
Definition at line 726 of file docufld.cxx.
References DocStat, and SVX_NUM_ARABIC.
|
overridevirtual |
OUString SwDocStatFieldType::Expand | ( | sal_uInt16 | nSubType, |
SvxNumType | nFormat | ||
) | const |
Definition at line 733 of file docufld.cxx.
References DS_CHAR, DS_GRF, DS_OLE, DS_PAGE, DS_PARA, DS_TBL, DS_WORD, FormatNumber(), IDocumentLayoutAccess::GetCurrentLayout(), IDocumentStatistics::GetDocStat(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentStatistics(), SwRootFrame::GetPageNum(), m_nNumberingType, m_rDoc, SwDocStat::nChar, SwDocStat::nGrf, SwDocStat::nOLE, SwDocStat::nPage, SwDocStat::nPara, SwDocStat::nTable, SwDocStat::nWord, and SVX_NUM_PAGEDESC.
|
inline |
Definition at line 262 of file docufld.hxx.
|
private |
Definition at line 255 of file docufld.hxx.
Referenced by Expand().
|
private |
Definition at line 254 of file docufld.hxx.