30#include <osl/diagnose.h>
41 const size_t nSize = rFieldTypes.size();
44 std::vector<SwFormatField*> vFields;
45 for(
size_t i = 0;
i < nSize; ++
i)
52 for(
auto pFormatField: vFields)
54 auto pSetExpField =
dynamic_cast<SwSetExpField*
>(pFormatField->GetField());
55 if(pSetExpField && !pSetExpField->GetInputFlag())
57 const SwTextField* pTextField = pFormatField->GetTextField();
80 const SwTextField* pTextField = (*mpSrtLst)[
nId ]->GetTextField();
81 OSL_ENSURE( pTextField,
"no TextField" );
116 const size_t nSize = rFieldTypes.size();
119 std::vector<SwFormatField*> vFields;
120 for(
size_t i = 0;
i < nSize; ++
i)
127 for(
auto pFormatField: vFields)
129 auto pSetExpField =
dynamic_cast<SwSetExpField*
>(pFormatField->GetField());
130 if(pSetExpField && !pSetExpField->GetInputFlag())
132 const SwTextField* pTextField = pFormatField->GetTextField();
virtual const SwFieldTypes * GetFieldTypes() const =0
bool Pop(PopMode, ::std::optional< SwCallLink > &roLink)
void Push()
store a copy of the current cursor on the cursor stack
SwCursor * GetCursor(bool bMakeTableCursor=true) const
Return pointer to the current shell cursor.
IDocumentFieldsAccess const & getIDocumentFieldsAccess() const
void StartAllAction()
For all views of this document.
Instances of SwFields and those derived from it occur 0 to n times.
void GatherFields(std::vector< SwFormatField * > &rvFormatFields, bool bCollectOnlyInDocNodes=true) const
Base class of all fields.
const SwPosition * GetPoint() const
const SwFormatField & GetFormatField() const
SwTextNode & GetTextNode() const
const_iterator find(const Value &x) const
size_type erase(const Value &x)
const_iterator end() const
std::pair< const_iterator, bool > insert(Value &&x)