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:
[legend]

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, sal_uLong nLen)=0
 
virtual void SetFixFields (const DateTime *pNewDateTime)=0
 
virtual void FieldsToCalc (SwCalc &rCalc, sal_uLong nLastNd, sal_uInt16 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 50 of file IDocumentFieldsAccess.hxx.

Constructor & Destructor Documentation

virtual IDocumentFieldsAccess::~IDocumentFieldsAccess ( )
inlineprotectedvirtual

Definition at line 140 of file IDocumentFieldsAccess.hxx.

Member Function Documentation

virtual void IDocumentFieldsAccess::FieldsToCalc ( SwCalc rCalc,
sal_uLong  nLastNd,
sal_uInt16  nLastCnt 
)
pure virtual
virtual void IDocumentFieldsAccess::FieldsToCalc ( SwCalc rCalc,
const SetGetExpField rToThisField,
SwRootFrame const *  pLayout 
)
pure virtual

Implemented in sw::DocumentFieldsManager.

virtual void IDocumentFieldsAccess::FieldsToExpand ( SwHashTable< HashStr > &  rTable,
const SetGetExpField rToThisField,
SwRootFrame const &  rLayout 
)
pure virtual
virtual SwFieldType* IDocumentFieldsAccess::GetFieldType ( SwFieldIds  nResId,
const OUString &  rName,
bool  bDbFieldMatching 
) const
pure virtual
virtual const SwFieldTypes* IDocumentFieldsAccess::GetFieldTypes ( ) const
pure virtual
virtual sal_Int32 IDocumentFieldsAccess::GetRecordsPerDocument ( ) const
pure virtual
virtual SwFieldType* IDocumentFieldsAccess::GetSysFieldType ( const SwFieldIds  eWhich) const
pure virtual
virtual SwDocUpdateField& IDocumentFieldsAccess::GetUpdateFields ( ) const
pure virtual
virtual void IDocumentFieldsAccess::InsDeletedFieldType ( SwFieldType )
pure virtual
virtual void IDocumentFieldsAccess::InsDelFieldInFieldLst ( bool  bIns,
const SwTextField rField 
)
pure virtual
virtual SwFieldType* IDocumentFieldsAccess::InsertFieldType ( const SwFieldType )
pure virtual
virtual bool IDocumentFieldsAccess::IsExpFieldsLocked ( ) const
pure virtual
virtual bool IDocumentFieldsAccess::IsNewFieldLst ( ) const
pure virtual
virtual void IDocumentFieldsAccess::LockExpFields ( )
pure virtual
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.

Parameters
rPositionposition of the field
rValthe value
nMId
Return values
trueputting of value was successful
falseelse

Implemented in sw::DocumentFieldsManager.

Referenced by SwXTextField::setPropertyValue().

virtual void IDocumentFieldsAccess::RemoveFieldType ( size_t  nField)
pure virtual
virtual bool IDocumentFieldsAccess::SetFieldsDirty ( bool  b,
const SwNode pChk,
sal_uLong  nLen 
)
pure virtual
virtual void IDocumentFieldsAccess::SetFixFields ( const DateTime pNewDateTime)
pure virtual
virtual void IDocumentFieldsAccess::SetNewFieldLst ( bool  bFlag)
pure virtual
virtual void IDocumentFieldsAccess::UnlockExpFields ( )
pure virtual
virtual void IDocumentFieldsAccess::UpdateExpFields ( SwTextField pField,
bool  bUpdateRefFields 
)
pure virtual
virtual bool IDocumentFieldsAccess::UpdateField ( SwTextField rDstFormatField,
SwField rSrcField,
SwMsgPoolItem pMsgHint,
bool  bUpdateTableFields 
)
pure virtual

Updates a field.

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

Implemented in sw::DocumentFieldsManager.

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

virtual void IDocumentFieldsAccess::UpdateFields ( bool  bCloseDB)
pure virtual
virtual void IDocumentFieldsAccess::UpdatePageFields ( SfxPoolItem )
pure virtual
virtual void IDocumentFieldsAccess::UpdateRefFields ( )
pure virtual
virtual void IDocumentFieldsAccess::UpdateTableFields ( SfxPoolItem pHt)
pure virtual
virtual void IDocumentFieldsAccess::UpdateUsrFields ( )
pure virtual

Implemented in sw::DocumentFieldsManager.


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