20#ifndef INCLUDED_SW_INC_FMTFLD_HXX
21#define INCLUDED_SW_INC_FMTFLD_HXX
26#include <com/sun/star/text/XTextField.hpp>
87 GatherFieldsHint(std::vector<SwFormatField*>& rvFields,
bool bCollectOnlyInDocNodes =
true)
101 ,
public sw::BroadcastingModify
112 virtual void SwClientNotify(
const SwModify& rModify,
const SfxHint& rHint )
override;
129 void InvalidateField();
133 return mpField.get();
137 return mpField.get();
147 void SetField( std::unique_ptr<SwField> pField );
158 void ClearTextField();
161 bool IsFieldInDoc()
const;
162 bool IsProtect()
const;
165 {
return m_wXTextField; }
170 void ForceUpdateTextNode();
171 void UpdateTextNode(
const SfxHint& rHint);
172 void UpdateDocPos(
const SwTwips nDocPos);
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const
virtual bool operator==(const SfxPoolItem &) const=0
virtual SfxPoolItem * Clone(SfxItemPool *pPool=nullptr) const=0
Instances of SwFields and those derived from it occur 0 to n times.
Base class of all fields.
UNO wrapper around an SwFormatField, i.e.
struct _xmlTextWriter * xmlTextWriterPtr
@ SwFindFormatForPostItId
@ SwHasHiddenInformationNotes
Dialog to specify the properties of date form field.
const bool m_bHideRedlines
CollectPostItsHint(std::vector< SwFormatField * > &rvFormatFields, IDocumentRedlineAccess const &rIDRA, bool bHideRedlines)
IDocumentRedlineAccess const & m_rIDRA
std::vector< SwFormatField * > & m_rvFormatFields
SwFormatField *& m_rpFormat
FindFormatForPostItIdHint(const sal_uInt32 nPostItId, SwFormatField *&rpFormat)
const sal_uInt32 m_nPostItId
std::vector< SwDDETable * > & m_rvTables
GatherDdeTablesHint(std::vector< SwDDETable * > &rvTables)
GatherFieldsHint(std::vector< SwFormatField * > &rvFields, bool bCollectOnlyInDocNodes=true)
const bool m_bCollectOnlyInDocNodes
std::vector< SwFormatField * > & m_rvFields
GatherNodeIndexHint(std::vector< SwNodeOffset > &rvNodeIndex)
std::vector< SwNodeOffset > & m_rvNodeIndex
GatherRefFieldsHint(std::vector< SwGetRefField * > &rvRFields, const sal_uInt16 nType)
std::vector< SwGetRefField * > & m_rvRFields