19 #ifndef INCLUDED_SW_INC_DDEFLD_HXX
20 #define INCLUDED_SW_INC_DDEFLD_HXX
46 : m_nSttNd(nSttNd), m_nEndNd(nEndNd), m_rIsInRange(rIsInRange) {}
63 SAL_DLLPRIVATE
void RefCntChgd();
72 m_bCRLFFlag =
false; }
74 virtual std::unique_ptr<SwFieldType>
Copy()
const override;
75 virtual OUString
GetName()
const override;
77 virtual void QueryValue( css::uno::Any& rVal, sal_uInt16 nWhich )
const override;
78 virtual void PutValue(
const css::uno::Any& rVal, sal_uInt16 nWhich )
override;
80 OUString
const & GetCmd()
const;
81 void SetCmd(
const OUString& aStr );
91 const ::sfx2::SvBaseLink&
GetBaseLink()
const {
return *m_RefLink; }
96 void SetDoc(
SwDoc* pDoc );
98 void IncRefCnt() {
if( !m_nRefCount++ && m_pDoc ) RefCntChgd(); }
99 void DecRefCnt() {
if( !--m_nRefCount && m_pDoc ) RefCntChgd(); }
109 virtual std::unique_ptr<SwField>
Copy()
const override;
117 virtual OUString
GetPar1()
const override;
120 virtual OUString
GetPar2()
const override;
121 virtual void SetPar2(
const OUString& rStr)
override;
124 #endif // INCLUDED_SW_INC_DDEFLD_HXX
Instances of SwFields and those derived from it occur 0 to n times.
virtual void SetPar2(const OUString &rStr) override
set field type command
virtual ~SwDDEField() override
virtual std::unique_ptr< SwFieldType > Copy() const =0
void SetType(SfxLinkUpdateMode nType)
Base class of all fields.
SfxLinkUpdateMode GetType() const
Dialog to specify the properties of date form field.
virtual ~LinkAnchorSearchHint() override
The root element of a Writer document layout.
const SwDoc * GetDoc() const
virtual OUString ExpandImpl(SwRootFrame const *pLayout) const override
const ::sfx2::SvBaseLink & GetBaseLink() const
void SetCRLFDelFlag(bool bFlag)
const OUString & GetExpansion() const
tools::SvRef< sfx2::SvBaseLink > m_RefLink
::sfx2::SvBaseLink & GetBaseLink()
virtual OUString GetPar1() const override
Get parameter via types.
void SetUpdateMode(SfxLinkUpdateMode)
virtual OUString GetPar2() const override
get field type command
SwDDEField(SwDDEFieldType *)
virtual void QueryValue(css::uno::Any &rVal, sal_uInt16 nWhich) const
void SetExpansion(const OUString &rStr)
LinkAnchorSearchHint(SwNodes &rNodes, const SwNode *&rpFoundNode)
virtual OUString GetName() const
Only in derived classes.
const SwNode *& m_rpFoundNode
SfxLinkUpdateMode GetUpdateMode() const
virtual void PutValue(const css::uno::Any &rVal, sal_uInt16 nWhich)
virtual std::unique_ptr< SwField > Copy() const override
InRangeSearchHint(const sal_uLong nSttNd, const sal_uLong nEndNd, bool &rIsInRange)
Base class of the Writer document model elements.