LibreOffice Module sw (master) 1
|
#include <annotationmark.hxx>
Public Member Functions | |
AnnotationMark (const SwPaM &rPaM, const OUString &rName) | |
virtual | ~AnnotationMark () override |
virtual void | InitDoc (SwDoc &io_Doc, sw::mark::InsertMode eMode, SwPosition const *pSepPos) override |
const SwFormatField * | GetAnnotationFormatField () const |
Public Member Functions inherited from sw::mark::MarkBase | |
SwPosition & | GetMarkPos () const override |
const OUString & | GetName () const override |
SwPosition & | GetOtherMarkPos () const override |
SwPosition & | GetMarkStart () const override |
SwPosition & | GetMarkEnd () const override |
bool | IsCoveringPosition (const SwPosition &rPos) const override |
bool | IsExpanded () const override |
void | SetName (const OUString &rName) |
virtual void | SetMarkPos (const SwPosition &rNewPos) |
virtual void | SetOtherMarkPos (const SwPosition &rNewPos) |
virtual void | ClearOtherMarkPos () |
virtual auto | InvalidateFrames () -> void |
OUString | ToString () const override |
void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
void | Swap () |
virtual void | InitDoc (SwDoc &, sw::mark::InsertMode, SwPosition const *) |
~MarkBase () override | |
const unotools::WeakReference< SwXBookmark > & | GetXBookmark () const |
void | SetXBookmark (rtl::Reference< SwXBookmark > const &xBkmk) |
virtual const SwPosition & | GetMarkPos () const =0 |
virtual const SwPosition & | GetOtherMarkPos () const =0 |
virtual const SwPosition & | GetMarkStart () const =0 |
virtual const SwPosition & | GetMarkEnd () const =0 |
virtual const OUString & | GetName () const =0 |
virtual bool | IsExpanded () const =0 |
virtual bool | IsCoveringPosition (const SwPosition &rPos) const =0 |
virtual OUString | ToString () const =0 |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const =0 |
Additional Inherited Members | |
Protected Member Functions inherited from sw::mark::MarkBase | |
void | SwClientNotify (const SwModify &, const SfxHint &) override |
MarkBase (const SwPaM &rPaM, OUString aName) | |
Protected Member Functions inherited from sw::mark::IMark | |
IMark ()=default | |
Static Protected Member Functions inherited from sw::mark::MarkBase | |
static OUString | GenerateNewName (std::u16string_view rPrefix) |
Protected Attributes inherited from sw::mark::MarkBase | |
std::optional< SwPosition > | m_oPos1 |
std::optional< SwPosition > | m_oPos2 |
OUString | m_aName |
unotools::WeakReference< SwXBookmark > | m_wXBookmark |
Definition at line 30 of file annotationmark.hxx.
sw::mark::AnnotationMark::AnnotationMark | ( | const SwPaM & | rPaM, |
const OUString & | rName | ||
) |
Definition at line 36 of file annotationmark.cxx.
References sw::mark::MarkBase::GenerateNewName(), sw::mark::MarkBase::SetName(), and u.
|
overridevirtual |
Definition at line 47 of file annotationmark.cxx.
const SwFormatField * sw::mark::AnnotationMark::GetAnnotationFormatField | ( | ) | const |
Definition at line 78 of file annotationmark.cxx.
References SwFieldType::GatherFields(), SwPosition::GetDoc(), IDocumentFieldsAccess::GetFieldType(), SwDoc::getIDocumentFieldsAccess(), sw::mark::MarkBase::GetMarkPos(), sw::mark::MarkBase::GetName(), Postit, and sName.
|
overridevirtual |
Reimplemented from sw::mark::MarkBase.
Definition at line 51 of file annotationmark.cxx.
References sw::Default, SwFormatField::GetField(), SwTextNode::GetFieldTextAttrAt(), SwTextAttr::GetFormatField(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), sw::mark::MarkBase::GetMarkEnd(), sw::mark::MarkBase::GetName(), SwPosition::GetNode(), SwNode::GetTextNode(), IDocumentState::SetModified(), and sw::mark::MarkBase::SetName().