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, bool bUpdateTableFields)=0
 Updates a field. More...
virtual void UpdateRefFields ()=0
virtual void UpdateTableFields (const SwTable *pTable)=0
virtual void UpdateExpFields (SwTextField *pField, bool bUpdateRefFields)=0
virtual void UpdateUsrFields ()=0
virtual void UpdatePageFields (const SwTwips)=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 52 of file IDocumentFieldsAccess.hxx.

Constructor & Destructor Documentation

◆ ~IDocumentFieldsAccess()

virtual IDocumentFieldsAccess::~IDocumentFieldsAccess ( )

Definition at line 142 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

Implemented in sw::DocumentFieldsManager.

Referenced by SwViewOptionAdjust_Impl::AdjustViewOptions(), SwXTextField::attach(), SwDoc::ChgDBData(), SwDoc::ChgPageDesc(), SwFEShell::Copy(), SwTextField::CopyTextField(), sw::DocumentStatisticsManager::DocInfoChgd(), SwWW8ImplReader::End_Field(), MSWordExportBase::GatherChapterFields(), SwDoc::HasInvisibleContent(), MSWordExportBase::HasRefToAttr(), MSWordExportBase::HasRefToFootOrEndnote(), sw::IMPL_LINK_NOARG(), sw::DocumentStatisticsManager::IncrementalDocStatCalculate(), SwRefPageGetFieldType::MakeSetList(), SwGetRefFieldType::MergeWithOtherDoc(), SwFEShell::Paste(), SwWW8ImplReader::Read_And(), SwWW8ImplReader::Read_F_Author(), SwWW8ImplReader::Read_F_CurPage(), SwWW8ImplReader::Read_F_DateTime(), SwWW8ImplReader::Read_F_DocInfo(), SwWW8ImplReader::Read_F_Equation(), SwWW8ImplReader::Read_F_FileName(), SwWW8ImplReader::Read_F_FormListBox(), SwWW8ImplReader::Read_F_FormTextBox(), SwWW8ImplReader::Read_F_Input(), SwWW8ImplReader::Read_F_Macro(), SwWW8ImplReader::Read_F_NoteReference(), SwWW8ImplReader::Read_F_Num(), SwWW8ImplReader::Read_F_PgRef(), SwWW8ImplReader::Read_F_Ref(), SwWW8ImplReader::Read_F_Styleref(), SwWW8ImplReader::Read_F_TemplName(), SwWW8ImplReader::ReadChar(), SwWW8FltRefStack::RefToVar(), SwHistorySetTextField::SetInDoc(), sw_GetPostIts(), SwUserFieldType::SwClientNotify(), SwHistorySetTextField::SwHistorySetTextField(), SwTableNumFormatMerge::SwTableNumFormatMerge(), UnHide(), sw::UpdateFieldsForRedline(), and SwNodes::UpdateOutlineNode().

◆ 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

Implemented in sw::DocumentFieldsManager.

◆ 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,
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 ( const  SwTwips)
pure virtual

◆ UpdateRefFields()

virtual void IDocumentFieldsAccess::UpdateRefFields ( )
pure virtual

◆ UpdateTableFields()

virtual void IDocumentFieldsAccess::UpdateTableFields ( const SwTable pTable)
pure virtual

◆ UpdateUsrFields()

virtual void IDocumentFieldsAccess::UpdateUsrFields ( )
pure virtual

Implemented in sw::DocumentFieldsManager.

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