LibreOffice Module sw (master) 1
|
#include <docufld.hxx>
Public Member Functions | |
SwRefPageGetFieldType (SwDoc &rDoc) | |
virtual std::unique_ptr< SwFieldType > | Copy () const override |
bool | MakeSetList (SetGetExpFields &rTmpLst, SwRootFrame const *pLayout) |
SwDoc & | GetDoc () const |
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 Member Functions | |
void | UpdateField (SwTextField const *pTextField, SetGetExpFields const &rSetList, SwRootFrame const *pLayout) |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
overwritten to update all RefPageGet fields More... | |
Private Attributes | |
SwDoc & | m_rDoc |
sal_Int16 | 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 623 of file docufld.hxx.
SwRefPageGetFieldType::SwRefPageGetFieldType | ( | SwDoc & | rDoc | ) |
Definition at line 2221 of file docufld.cxx.
References RefPageGet, and SVX_NUM_ARABIC.
Referenced by Copy().
|
overridevirtual |
Implements SwFieldType.
Definition at line 2226 of file docufld.cxx.
References m_nNumberingType, m_rDoc, and SwRefPageGetFieldType().
|
inline |
Definition at line 637 of file docufld.hxx.
References m_rDoc.
Referenced by SwRefPageGetField::ChangeExpansion().
bool SwRefPageGetFieldType::MakeSetList | ( | SetGetExpFields & | rTmpLst, |
SwRootFrame const * | pLayout | ||
) |
Definition at line 2278 of file docufld.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwFrame::FindPageFrame(), SwFieldType::GatherFields(), GetBodyTextNode(), SwPosition::GetContentIndex(), SwNodes::GetEndOfPostIts(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentRedlineAccess(), SwContentNode::getLayoutFrame(), SwPosition::GetNode(), SwDoc::GetNodes(), IDocumentFieldsAccess::GetSysFieldType(), SwTextField::GetTextNode(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), sw::IsFieldDeletedInModel(), SwRootFrame::IsHideRedlines(), SwFrame::IsInDocBody(), m_rDoc, and RefPageSet.
Referenced by SwRefPageGetField::ChangeExpansion(), and SwClientNotify().
|
overrideprivatevirtual |
overwritten to update all RefPageGet fields
Definition at line 2233 of file docufld.cxx.
References SwFieldType::GatherFields(), SwDoc::GetAllLayouts(), SfxHint::GetId(), m_rDoc, MakeSetList(), and UpdateField().
|
private |
Definition at line 2324 of file docufld.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), SwFrame::FindPageFrame(), FormatNumber(), SwNodes::GetEndOfExtras(), SwFormatField::GetField(), SwField::GetFormat(), SwTextAttr::GetFormatField(), SwNode::GetIndex(), SwContentNode::getLayoutFrame(), SwDoc::GetNodes(), SvxNumberType::GetNumberingType(), SwPageDesc::GetNumType(), SwRefPageSetField::GetOffset(), SwPageFrame::GetPageDesc(), SwPageFrame::GetPhyPageNum(), SwTextField::GetTextNode(), SwRefPageSetField::IsOn(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::lower_bound(), m_rDoc, SwRefPageGetField::SetText(), SwNode::StartOfSectionIndex(), SVX_NUM_ARABIC, and SVX_NUM_PAGEDESC.
Referenced by SwClientNotify().
|
private |
Definition at line 626 of file docufld.hxx.
Referenced by Copy().
|
private |
Definition at line 625 of file docufld.hxx.
Referenced by Copy(), GetDoc(), MakeSetList(), SwClientNotify(), and UpdateField().