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:
[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
 
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::unique_ptr< 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
 
- 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
 
SwDocm_pDoc
 
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 ( )
overridevirtual

Member Function Documentation

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

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 ( )
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.

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 213 of file ddefld.cxx.

References m_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 218 of file ddefld.cxx.

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

Referenced by PutValue(), and SwDDEFieldType().

void SwDDEFieldType::SetCRLFDelFlag ( bool  bFlag)
inline

Definition at line 101 of file ddefld.hxx.

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.

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::m_aExpansion
private

Definition at line 54 of file ddefld.hxx.

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

OUString SwDDEFieldType::m_aName
private

Definition at line 53 of file ddefld.hxx.

Referenced by Copy(), and GetName().

bool SwDDEFieldType::m_bCRLFFlag
private

Definition at line 60 of file ddefld.hxx.

Referenced by Copy(), and SwDDEFieldType().

bool SwDDEFieldType::m_bDeleted
private

Definition at line 61 of file ddefld.hxx.

Referenced by Copy(), and SwDDEFieldType().

sal_uInt16 SwDDEFieldType::m_nRefCount
private

Definition at line 59 of file ddefld.hxx.

Referenced by RefCntChgd(), and SetDoc().

SwDoc* SwDDEFieldType::m_pDoc
private

Definition at line 57 of file ddefld.hxx.

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

tools::SvRef<sfx2::SvBaseLink> SwDDEFieldType::m_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: