LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwDocUpdateField Class Reference

#include <docfld.hxx>

Collaboration diagram for SwDocUpdateField:
[legend]

Public Member Functions

 SwDocUpdateField (SwDoc &rDocument)
 
 ~SwDocUpdateField ()
 
const SetGetExpFieldsGetSortList () const
 
void MakeFieldList (SwDoc &rDoc, bool bAll, int eGetMode)
 
void InsDelFieldInFieldLst (bool bIns, const SwTextField &rField)
 
void InsertFieldType (const SwFieldType &rType)
 
void RemoveFieldType (const SwFieldType &rType)
 
bool IsInUpdateFields () const
 
void SetInUpdateFields (bool b)
 
bool IsFieldsDirty () const
 
void SetFieldsDirty (bool b)
 
SwHashTable< SwCalcFieldType > const & GetFieldTypeTable () const
 

Private Member Functions

void MakeFieldList_ (SwDoc &pDoc, int eGetMode)
 
void GetBodyNode (const SwTextField &, SwFieldIds nFieldWhich)
 
void GetBodyNode (const SwSectionNode &)
 

Private Attributes

std::unique_ptr< SetGetExpFieldsm_pFieldSortList
 current field list for calculation More...
 
SwHashTable< SwCalcFieldTypem_FieldTypeTable
 
sal_uLong m_nNodes
 to check if the node count changed More...
 
int m_nFieldListGetMode
 
SwDocm_rDoc
 
bool m_bInUpdateFields: 1
 currently in an UpdateFields call More...
 
bool m_bFieldsDirty: 1
 some fields are invalid More...
 

Detailed Description

Definition at line 131 of file docfld.hxx.

Constructor & Destructor Documentation

SwDocUpdateField::SwDocUpdateField ( SwDoc rDocument)

Definition at line 1167 of file docfld.cxx.

SwDocUpdateField::~SwDocUpdateField ( )

Definition at line 1177 of file docfld.cxx.

Member Function Documentation

void SwDocUpdateField::GetBodyNode ( const SwTextField rTField,
SwFieldIds  nFieldWhich 
)
private
void SwDocUpdateField::GetBodyNode ( const SwSectionNode rSectNd)
private
SwHashTable<SwCalcFieldType> const& SwDocUpdateField::GetFieldTypeTable ( ) const
inline

Definition at line 174 of file docfld.hxx.

References m_FieldTypeTable.

Referenced by InsertFieldType(), RemoveFieldType(), and SwCalc::VarLook().

const SetGetExpFields* SwDocUpdateField::GetSortList ( ) const
inline

Definition at line 151 of file docfld.hxx.

void SwDocUpdateField::InsDelFieldInFieldLst ( bool  bIns,
const SwTextField rField 
)
void SwDocUpdateField::InsertFieldType ( const SwFieldType rType)
bool SwDocUpdateField::IsFieldsDirty ( ) const
inline

Definition at line 163 of file docfld.hxx.

References m_bFieldsDirty.

Referenced by sw::DocumentTimerManager::GetNextIdleJob().

bool SwDocUpdateField::IsInUpdateFields ( ) const
inline

Definition at line 160 of file docfld.hxx.

References m_bInUpdateFields.

Referenced by sw::DocumentTimerManager::GetNextIdleJob().

void SwDocUpdateField::MakeFieldList ( SwDoc rDoc,
bool  bAll,
int  eGetMode 
)
void SwDocUpdateField::MakeFieldList_ ( SwDoc pDoc,
int  eGetMode 
)
private
void SwDocUpdateField::RemoveFieldType ( const SwFieldType rType)
void SwDocUpdateField::SetFieldsDirty ( bool  b)
inline
void SwDocUpdateField::SetInUpdateFields ( bool  b)
inline

Definition at line 161 of file docfld.hxx.

References m_bInUpdateFields.

Member Data Documentation

bool SwDocUpdateField::m_bFieldsDirty
private

some fields are invalid

Definition at line 141 of file docfld.hxx.

Referenced by IsFieldsDirty(), and SetFieldsDirty().

bool SwDocUpdateField::m_bInUpdateFields
private

currently in an UpdateFields call

Definition at line 140 of file docfld.hxx.

Referenced by IsInUpdateFields(), and SetInUpdateFields().

SwHashTable<SwCalcFieldType> SwDocUpdateField::m_FieldTypeTable
private

Definition at line 134 of file docfld.hxx.

Referenced by GetFieldTypeTable(), InsertFieldType(), and RemoveFieldType().

int SwDocUpdateField::m_nFieldListGetMode
private

Definition at line 137 of file docfld.hxx.

Referenced by MakeFieldList(), and MakeFieldList_().

sal_uLong SwDocUpdateField::m_nNodes
private

to check if the node count changed

Definition at line 136 of file docfld.hxx.

Referenced by MakeFieldList(), and MakeFieldList_().

std::unique_ptr<SetGetExpFields> SwDocUpdateField::m_pFieldSortList
private

current field list for calculation

Definition at line 133 of file docfld.hxx.

Referenced by GetBodyNode(), InsDelFieldInFieldLst(), MakeFieldList(), and MakeFieldList_().

SwDoc& SwDocUpdateField::m_rDoc
private

Definition at line 138 of file docfld.hxx.


The documentation for this class was generated from the following files: