LibreOffice Module sw (master) 1
Public Member Functions | Protected Member Functions | List of all members
IDocumentFieldsAccess Class Referenceabstract

Document fields related interfaces. More...

#include <IDocumentFieldsAccess.hxx>

Inheritance diagram for IDocumentFieldsAccess:

Public Member Functions

virtual const SwFieldTypesGetFieldTypes () const =0
virtual SwFieldTypeInsertFieldType (const SwFieldType &)=0
virtual SwFieldTypeGetSysFieldType (const SwFieldIds eWhich) const =0
virtual SwFieldTypeGetFieldType (SwFieldIds nResId, const OUString &rName, bool bDbFieldMatching) const =0
virtual void RemoveFieldType (size_t nField)=0
virtual void UpdateFields (bool bCloseDB)=0
virtual void InsDeletedFieldType (SwFieldType &)=0
virtual void PutValueToField (const SwPosition &rPos, const css::uno::Any &rVal, sal_uInt16 nWhich)=0
 Puts a value into a field at a certain position. More...
virtual bool UpdateField (SwTextField *rDstFormatField, SwField &rSrcField, SwMsgPoolItem *pMsgHint, bool bUpdateTableFields)=0
 Updates a field. More...
virtual void UpdateRefFields ()=0
virtual void UpdateTableFields (SfxPoolItem *pHt)=0
virtual void UpdateExpFields (SwTextField *pField, bool bUpdateRefFields)=0
virtual void UpdateUsrFields ()=0
virtual void UpdatePageFields (SfxPoolItem *)=0
virtual void LockExpFields ()=0
virtual void UnlockExpFields ()=0
virtual bool IsExpFieldsLocked () const =0
virtual SwDocUpdateFieldGetUpdateFields () const =0
virtual bool SetFieldsDirty (bool b, const SwNode *pChk, SwNodeOffset nLen)=0
virtual void SetFixFields (const DateTime *pNewDateTime)=0
virtual void FieldsToCalc (SwCalc &rCalc, SwNodeOffset nLastNd, sal_Int32 nLastCnt)=0
virtual void FieldsToCalc (SwCalc &rCalc, const SetGetExpField &rToThisField, SwRootFrame const *pLayout)=0
virtual void FieldsToExpand (SwHashTable< HashStr > &rTable, const SetGetExpField &rToThisField, SwRootFrame const &rLayout)=0
virtual bool IsNewFieldLst () const =0
virtual void SetNewFieldLst (bool bFlag)=0
virtual void InsDelFieldInFieldLst (bool bIns, const SwTextField &rField)=0
virtual sal_Int32 GetRecordsPerDocument () const =0

Protected Member Functions

virtual ~IDocumentFieldsAccess ()

Detailed Description

Document fields related interfaces.

Definition at line 51 of file IDocumentFieldsAccess.hxx.

Constructor & Destructor Documentation

◆ ~IDocumentFieldsAccess()

virtual IDocumentFieldsAccess::~IDocumentFieldsAccess ( )

Definition at line 141 of file IDocumentFieldsAccess.hxx.

Member Function Documentation

◆ FieldsToCalc() [1/2]

virtual void IDocumentFieldsAccess::FieldsToCalc ( SwCalc rCalc,
const SetGetExpField rToThisField,
SwRootFrame const *  pLayout 
pure virtual

Implemented in sw::DocumentFieldsManager.

◆ FieldsToCalc() [2/2]

virtual void IDocumentFieldsAccess::FieldsToCalc ( SwCalc rCalc,
SwNodeOffset  nLastNd,
sal_Int32  nLastCnt 
pure virtual

◆ FieldsToExpand()

virtual void IDocumentFieldsAccess::FieldsToExpand ( SwHashTable< HashStr > &  rTable,
const SetGetExpField rToThisField,
SwRootFrame const &  rLayout 
pure virtual

◆ GetFieldType()

virtual SwFieldType * IDocumentFieldsAccess::GetFieldType ( SwFieldIds  nResId,
const OUString &  rName,
bool  bDbFieldMatching 
) const
pure virtual

◆ GetFieldTypes()

virtual const SwFieldTypes * IDocumentFieldsAccess::GetFieldTypes ( ) const
pure virtual

◆ GetRecordsPerDocument()

virtual sal_Int32 IDocumentFieldsAccess::GetRecordsPerDocument ( ) const
pure virtual

◆ GetSysFieldType()

virtual SwFieldType * IDocumentFieldsAccess::GetSysFieldType ( const SwFieldIds  eWhich) const
pure virtual

◆ GetUpdateFields()

virtual SwDocUpdateField & IDocumentFieldsAccess::GetUpdateFields ( ) const
pure virtual

◆ InsDeletedFieldType()

virtual void IDocumentFieldsAccess::InsDeletedFieldType ( SwFieldType )
pure virtual

◆ InsDelFieldInFieldLst()

virtual void IDocumentFieldsAccess::InsDelFieldInFieldLst ( bool  bIns,
const SwTextField rField 
pure virtual

◆ InsertFieldType()

virtual SwFieldType * IDocumentFieldsAccess::InsertFieldType ( const SwFieldType )
pure virtual

◆ IsExpFieldsLocked()

virtual bool IDocumentFieldsAccess::IsExpFieldsLocked ( ) const
pure virtual

◆ IsNewFieldLst()

virtual bool IDocumentFieldsAccess::IsNewFieldLst ( ) const
pure virtual

◆ LockExpFields()

virtual void IDocumentFieldsAccess::LockExpFields ( )
pure virtual

◆ PutValueToField()

virtual void IDocumentFieldsAccess::PutValueToField ( const SwPosition rPos,
const css::uno::Any &  rVal,
sal_uInt16  nWhich 
pure virtual

Puts a value into a field at a certain position.

A missing field at the given position leads to a failure.

rPositionposition of the field
rValthe value
Return values
trueputting of value was successful

Implemented in sw::DocumentFieldsManager.

Referenced by SwXTextField::setPropertyValue().

◆ RemoveFieldType()

virtual void IDocumentFieldsAccess::RemoveFieldType ( size_t  nField)
pure virtual

◆ SetFieldsDirty()

virtual bool IDocumentFieldsAccess::SetFieldsDirty ( bool  b,
const SwNode pChk,
SwNodeOffset  nLen 
pure virtual

◆ SetFixFields()

virtual void IDocumentFieldsAccess::SetFixFields ( const DateTime pNewDateTime)
pure virtual

◆ SetNewFieldLst()

virtual void IDocumentFieldsAccess::SetNewFieldLst ( bool  bFlag)
pure virtual

◆ UnlockExpFields()

virtual void IDocumentFieldsAccess::UnlockExpFields ( )
pure virtual

◆ UpdateExpFields()

virtual void IDocumentFieldsAccess::UpdateExpFields ( SwTextField pField,
bool  bUpdateRefFields 
pure virtual

◆ UpdateField()

virtual bool IDocumentFieldsAccess::UpdateField ( SwTextField rDstFormatField,
SwField rSrcField,
SwMsgPoolItem pMsgHint,
bool  bUpdateTableFields 
pure virtual

Updates a field.

rDstFormatFieldfield to update
rSrcFieldfield containing the new values
bUpdateTableFieldsTRUE: update table fields, too.
Return values
trueupdate was successful

Implemented in sw::DocumentFieldsManager.

Referenced by SwUndoFieldFromDoc::DoImpl(), SwUndoFieldFromDoc::UndoImpl(), and SwEditShell::UpdateOneField().

◆ UpdateFields()

virtual void IDocumentFieldsAccess::UpdateFields ( bool  bCloseDB)
pure virtual

◆ UpdatePageFields()

virtual void IDocumentFieldsAccess::UpdatePageFields ( SfxPoolItem )
pure virtual

◆ UpdateRefFields()

virtual void IDocumentFieldsAccess::UpdateRefFields ( )
pure virtual

◆ UpdateTableFields()

virtual void IDocumentFieldsAccess::UpdateTableFields ( SfxPoolItem pHt)
pure virtual

◆ UpdateUsrFields()

virtual void IDocumentFieldsAccess::UpdateUsrFields ( )
pure virtual

Implemented in sw::DocumentFieldsManager.

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