20#ifndef INCLUDED_SW_SOURCE_CORE_INC_CROSSREFBOOKMARK_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_CROSSREFBOOKMARK_HXX
28#include <rtl/ustring.hxx>
38 const OUString& rName,
39 std::u16string_view rPrefix);
54 "<CrossRefBookmark::SetOtherMarkPos(..)>"
55 " - misusage of CrossRefBookmark: other bookmark position isn't allowed to be set." );
60 "<SwCrossRefBookmark::ClearOtherMarkPos(..)>"
61 " - misusage of CrossRefBookmark: other bookmark position isn't allowed to be set or cleared." );
71 const OUString& rName);
81 const OUString& rName);
PaM is Point and Mark: a selection of the document model.
CrossRefBookmark(const SwPaM &rPaM, const vcl::KeyCode &rCode, const OUString &rName, std::u16string_view rPrefix)
virtual void ClearOtherMarkPos() override
virtual void SetOtherMarkPos(const SwPosition &) override
virtual void SetMarkPos(const SwPosition &rNewPos) override
virtual SwPosition & GetMarkStart() const override
virtual bool IsExpanded() const override
virtual SwPosition & GetOtherMarkPos() const override
virtual SwPosition & GetMarkEnd() const override
static bool IsLegalName(std::u16string_view rName)
CrossRefHeadingBookmark(const SwPaM &rPaM, const vcl::KeyCode &rCode, const OUString &rName)
CrossRefNumItemBookmark(const SwPaM &rPaM, const vcl::KeyCode &rCode, const OUString &rName)
static bool IsLegalName(std::u16string_view rName)
Marks a position in the document model.