19#ifndef INCLUDED_SW_INC_DDEFLD_HXX
20#define INCLUDED_SW_INC_DDEFLD_HXX
62 SAL_DLLPRIVATE
void RefCntChgd();
71 m_bCRLFFlag =
false; }
73 virtual std::unique_ptr<SwFieldType>
Copy()
const override;
74 virtual OUString
GetName()
const override;
76 virtual void QueryValue( css::uno::Any& rVal, sal_uInt16 nWhich )
const override;
77 virtual void PutValue(
const css::uno::Any& rVal, sal_uInt16 nWhich )
override;
79 OUString
const & GetCmd()
const;
80 void SetCmd(
const OUString& aStr );
90 const ::sfx2::SvBaseLink&
GetBaseLink()
const {
return *m_RefLink; }
95 void SetDoc(
SwDoc* pDoc );
97 void IncRefCnt() {
if( !m_nRefCount++ && m_pDoc ) RefCntChgd(); }
98 void DecRefCnt() {
if( !--m_nRefCount && m_pDoc ) RefCntChgd(); }
102 { UpdateDDE(
false); };
103 void UpdateDDE(
const bool bNotifyShells =
true);
111 virtual std::unique_ptr<SwField>
Copy()
const override;
119 virtual OUString
GetPar1()
const override;
122 virtual OUString
GetPar2()
const override;
123 virtual void SetPar2(
const OUString& rStr)
override;
virtual void UpdateFields() override
SfxLinkUpdateMode GetType() const
void SetExpansion(const OUString &rStr)
void SetCRLFDelFlag(bool bFlag)
const ::sfx2::SvBaseLink & GetBaseLink() const
const OUString & GetExpansion() const
::sfx2::SvBaseLink & GetBaseLink()
tools::SvRef< sfx2::SvBaseLink > m_RefLink
void SetType(SfxLinkUpdateMode nType)
const SwDoc * GetDoc() const
virtual OUString GetPar1() const override
Get parameter via types.
virtual ~SwDDEField() override
virtual void SetPar2(const OUString &rStr) override
set field type command
SwDDEField(SwDDEFieldType *)
virtual std::unique_ptr< SwField > Copy() const override
virtual OUString ExpandImpl(SwRootFrame const *pLayout) const override
virtual OUString GetPar2() const override
get field type command
Instances of SwFields and those derived from it occur 0 to n times.
virtual OUString GetName() const
Only in derived classes.
virtual void QueryValue(css::uno::Any &rVal, sal_uInt16 nWhich) const
virtual void PutValue(const css::uno::Any &rVal, sal_uInt16 nWhich)
virtual std::unique_ptr< SwFieldType > Copy() const =0
Base class of all fields.
Base class of the Writer document model elements.
The root element of a Writer document layout.
Dialog to specify the properties of date form field.
InRangeSearchHint(const SwNodeOffset nSttNd, const SwNodeOffset nEndNd, bool &rIsInRange)
const SwNodeOffset m_nSttNd
const SwNodeOffset m_nEndNd
const SwNode *& m_rpFoundNode
virtual ~LinkAnchorSearchHint() override
LinkAnchorSearchHint(SwNodes &rNodes, const SwNode *&rpFoundNode)