19#ifndef INCLUDED_SW_INC_IMARK_HXX
20#define INCLUDED_SW_INC_IMARK_HXX
38 :
virtual public sw::BroadcastingModify
51 virtual const OUString&
GetName()
const =0;
68 :
virtual public IMark
80 virtual void Hide(
bool hide) =0;
88 :
virtual public IMark
91 IFieldmark() =
default;
94 typedef std::map< OUString, css::uno::Any> parameter_map_t;
96 virtual OUString GetFieldname()
const =0;
97 virtual OUString GetFieldHelptext()
const =0;
98 virtual parameter_map_t* GetParameters() =0;
99 virtual const parameter_map_t* GetParameters()
const =0;
102 virtual void SetFieldname(
const OUString& rFieldname) =0;
103 virtual void SetFieldHelptext(
const OUString& rFieldHelptext) =0;
104 virtual void Invalidate() = 0;
106 virtual OUString GetContent()
const {
return OUString(); }
107 virtual void ReplaceContent(
const OUString& ) {}
110 IFieldmark(IFieldmark
const &) =
delete;
111 IFieldmark &operator =(IFieldmark
const&) =
delete;
115 :
virtual public IFieldmark
129 :
virtual public IFieldmark
137 virtual void AddContent(
const OUString& rText, sal_Int32* pIndex =
nullptr) = 0;
148 :
virtual public IFieldmark
virtual void Hide(bool hide)=0
virtual const vcl::KeyCode & GetKeyCode() const =0
IBookmark(IBookmark const &)=delete
virtual void SetHideCondition(const OUString &)=0
virtual void SetShortName(const OUString &)=0
virtual void SetKeyCode(const vcl::KeyCode &)=0
virtual const OUString & GetHideCondition() const =0
virtual const OUString & GetShortName() const =0
virtual bool IsHidden() const =0
virtual void SetChecked(bool checked)=0
ICheckboxFieldmark()=default
virtual bool IsChecked() const =0
ICheckboxFieldmark(ICheckboxFieldmark const &)=delete
IDateFieldmark(ICheckboxFieldmark const &)=delete
virtual std::pair< bool, double > GetCurrentDate() const =0
virtual void ReplaceContent(const OUString &sNewContent) override=0
virtual void SetCurrentDate(double fDate)=0
virtual OUString GetContent() const override=0
virtual OUString GetDateInStandardDateFormat(double fDate) const =0
virtual void DelContent(sal_Int32 nDelIndex=-1)=0
virtual OUString GetContent(sal_Int32 *pIndex) const =0
virtual void ReplaceContent(const OUString *pText, sal_Int32 *pIndex)=0
virtual void AddContent(const OUString &rText, sal_Int32 *pIndex=nullptr)=0
IDropdownFieldmark()=default
virtual OUString GetContent() const override=0
virtual void ReplaceContent(const OUString &sNewContent) override=0
IDropdownFieldmark(IDropdownFieldmark const &)=delete
virtual const SwPosition & GetOtherMarkPos() const =0
virtual bool IsExpanded() const =0
virtual OUString ToString() const =0
virtual bool IsCoveringPosition(const SwPosition &rPos) const =0
virtual const SwPosition & GetMarkEnd() const =0
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const =0
virtual const SwPosition & GetMarkStart() const =0
IMark(IMark const &)=delete
virtual const OUString & GetName() const =0
virtual const SwPosition & GetMarkPos() const =0
struct _xmlTextWriter * xmlTextWriterPtr
class SAL_DLLPUBLIC_RTTI SAL_LOPLUGIN_ANNOTATE("crosscast") SwFlowFrame
Base class that provides the general functionalities for frames that are allowed at page breaks (flow...
OUString ExpandFieldmark(IFieldmark *pBM)
Marks a position in the document model.