class SwTextField; class SwContentFrame; class SwSectionNode; class SwSection; class SwTextTOXMark; class SwTableBox; class SwTextINetFormat; class SwFlyFrameFormat; class SwNode; struct SwPosition; enumclass SwFieldIds : sal_uInt16;
// Update expression fields class SetGetExpField
{ // TODO: in case of multiple layouts, storing this only once isn't going to work (although already a problem for cached field value)
sal_uInt16 m_nPageNumber = 0;
SwNodeOffset m_nNode; union { const SwTextField* pTextField; const SwSection* pSection; const SwPosition* pPos; const SwTextTOXMark* pTextTOX; const SwTableBox* pTBox; const SwTextINetFormat* pTextINet; const SwFlyFrameFormat* pFlyFormat;
::sw::mark::Bookmark const* pBookmark;
} m_CNTNT;
sal_Int32 m_nContent; enum SetGetExpFieldType
{
TEXTFIELD, TEXTTOXMARK, SECTIONNODE, BOOKMARK, CRSRPOS, TABLEBOX,
TEXTINET, FLYFRAME
} m_eSetGetExpFieldType;
// search for the string that was saved under rName in the hash table
OUString LookString( std::unordered_map<OUString,OUString> const & rTable, const OUString& rName );
constint GETFLD_ALL = 3; // combine flags via OR constint GETFLD_CALC = 1; constint GETFLD_EXPAND = 2;
class SwDocUpdateField
{
std::unique_ptr<SetGetExpFields> m_pFieldSortList; ///< current field list for calculation
std::unordered_multimap<OUString, const SwFieldType*> m_FieldTypeTable;
SwNodeOffset m_nNodes; ///< to check if the node count changed int m_nFieldListGetMode;
SwDoc& m_rDoc;
bool m_bInUpdateFields : 1; ///< currently in an UpdateFields call bool m_bFieldsDirty : 1; ///< some fields are invalid
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.