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 |
![]() | |
SAL_DLLPRIVATE css::uno::WeakReference< css::beans::XPropertySet > const & | GetXObject () const |
SAL_DLLPRIVATE void | SetXObject (css::uno::Reference< css::beans::XPropertySet > const &xFieldMaster) |
virtual OUString | GetName () const |
Only in derived classes. More... | |
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 | UpdateFields () 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< sal_uLong > &rvNodeIndex) |
void | GatherRefFields (std::vector< SwGetRefField * > &rvRFields, const sal_uInt16 nTyp) |
void | GatherFields (std::vector< SwFormatField * > &rvFormatFields, bool bCollectOnlyInDocNodes=true) const |
![]() | |
virtual void | CallSwClientNotify (const SfxHint &rHint) const override |
![]() | |
SwModify () | |
virtual | ~SwModify () override |
void | Add (SwClient *pDepend) |
SwClient * | Remove (SwClient *pDepend) |
bool | HasWriterListeners () const |
virtual bool | GetInfo (SfxPoolItem &) const override |
void | LockModify () |
void | UnlockModify () |
void | SetInCache (bool bNew) |
void | SetInDocDTOR () |
bool | IsModifyLocked () const |
bool | IsInCache () const |
void | CheckCaching (const sal_uInt16 nWhich) |
bool | HasOnlyOneListener () const |
![]() | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::unique_ptr< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
![]() | |
bool | IsLast () const |
![]() | |
BroadcasterMixin ()=default | |
BroadcasterMixin (BroadcasterMixin const &)=default | |
BroadcasterMixin & | operator= (const BroadcasterMixin &) |
SvtBroadcaster & | GetNotifier () |
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 OUString | GetTypeStr (SwFieldTypesEnum nTypeId) |
![]() | |
SwFieldType (SwFieldIds nWhichId) | |
Single argument ctors shall be explicit. More... | |
![]() | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
![]() | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
Definition at line 609 of file docufld.hxx.
SwRefPageGetFieldType::SwRefPageGetFieldType | ( | SwDoc & | rDoc | ) |
Definition at line 2156 of file docufld.cxx.
References RefPageGet, and SVX_NUM_ARABIC.
Referenced by Copy().
|
overridevirtual |
Implements SwFieldType.
Definition at line 2161 of file docufld.cxx.
References m_nNumberingType, m_rDoc, and SwRefPageGetFieldType().
|
inline |
Definition at line 623 of file docufld.hxx.
References m_rDoc.
Referenced by SwRefPageGetField::ChangeExpansion().
bool SwRefPageGetFieldType::MakeSetList | ( | SetGetExpFields & | rTmpLst, |
SwRootFrame const * | pLayout | ||
) |
Definition at line 2213 of file docufld.cxx.
References o3tl::sorted_vector< Value, Compare, Find, class >::empty(), SwFrame::FindPageFrame(), SwFieldType::GatherFields(), GetBodyTextNode(), SwNodes::GetEndOfPostIts(), SwDoc::getIDocumentRedlineAccess(), SwContentNode::getLayoutFrame(), SwDoc::GetNodes(), SwTextField::GetTextNode(), o3tl::sorted_vector< Value, Compare, Find, class >::insert(), sw::IsFieldDeletedInModel(), SwRootFrame::IsHideRedlines(), SwFrame::IsInDocBody(), m_rDoc, and Point.
Referenced by SwRefPageGetField::ChangeExpansion(), and SwClientNotify().
|
overrideprivatevirtual |
overwritten to update all RefPageGet fields
Reimplemented from SwModify.
Definition at line 2168 of file docufld.cxx.
References sw::BroadcastingModify::CallSwClientNotify(), SwFieldType::GatherFields(), SwDoc::GetAllLayouts(), SwModify::HasWriterListeners(), m_rDoc, MakeSetList(), and UpdateField().
|
private |
Definition at line 2261 of file docufld.cxx.
References o3tl::sorted_vector< Value, Compare, Find, class >::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< Value, Compare, Find, class >::lower_bound(), m_rDoc, Point, SwRefPageGetField::SetText(), SwNode::StartOfSectionIndex(), SVX_NUM_ARABIC, and SVX_NUM_PAGEDESC.
Referenced by SwClientNotify().
|
private |
Definition at line 612 of file docufld.hxx.
Referenced by Copy().
|
private |
Definition at line 611 of file docufld.hxx.
Referenced by Copy(), GetDoc(), MakeSetList(), SwClientNotify(), and UpdateField().