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

#include <ddefld.hxx>

Inheritance diagram for SwDDEFieldType:
Collaboration diagram for SwDDEFieldType:

Public Member Functions

 SwDDEFieldType (const OUString &rName, const OUString &rCmd, SfxLinkUpdateMode)
virtual ~SwDDEFieldType () override
const OUString & GetExpansion () const
void SetExpansion (const OUString &rStr)
virtual std::unique_ptr< SwFieldTypeCopy () const override
virtual OUString GetName () const override
 Only in derived classes. More...
virtual void QueryValue (css::uno::Any &rVal, sal_uInt16 nWhich) const override
virtual void PutValue (const css::uno::Any &rVal, sal_uInt16 nWhich) override
OUString const & GetCmd () const
void SetCmd (const OUString &aStr)
SfxLinkUpdateMode GetType () const
void SetType (SfxLinkUpdateMode nType)
bool IsDeleted () const
void SetDeleted (bool b)
void Disconnect ()
const ::sfx2::SvBaseLinkGetBaseLink () const
::sfx2::SvBaseLinkGetBaseLink ()
const SwDocGetDoc () const
SwDocGetDoc ()
void SetDoc (SwDoc *pDoc)
void IncRefCnt ()
void DecRefCnt ()
void SetCRLFDelFlag (bool bFlag)
- Public Member Functions inherited from SwFieldType
SAL_DLLPRIVATE css::uno::WeakReference< css::beans::XPropertySet > const & GetXObject () const
SAL_DLLPRIVATE void SetXObject (css::uno::Reference< css::beans::XPropertySet > const &xFieldMaster)
SwFieldIds Which () const
void UpdateFields () const
void PrintHiddenPara ()
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
SwFormatFieldFindFormatForField (const SwField *) const
SwFormatFieldFindFormatForPostItId (sal_uInt32 nPostItId) const
void CollectPostIts (std::vector< SwFormatField * > &rvFormatFields, IDocumentRedlineAccess const &rIDRA, bool HideRedlines)
bool HasHiddenInformationNotes () const
void GatherNodeIndex (std::vector< sal_uLong > &rvNodeIndex)
void GatherRefFields (std::vector< SwGetRefField * > &rvRFields, const sal_uInt16 nTyp)
void GatherFields (std::vector< SwFormatField * > &rvFormatFields, bool bCollectOnlyInDocNodes=true) const
- Public Member Functions inherited from sw::BroadcastingModify
virtual void CallSwClientNotify (const SfxHint &rHint) const override
- Public Member Functions inherited from SwModify
 SwModify ()
virtual ~SwModify () override
void Add (SwClient *pDepend)
SwClientRemove (SwClient *pDepend)
bool HasWriterListeners () const
bool HasOnlyOneListener () const
virtual bool GetInfo (SfxPoolItem &) const override
void LockModify ()
void UnlockModify ()
bool IsModifyLocked () const
- Public Member Functions inherited from SwClient
 SwClient ()
 SwClient (SwClient &&) noexcept
virtual ~SwClient () override
std::optional< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
void CheckRegistrationFormat (SwFormat &rOld)
const SwModifyGetRegisteredIn () const
SwModifyGetRegisteredIn ()
void EndListeningAll ()
void StartListeningToSameModifyAs (const SwClient &)
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
virtual const SwCellFrameDynCastCellFrame () const
virtual const SwTabFrameDynCastTabFrame () const
virtual const SwRowFrameDynCastRowFrame () const
- Public Member Functions inherited from sw::BroadcasterMixin
 BroadcasterMixin ()=default
 BroadcasterMixin (BroadcasterMixin const &)=default
BroadcasterMixinoperator= (const BroadcasterMixin &)
SvtBroadcasterGetNotifier ()

Private Member Functions

SAL_DLLPRIVATE void RefCntChgd ()

Private Attributes

OUString m_aName
OUString m_aExpansion
tools::SvRef< sfx2::SvBaseLinkm_RefLink
sal_uInt16 m_nRefCount
bool m_bCRLFFlag: 1
bool m_bDeleted: 1

Additional Inherited Members

- Static Public Member Functions inherited from SwFieldType
static const OUString & GetTypeStr (SwFieldTypesEnum nTypeId)
- Protected Member Functions inherited from SwFieldType
 SwFieldType (SwFieldIds nWhichId)
 Single argument ctors shall be explicit. More...
- Protected Member Functions inherited from SwModify
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
SwModifyGetRegisteredInNonConst () const
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE

Detailed Description

Definition at line 51 of file ddefld.hxx.

Constructor & Destructor Documentation

SwDDEFieldType::SwDDEFieldType ( const OUString &  rName,
const OUString &  rCmd,
SfxLinkUpdateMode  nUpdateType 

Definition at line 186 of file ddefld.cxx.

References Dde, m_aName, m_bCRLFFlag, m_bDeleted, m_RefLink, and SetCmd().

Referenced by Copy().

SwDDEFieldType::~SwDDEFieldType ( )

Member Function Documentation

std::unique_ptr< SwFieldType > SwDDEFieldType::Copy ( ) const

Implements SwFieldType.

Definition at line 203 of file ddefld.cxx.

References GetCmd(), GetType(), m_aExpansion, m_aName, m_bCRLFFlag, m_bDeleted, m_pDoc, and SwDDEFieldType().

void SwDDEFieldType::DecRefCnt ( )
void SwDDEFieldType::Disconnect ( )

Definition at line 89 of file ddefld.hxx.

References sfx2::SvBaseLink::Disconnect().

Referenced by RefCntChgd().

const ::sfx2::SvBaseLink& SwDDEFieldType::GetBaseLink ( ) const

Definition at line 91 of file ddefld.hxx.

::sfx2::SvBaseLink& SwDDEFieldType::GetBaseLink ( )

Definition at line 92 of file ddefld.hxx.

OUString const & SwDDEFieldType::GetCmd ( ) const
const SwDoc* SwDDEFieldType::GetDoc ( ) const

Definition at line 94 of file ddefld.hxx.

SwDoc* SwDDEFieldType::GetDoc ( )

Definition at line 95 of file ddefld.hxx.

const OUString& SwDDEFieldType::GetExpansion ( ) const

Definition at line 70 of file ddefld.hxx.

Referenced by SwDDETable::ChangeContent().

OUString SwDDEFieldType::GetName ( ) const

Only in derived classes.

Reimplemented from SwFieldType.

Definition at line 213 of file ddefld.cxx.

References m_aName.

Referenced by SwXMLExport::ExportTable(), and SwFieldVarPage::SubTypeHdl().

SfxLinkUpdateMode SwDDEFieldType::GetType ( ) const
void SwDDEFieldType::IncRefCnt ( )
bool SwDDEFieldType::IsDeleted ( ) const

Definition at line 86 of file ddefld.hxx.

Referenced by SwTableNode::MakeCopy(), and SwDDETable::~SwDDETable().

void SwDDEFieldType::PutValue ( const css::uno::Any &  rVal,
sal_uInt16  nWhich 
void SwDDEFieldType::QueryValue ( css::uno::Any &  rVal,
sal_uInt16  nWhich 
) const
void SwDDEFieldType::RefCntChgd ( )
void SwDDEFieldType::SetCmd ( const OUString &  aStr)

Definition at line 218 of file ddefld.cxx.

References aStr, m_RefLink, nIndex, and sfx2::SvBaseLink::SetLinkSourceName().

Referenced by PutValue(), and SwDDEFieldType().

void SwDDEFieldType::SetCRLFDelFlag ( bool  bFlag)

Definition at line 101 of file ddefld.hxx.

void SwDDEFieldType::SetDeleted ( bool  b)

Definition at line 87 of file ddefld.hxx.

void SwDDEFieldType::SetDoc ( SwDoc pDoc)
void SwDDEFieldType::SetExpansion ( const OUString &  rStr)

Definition at line 71 of file ddefld.hxx.

void SwDDEFieldType::SetType ( SfxLinkUpdateMode  nType)

Definition at line 84 of file ddefld.hxx.

References sfx2::SvBaseLink::SetUpdateMode().

Referenced by PutValue().

Member Data Documentation

OUString SwDDEFieldType::m_aExpansion

Definition at line 54 of file ddefld.hxx.

Referenced by Copy(), PutValue(), and QueryValue().

OUString SwDDEFieldType::m_aName

Definition at line 53 of file ddefld.hxx.

Referenced by Copy(), and GetName().

bool SwDDEFieldType::m_bCRLFFlag

Definition at line 60 of file ddefld.hxx.

Referenced by Copy(), and SwDDEFieldType().

bool SwDDEFieldType::m_bDeleted

Definition at line 61 of file ddefld.hxx.

Referenced by Copy(), and SwDDEFieldType().

sal_uInt16 SwDDEFieldType::m_nRefCount

Definition at line 59 of file ddefld.hxx.

Referenced by RefCntChgd(), and SetDoc().

SwDoc* SwDDEFieldType::m_pDoc

Definition at line 57 of file ddefld.hxx.

Referenced by Copy(), RefCntChgd(), SetDoc(), and ~SwDDEFieldType().

tools::SvRef<sfx2::SvBaseLink> SwDDEFieldType::m_RefLink

Definition at line 56 of file ddefld.hxx.

Referenced by GetCmd(), RefCntChgd(), SetCmd(), SetDoc(), SwDDEFieldType(), and ~SwDDEFieldType().

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