LibreOffice Module sw (master)
1
|
#include <bookmark.hxx>
Public Member Functions | |
virtual SwPosition & | GetMarkPos () const override |
virtual const OUString & | GetName () const override |
virtual SwPosition & | GetOtherMarkPos () const override |
virtual SwPosition & | GetMarkStart () const override |
virtual SwPosition & | GetMarkEnd () const override |
virtual bool | IsCoveringPosition (const SwPosition &rPos) const override |
virtual 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 |
virtual OUString | ToString () const override |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
void | Swap () |
virtual void | InitDoc (SwDoc &, sw::mark::InsertMode, SwPosition const *) |
virtual | ~MarkBase () override |
const css::uno::WeakReference< css::text::XTextContent > & | GetXBookmark () const |
void | SetXBookmark (css::uno::Reference< css::text::XTextContent > const &xBkmk) |
![]() | |
virtual void | CallSwClientNotify (const SfxHint &rHint) const override |
![]() | |
SwModify () | |
virtual | ~SwModify () override |
void | Add (SwClient *pDepend) |
SwClient * | Remove (SwClient *pDepend) |
bool | HasWriterListeners () const |
bool | HasOnlyOneListener () const |
virtual bool | GetInfo (SfxPoolItem &) const override |
void | LockModify () |
void | UnlockModify () |
bool | IsModifyLocked () const |
![]() | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::optional< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
![]() | |
bool | IsLast () const |
virtual const SwCellFrame * | DynCastCellFrame () const |
virtual const SwTabFrame * | DynCastTabFrame () const |
virtual const SwRowFrame * | DynCastRowFrame () const |
![]() | |
BroadcasterMixin ()=default | |
BroadcasterMixin (BroadcasterMixin const &)=default | |
BroadcasterMixin & | operator= (const BroadcasterMixin &) |
SvtBroadcaster & | GetNotifier () |
Protected Member Functions | |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
MarkBase (const SwPaM &rPaM, const OUString &rName) | |
![]() | |
IMark ()=default | |
![]() | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
![]() | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
Static Protected Member Functions | |
static OUString | GenerateNewName (std::u16string_view rPrefix) |
Protected Attributes | |
std::unique_ptr< SwPosition > | m_pPos1 |
std::unique_ptr< SwPosition > | m_pPos2 |
OUString | m_aName |
css::uno::WeakReference< css::text::XTextContent > | m_wXBookmark |
Definition at line 43 of file core/inc/bookmark.hxx.
|
overridevirtual |
Definition at line 326 of file core/crsr/bookmark.cxx.
|
protected |
Definition at line 269 of file core/crsr/bookmark.cxx.
References SwPaM::GetMark(), SwPaM::GetPoint(), SwPaM::HasMark(), m_aName, m_pPos1, m_pPos2, and SetOtherMarkPos().
|
inlinevirtual |
Reimplemented in sw::mark::CrossRefBookmark.
Definition at line 82 of file core/inc/bookmark.hxx.
References m_pPos2.
|
overridevirtual |
Implements sw::mark::IMark.
Reimplemented in sw::mark::Fieldmark.
Definition at line 310 of file core/crsr/bookmark.cxx.
References SwPosition::dumpAsXml(), GetMarkPos(), GetOtherMarkPos(), IsExpanded(), m_aName, and void().
Referenced by sw::mark::Fieldmark::dumpAsXml().
|
staticprotected |
Definition at line 329 of file core/crsr/bookmark.cxx.
References n, nCount, SAL_MAX_INT32, and comphelper::rng::uniform_uint_distribution().
Referenced by sw::mark::AnnotationMark::AnnotationMark(), and sw::mark::CrossRefBookmark::CrossRefBookmark().
|
inlineoverridevirtual |
Implements sw::mark::IMark.
Reimplemented in sw::mark::CrossRefBookmark.
Definition at line 65 of file core/inc/bookmark.hxx.
References GetMarkPos(), GetOtherMarkPos(), and IsExpanded().
Referenced by sw::mark::AnnotationMark::InitDoc(), and IsCoveringPosition().
|
inlineoverridevirtual |
Implements sw::mark::IMark.
Definition at line 48 of file core/inc/bookmark.hxx.
References m_pPos1.
Referenced by sw::mark::MarkManager::correctMarksAbsolute(), sw::mark::MarkManager::correctMarksRelative(), sw::mark::MarkManager::deleteMarks(), dumpAsXml(), sw::mark::Fieldmark::Fieldmark(), sw::mark::AnnotationMark::GetAnnotationFormatField(), GetMarkEnd(), GetMarkStart(), sw::mark::Bookmark::GetRegistry(), sw::mark::Fieldmark::Invalidate(), sw::mark::isDeleteMark(), sw::mark::Bookmark::IsInClipboard(), sw::mark::Bookmark::IsInContent(), sw::mark::Bookmark::MakeUnoObject(), sw::mark::TextFieldmark::ReleaseDoc(), sw::DocumentLinksAdministrationManager::SelectServerObj(), sw::mark::CheckboxFieldmark::SetChecked(), sw::mark::Fieldmark::SetMarkStartPos(), ToString(), and sw::mark::Fieldmark::ToString().
|
inlineoverridevirtual |
Implements sw::mark::IMark.
Reimplemented in sw::mark::CrossRefBookmark.
Definition at line 57 of file core/inc/bookmark.hxx.
References GetMarkPos(), GetOtherMarkPos(), and IsExpanded().
Referenced by IsCoveringPosition().
|
inlineoverridevirtual |
Implements sw::mark::IMark.
Definition at line 50 of file core/inc/bookmark.hxx.
References m_aName.
Referenced by sw::mark::AnnotationMark::GetAnnotationFormatField(), and sw::mark::AnnotationMark::InitDoc().
|
inlineoverridevirtual |
Implements sw::mark::IMark.
Reimplemented in sw::mark::CrossRefBookmark.
Definition at line 52 of file core/inc/bookmark.hxx.
References IsExpanded(), and m_pPos2.
Referenced by sw::mark::MarkManager::correctMarksAbsolute(), sw::mark::MarkManager::correctMarksRelative(), sw::mark::MarkManager::deleteMarks(), dumpAsXml(), GetMarkEnd(), GetMarkStart(), sw::mark::Fieldmark::Invalidate(), sw::mark::isDeleteMark(), sw::mark::TextFieldmark::ReleaseDoc(), sw::DocumentLinksAdministrationManager::SelectServerObj(), sw::mark::Fieldmark::SetMarkStartPos(), and sw::mark::Fieldmark::ToString().
|
inline |
Definition at line 102 of file core/inc/bookmark.hxx.
References m_wXBookmark.
Referenced by SwXBookmark::CreateXBookmark(), and SwXFieldmark::CreateXFieldmark().
|
inlinevirtual |
Reimplemented in sw::mark::DateFieldmark, sw::mark::NonTextFieldmark, sw::mark::TextFieldmark, sw::mark::Bookmark, and sw::mark::AnnotationMark.
Definition at line 96 of file core/inc/bookmark.hxx.
|
virtual |
Reimplemented in sw::mark::Bookmark.
Definition at line 366 of file core/crsr/bookmark.cxx.
Referenced by sw::mark::MarkManager::repositionMark().
|
overridevirtual |
Implements sw::mark::IMark.
Definition at line 286 of file core/crsr/bookmark.cxx.
References GetMarkEnd(), and GetMarkStart().
|
inlineoverridevirtual |
Implements sw::mark::IMark.
Reimplemented in sw::mark::CrossRefBookmark.
Definition at line 75 of file core/inc/bookmark.hxx.
References m_pPos2.
Referenced by sw::mark::MarkManager::correctMarksAbsolute(), sw::mark::MarkManager::correctMarksRelative(), sw::DocumentLinksAdministrationManager::CreateLinkSource(), sw::mark::MarkManager::deleteMarks(), dumpAsXml(), sw::mark::Fieldmark::Fieldmark(), GetMarkEnd(), GetMarkStart(), GetOtherMarkPos(), sw::mark::isDeleteMark(), and sw::DocumentLinksAdministrationManager::SelectServerObj().
|
virtual |
Reimplemented in sw::mark::CrossRefBookmark.
Definition at line 291 of file core/crsr/bookmark.cxx.
References m_pPos1, and swap().
Referenced by sw::mark::MarkManager::correctMarksAbsolute(), sw::mark::MarkManager::correctMarksRelative(), sw::mark::MarkManager::deleteMarks(), sw::mark::CrossRefBookmark::SetMarkPos(), and sw::mark::Fieldmark::SetMarkStartPos().
|
inline |
Definition at line 78 of file core/inc/bookmark.hxx.
References m_aName.
Referenced by sw::mark::AnnotationMark::AnnotationMark(), and sw::mark::AnnotationMark::InitDoc().
|
virtual |
Reimplemented in sw::mark::CrossRefBookmark.
Definition at line 297 of file core/crsr/bookmark.cxx.
References m_pPos2, and swap().
Referenced by sw::mark::MarkManager::correctMarksAbsolute(), sw::mark::MarkManager::correctMarksRelative(), sw::mark::MarkManager::deleteMarks(), sw::mark::Fieldmark::Fieldmark(), MarkBase(), and sw::mark::Fieldmark::SetMarkStartPos().
|
inline |
Definition at line 104 of file core/inc/bookmark.hxx.
References m_wXBookmark.
Referenced by SwClientNotify().
|
inline |
Definition at line 90 of file core/inc/bookmark.hxx.
|
overrideprotectedvirtual |
Reimplemented from SwModify.
Definition at line 354 of file core/crsr/bookmark.cxx.
References sw::BroadcastingModify::CallSwClientNotify(), SfxHint::GetId(), RES_REMOVE_UNO_OBJECT(), and SetXBookmark().
|
overridevirtual |
Implements sw::mark::IMark.
Reimplemented in sw::mark::Fieldmark.
Definition at line 303 of file core/crsr/bookmark.cxx.
References GetMarkPos(), and m_aName.
|
protected |
Definition at line 114 of file core/inc/bookmark.hxx.
Referenced by sw::mark::Bookmark::Bookmark(), sw::mark::CrossRefBookmark::CrossRefBookmark(), dumpAsXml(), GetName(), SetName(), sw::mark::TextFieldmark::TextFieldmark(), ToString(), and sw::mark::Fieldmark::ToString().
|
protected |
Definition at line 112 of file core/inc/bookmark.hxx.
Referenced by sw::mark::CrossRefBookmark::GetMarkEnd(), GetMarkPos(), sw::mark::CrossRefBookmark::GetMarkStart(), MarkBase(), SetMarkPos(), and Swap().
|
protected |
Definition at line 113 of file core/inc/bookmark.hxx.
Referenced by ClearOtherMarkPos(), sw::mark::CrossRefBookmark::CrossRefBookmark(), GetOtherMarkPos(), IsExpanded(), MarkBase(), SetOtherMarkPos(), and Swap().
|
protected |
Definition at line 117 of file core/inc/bookmark.hxx.
Referenced by GetXBookmark(), and SetXBookmark().