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

#include <ddefld.hxx>

Inheritance diagram for SwDDEFieldType:
[legend]
Collaboration diagram for SwDDEFieldType:
[legend]

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
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
- Public Member Functions inherited from SwModify
 SwModify ()
 
 SwModify (SwModify *pToRegisterIn)
 
void NotifyClients (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void ModifyBroadcast (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
virtual void CallSwClientNotify (const SfxHint &rHint) const
 
virtual ~SwModify () override
 
void Add (SwClient *pDepend)
 
SwClientRemove (SwClient *pDepend)
 
bool HasWriterListeners () const
 
virtual bool GetInfo (SfxPoolItem &) const override
 
void LockModify ()
 
void UnlockModify ()
 
void SetInCache (bool bNew)
 
void SetInSwFntCache (bool bNew)
 
void SetInDocDTOR ()
 
bool IsModifyLocked () const
 
bool IsInCache () const
 
bool IsInSwFntCache () const
 
void CheckCaching (const sal_uInt16 nWhich)
 
bool HasOnlyOneListener ()
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () 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 const aName
 
OUString aExpansion
 
tools::SvRef< sfx2::SvBaseLinkrefLink
 
SwDocpDoc
 
sal_uInt16 nRefCnt
 
bool bCRLFFlag: 1
 
bool bDeleted: 1
 

Additional Inherited Members

- Static Public Member Functions inherited from SwFieldType
static OUString GetTypeStr (sal_uInt16 nTypeId)
 
- Protected Member Functions inherited from SwFieldType
 SwFieldType (SwFieldIds nWhichId)
 Single argument ctors shall be explicit. More...
 
- 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 190 of file ddefld.cxx.

References aName, bCRLFFlag, bDeleted, Dde, refLink, and SetCmd().

Referenced by Copy().

SwDDEFieldType::~SwDDEFieldType ( )
overridevirtual

Member Function Documentation

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

Implements SwFieldType.

Definition at line 207 of file ddefld.cxx.

References aExpansion, aName, bCRLFFlag, bDeleted, GetCmd(), GetType(), pDoc, and SwDDEFieldType().

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

Definition at line 89 of file ddefld.hxx.

References sfx2::SvBaseLink::Disconnect().

Referenced by RefCntChgd().

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

Definition at line 91 of file ddefld.hxx.

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

Definition at line 92 of file ddefld.hxx.

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

Definition at line 94 of file ddefld.hxx.

Referenced by SwIntrnlRefLink::Closed(), and SwIntrnlRefLink::DataChanged().

SwDoc* SwDDEFieldType::GetDoc ( )
inline

Definition at line 95 of file ddefld.hxx.

const OUString& SwDDEFieldType::GetExpansion ( ) const
inline

Definition at line 70 of file ddefld.hxx.

Referenced by SwDDETable::ChangeContent().

OUString SwDDEFieldType::GetName ( ) const
overridevirtual

Only in derived classes.

Reimplemented from SwFieldType.

Definition at line 217 of file ddefld.cxx.

References aName.

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

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

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 
)
overridevirtual
void SwDDEFieldType::QueryValue ( css::uno::Any &  rVal,
sal_uInt16  nWhich 
) const
overridevirtual
void SwDDEFieldType::RefCntChgd ( )
private
void SwDDEFieldType::SetCmd ( const OUString &  aStr)

Definition at line 222 of file ddefld.cxx.

References aStr, refLink, and sfx2::SvBaseLink::SetLinkSourceName().

Referenced by PutValue(), and SwDDEFieldType().

void SwDDEFieldType::SetCRLFDelFlag ( bool  bFlag)
inline

Definition at line 101 of file ddefld.hxx.

Referenced by SwIntrnlRefLink::DataChanged().

void SwDDEFieldType::SetDeleted ( bool  b)
inline

Definition at line 87 of file ddefld.hxx.

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

Definition at line 71 of file ddefld.hxx.

Referenced by SwIntrnlRefLink::DataChanged().

void SwDDEFieldType::SetType ( SfxLinkUpdateMode  nType)
inline

Definition at line 84 of file ddefld.hxx.

References sfx2::SvBaseLink::SetUpdateMode().

Referenced by PutValue().

Member Data Documentation

OUString SwDDEFieldType::aExpansion
private

Definition at line 54 of file ddefld.hxx.

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

OUString const SwDDEFieldType::aName
private

Definition at line 53 of file ddefld.hxx.

Referenced by Copy(), and GetName().

bool SwDDEFieldType::bCRLFFlag
private

Definition at line 60 of file ddefld.hxx.

Referenced by Copy(), and SwDDEFieldType().

bool SwDDEFieldType::bDeleted
private

Definition at line 61 of file ddefld.hxx.

Referenced by Copy(), and SwDDEFieldType().

sal_uInt16 SwDDEFieldType::nRefCnt
private

Definition at line 59 of file ddefld.hxx.

Referenced by RefCntChgd(), and SetDoc().

SwDoc* SwDDEFieldType::pDoc
private

Definition at line 57 of file ddefld.hxx.

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

tools::SvRef<sfx2::SvBaseLink> SwDDEFieldType::refLink
private

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: