LibreOffice Module sw (master) 1
|
Provides access to the marks of a document. More...
#include <IDocumentMarkAccess.hxx>
Classes | |
struct | ILazyDeleter |
To avoid recursive calls of deleteMark, the removal of dummy characters of fieldmarks has to be delayed; this is the baseclass that can be subclassed for that purpose. More... | |
class | iterator |
wrapper iterator: wraps iterator of implementation while hiding MarkBase class; only IMark instances can be retrieved directly. More... | |
Public Types | |
enum class | MarkType { UNO_BOOKMARK , DDE_BOOKMARK , BOOKMARK , CROSSREF_HEADING_BOOKMARK , CROSSREF_NUMITEM_BOOKMARK , ANNOTATIONMARK , TEXT_FIELDMARK , CHECKBOX_FIELDMARK , DROPDOWN_FIELDMARK , DATE_FIELDMARK , NAVIGATOR_REMINDER } |
typedef iterator | const_iterator_t |
Public Member Functions | |
virtual ::sw::mark::IMark * | makeMark (const SwPaM &rPaM, const OUString &rProposedName, MarkType eMark, ::sw::mark::InsertMode eMode, SwPosition const *pSepPos=nullptr)=0 |
Generates a new mark in the document for a certain selection. More... | |
virtual sw::mark::IFieldmark * | makeFieldBookmark (const SwPaM &rPaM, const OUString &rName, const OUString &rType, SwPosition const *pSepPos=nullptr)=0 |
virtual sw::mark::IFieldmark * | makeNoTextFieldBookmark (const SwPaM &rPaM, const OUString &rName, const OUString &rType)=0 |
virtual sw::mark::IMark * | makeAnnotationMark (const SwPaM &rPaM, const OUString &rName)=0 |
virtual ::sw::mark::IMark * | getMarkForTextNode (const SwTextNode &rTextNode, MarkType eMark)=0 |
Returns a mark in the document for a paragraph. More... | |
virtual void | repositionMark (::sw::mark::IMark *io_pMark, const SwPaM &rPaM)=0 |
Moves an existing mark to a new selection and performs needed updates. More... | |
virtual bool | renameMark (::sw::mark::IMark *io_pMark, const OUString &rNewName)=0 |
Renames an existing Mark, if possible. More... | |
virtual void | correctMarksAbsolute (const SwNode &rOldNode, const SwPosition &rNewPos, const sal_Int32 nOffset)=0 |
Corrects marks (absolute) This method ignores the previous position of the mark in the paragraph. More... | |
virtual void | correctMarksRelative (const SwNode &rOldNode, const SwPosition &rNewPos, const sal_Int32 nOffset)=0 |
Corrects marks (relative) This method uses the previous position of the mark in the paragraph as offset. More... | |
virtual void | deleteMarks (const SwNode &rStt, const SwNode &rEnd, std::vector< ::sw::mark::SaveBookmark > *pSaveBkmk, std::optional< sal_Int32 > oStartContentIdx, std::optional< sal_Int32 > oEndContentIdx)=0 |
Deletes marks in a range. More... | |
virtual std::unique_ptr< ILazyDeleter > | deleteMark (const IDocumentMarkAccess::const_iterator_t &ppMark, bool isMoveNodes)=0 |
Deletes a mark. More... | |
virtual void | deleteMark (const ::sw::mark::IMark *const pMark)=0 |
Deletes a mark. More... | |
virtual void | clearAllMarks ()=0 |
Clear (deletes) all marks. More... | |
virtual void | assureSortedMarkContainers () const =0 |
virtual const_iterator_t | getAllMarksBegin () const =0 |
returns a STL-like random access iterator to the begin of the sequence of marks. More... | |
virtual const_iterator_t | getAllMarksEnd () const =0 |
returns a STL-like random access iterator to the end of the sequence of marks. More... | |
virtual sal_Int32 | getAllMarksCount () const =0 |
returns the number of marks. More... | |
virtual const_iterator_t | findMark (const OUString &rMark) const =0 |
Finds a mark by name. More... | |
virtual bool | isBookmarkDeleted (SwPaM const &rPaM, bool isReplace) const =0 |
check if the selection would delete a BOOKMARK More... | |
virtual const_iterator_t | getBookmarksBegin () const =0 |
returns a STL-like random access iterator to the begin of the sequence the IBookmarks. More... | |
virtual const_iterator_t | getBookmarksEnd () const =0 |
returns a STL-like random access iterator to the end of the sequence of IBookmarks. More... | |
virtual sal_Int32 | getBookmarksCount () const =0 |
returns the number of IBookmarks. More... | |
virtual const_iterator_t | findBookmark (const OUString &rMark) const =0 |
Finds a bookmark by name. More... | |
virtual const_iterator_t | findFirstBookmarkStartsAfter (const SwPosition &rPos) const =0 |
Finds the first mark that is starting after. More... | |
virtual sw::mark::IMark * | getOneInnermostBookmarkFor (const SwPosition &rPos) const =0 |
Get the innermost bookmark that contains rPos. More... | |
virtual const_iterator_t | getFieldmarksBegin () const =0 |
returns a STL-like random access iterator to the begin of the sequence of fieldmarks. More... | |
virtual const_iterator_t | getFieldmarksEnd () const =0 |
returns a STL-like random access iterator to the end of the sequence of fieldmarks. More... | |
virtual sal_Int32 | getFieldmarksCount () const =0 |
returns the number of IFieldmarks. More... | |
virtual ::sw::mark::IFieldmark * | getFieldmarkAt (const SwPosition &rPos) const =0 |
get Fieldmark for CH_TXT_ATR_FIELDSTART/CH_TXT_ATR_FIELDEND at rPos More... | |
virtual sw::mark::IFieldmark * | getInnerFieldmarkFor (const SwPosition &pos) const =0 |
virtual sw::mark::IFieldmark * | getFieldmarkBefore (const SwPosition &pos, bool bLoop) const =0 |
virtual sw::mark::IFieldmark * | getFieldmarkAfter (const SwPosition &pos, bool bLoop) const =0 |
virtual ::sw::mark::IFieldmark * | getDropDownFor (const SwPosition &pos) const =0 |
virtual std::vector<::sw::mark::IFieldmark * > | getNoTextFieldmarksIn (const SwPaM &rPaM) const =0 |
virtual void | deleteFieldmarkAt (const SwPosition &rPos)=0 |
virtual ::sw::mark::IFieldmark * | changeFormFieldmarkType (::sw::mark::IFieldmark *pFieldmark, const OUString &rNewType)=0 |
virtual void | NotifyCursorUpdate (const SwCursorShell &rCursorShell)=0 |
virtual void | ClearFieldActivation ()=0 |
virtual const_iterator_t | getAnnotationMarksBegin () const =0 |
virtual const_iterator_t | getAnnotationMarksEnd () const =0 |
virtual sal_Int32 | getAnnotationMarksCount () const =0 |
virtual const_iterator_t | findAnnotationMark (const OUString &rName) const =0 |
virtual sw::mark::IMark * | getAnnotationMarkFor (const SwPosition &rPosition) const =0 |
virtual ::sw::mark::IMark * | makeAnnotationBookmark (const SwPaM &rPaM, const OUString &rProposedName, MarkType eMark, ::sw::mark::InsertMode eMode, SwPosition const *pSepPos=nullptr)=0 |
virtual const_iterator_t | findAnnotationBookmark (const OUString &rName) const =0 |
virtual void | restoreAnnotationMarks (bool bDelete=true)=0 |
virtual const_iterator_t | findFirstAnnotationStartsAfter (const SwPosition &rPos) const =0 |
Finds the first mark that is starting after. More... | |
Static Public Member Functions | |
static SW_DLLPUBLIC MarkType | GetType (const ::sw::mark::IMark &rMark) |
Returns the MarkType used to create the mark. More... | |
static SW_DLLPUBLIC OUString | GetCrossRefHeadingBookmarkNamePrefix () |
static SW_DLLPUBLIC bool | IsLegalPaMForCrossRefHeadingBookmark (const SwPaM &rPaM) |
static void | DeleteFieldmarkCommand (::sw::mark::IFieldmark const &rMark) |
Protected Member Functions | |
virtual | ~IDocumentMarkAccess () |
Provides access to the marks of a document.
Definition at line 39 of file IDocumentMarkAccess.hxx.
Definition at line 108 of file IDocumentMarkAccess.hxx.
|
strong |
Enumerator | |
---|---|
UNO_BOOKMARK | |
DDE_BOOKMARK | |
BOOKMARK | |
CROSSREF_HEADING_BOOKMARK | |
CROSSREF_NUMITEM_BOOKMARK | |
ANNOTATIONMARK | |
TEXT_FIELDMARK | |
CHECKBOX_FIELDMARK | |
DROPDOWN_FIELDMARK | |
DATE_FIELDMARK | |
NAVIGATOR_REMINDER |
Definition at line 42 of file IDocumentMarkAccess.hxx.
|
inlineprotectedvirtual |
Definition at line 375 of file IDocumentMarkAccess.hxx.
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwTable::ConvertSubtables(), and SwTextNode::Update().
|
pure virtual |
Implemented in sw::mark::MarkManager.
|
pure virtual |
Clear (deletes) all marks.
Implemented in sw::mark::MarkManager.
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwEditWin::MouseButtonDown(), and SwView::~SwView().
|
pure virtual |
Corrects marks (absolute) This method ignores the previous position of the mark in the paragraph.
rOldNode | [in] the node from which nodes should be moved |
rNewPos | [in] new position to which marks will be moved, if nOffset == 0 |
nOffset | [in] the offset by which the mark gets positioned of rNewPos |
Implemented in sw::mark::MarkManager.
Referenced by SwDoc::CorrAbs().
|
pure virtual |
Corrects marks (relative) This method uses the previous position of the mark in the paragraph as offset.
rOldNode | [in] the node from which nodes should be moved |
rNewPos | [in] new position to which marks from the start of the paragraph will be moved, if nOffset == 0 |
nOffset | [in] the offset by which the mark gets positioned of rNewPos in addition to its old position in the paragraph |
Implemented in sw::mark::MarkManager.
Referenced by SwDoc::CorrRel().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwHistoryNoTextFieldmark::ResetInDoc(), and SwHistoryTextFieldmark::ResetInDoc().
|
static |
Definition at line 550 of file docbm.cxx.
References SwPosition::AdjustContent(), IDocumentContentOperations::DeleteAndJoin(), sw::mark::FindFieldSep(), SwPaM::GetDoc(), SwDoc::getIDocumentContentOperations(), SwPaM::GetPoint(), GetType(), and TEXT_FIELDMARK.
Referenced by SwWrtShell::DelLeft(), and SwWrtShell::DelRight().
|
pure virtual |
Deletes a mark.
ppMark | [in] the name of the mark to be deleted. |
Implemented in sw::mark::MarkManager.
|
pure virtual |
Deletes a mark.
ppMark | [in] an iterator pointing to the Mark to be deleted. |
isMoveNodes | [in] the mark is deleted only temporarily for a node move, do not remove fieldmark chars. |
Implemented in sw::mark::MarkManager.
Referenced by SwXText::Impl::ConvertCell(), SwInsertDBColAutoPilot::DataToDoc(), SwUndoSaveContent::DelContentIndex(), DeleteDDEMarks(), sw::DocumentContentOperationsManager::DelFullPara(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwContentTree::EditEntry(), SwTextShell::ExecField(), SwTextShell::Execute(), IMPL_LINK_NOARG(), SwXTextRange::Impl::Invalidate(), SwTransferable::Paste(), SwTransferable::PrivateDrop(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwUndoBookmark::ResetInDoc(), and SwHistoryBookmark::SetInDoc().
|
pure virtual |
Deletes marks in a range.
Note: navigator reminders are excluded
Implemented in sw::mark::MarkManager.
Referenced by DelBookmarks().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwPostItHelper::getLayoutInfos(), and lcl_storeAnnotationMarks().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwTextAnnotationField::GetAnnotationMark().
|
pure virtual |
Finds a bookmark by name.
rName | [in] the name of the bookmark to find. |
Implemented in sw::mark::MarkManager.
Referenced by SwContentTree::BringBookmarksToAttention(), SwWW8ImplReader::CoreLoad(), SwXBookmarks::getByName(), SwXBookmarks::hasByName(), and SwEditWin::RequestHelp().
|
pure virtual |
Finds the first mark that is starting after.
Implemented in sw::mark::MarkManager.
|
pure virtual |
Finds the first mark that is starting after.
Implemented in sw::mark::MarkManager.
Referenced by Writer::FindPos_Bkmk(), SwCursorShell::GoNextBookmark(), and SwCursorShell::GoPrevBookmark().
|
pure virtual |
Finds a mark by name.
rName | [in] the name of the mark to find. |
Implemented in sw::mark::MarkManager.
Referenced by SwContentTree::EditEntry(), SwTextShell::ExecField(), SwTextShell::Execute(), SwGetRefFieldType::FindAnchor(), SwWrtShell::GotoMark(), IMPL_LINK_NOARG(), SwWW8FltRefStack::IsFootnoteEdnBkmField(), SwView::JumpToSwMark(), SwUndoRenameBookmark::Rename(), SwHTMLParser::SetAttr_(), SwHistoryBookmark::SetInDoc(), and SwXBookmark::setName().
|
pure virtual |
returns a STL-like random access iterator to the begin of the sequence of marks.
Implemented in sw::mark::MarkManager.
Referenced by sw::CopyBookmarks(), SwUndoSaveContent::DelContentIndex(), DeleteDDEMarks(), SwTextShell::Execute(), MSWordExportBase::GetBookmarks(), SwHTMLParser::HasCurrentParaBookmarks(), IMPL_LINK(), SwWW8FltRefStack::IsFootnoteEdnBkmField(), SwHTMLWriter::OutBookmarks(), SwUndoBookmark::ResetInDoc(), SwWW8FltRefStack::SetAttrInDoc(), and SwHTMLParser::StripTrailingPara().
|
pure virtual |
returns the number of marks.
Note: annotation marks are excluded
Implemented in sw::mark::MarkManager.
Referenced by SwBookmarkControl::Command(), sw::DocumentContentOperationsManager::CopyImplImpl(), sw::DocumentContentOperationsManager::CopyWithFlyInFly(), SwUndoSaveContent::DelContentIndex(), MSWordExportBase::GetBookmarks(), and SwHTMLWriter::OutBookmarks().
|
pure virtual |
returns a STL-like random access iterator to the end of the sequence of marks.
Implemented in sw::mark::MarkManager.
Referenced by sw::CopyBookmarks(), DeleteDDEMarks(), SwTextShell::ExecField(), SwTextShell::Execute(), SwGetRefFieldType::FindAnchor(), SwHTMLParser::HasCurrentParaBookmarks(), IMPL_LINK(), SwWW8FltRefStack::IsFootnoteEdnBkmField(), SwView::JumpToSwMark(), SwUndoRenameBookmark::Rename(), SwUndoBookmark::ResetInDoc(), SwHTMLParser::SetAttr_(), SwXBookmark::setName(), and SwHTMLParser::StripTrailingPara().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwCursor::SelectWordWT().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwXTextField::getAnchor(), MSWordExportBase::GetAnnotationMarks(), and lcl_storeAnnotationMarks().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by MSWordExportBase::GetAnnotationMarks().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwXTextField::getAnchor(), SwTextAnnotationField::GetAnnotationMark(), and lcl_storeAnnotationMarks().
|
pure virtual |
returns a STL-like random access iterator to the begin of the sequence the IBookmarks.
Implemented in sw::mark::MarkManager.
Referenced by SwBookmarkControl::Command(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwView::ExecuteStatusLine(), SwContentType::FillMemberList(), Writer::FindPos_Bkmk(), SwXBookmarks::getByIndex(), SwXBookmarks::getCount(), SwXBookmarks::getElementNames(), SwCursorShell::GoPrevBookmark(), SwXBookmarks::hasElements(), SwInsertBookmarkDlg::HaveBookmarksChanged(), lcl_FillSubRegionList(), SwInsertBookmarkDlg::PopulateTable(), SwFieldRefPage::UpdateSubType(), and SwContentTree::UpdateTracking().
|
pure virtual |
returns the number of IBookmarks.
Implemented in sw::mark::MarkManager.
Referenced by SwXBookmarks::getByIndex(), SwInsertBookmarkDlg::HaveBookmarksChanged(), and SwInsertBookmarkDlg::PopulateTable().
|
pure virtual |
returns a STL-like random access iterator to the end of the sequence of IBookmarks.
Implemented in sw::mark::MarkManager.
Referenced by SwContentTree::BringBookmarksToAttention(), SwBookmarkControl::Command(), SwWW8ImplReader::CoreLoad(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwContentType::FillMemberList(), Writer::FindPos_Bkmk(), SwXBookmarks::getByIndex(), SwXBookmarks::getByName(), SwXBookmarks::getCount(), SwXBookmarks::getElementNames(), SwPostItHelper::getLayoutInfos(), SwCursorShell::GoNextBookmark(), SwXBookmarks::hasByName(), SwXBookmarks::hasElements(), SwInsertBookmarkDlg::HaveBookmarksChanged(), lcl_FillSubRegionList(), lcl_storeAnnotationMarks(), SwInsertBookmarkDlg::PopulateTable(), SwEditWin::RequestHelp(), SwFieldRefPage::UpdateSubType(), and SwContentTree::UpdateTracking().
|
static |
Definition at line 536 of file docbm.cxx.
Referenced by SwScriptInfo::InitScriptInfo(), sw::mark::CrossRefHeadingBookmark::IsLegalName(), and SwFltBookmark::SwFltBookmark().
|
pure virtual |
Implemented in sw::mark::MarkManager.
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwCursorShell::GetFieldmarkAfter(), and SwVbaFormField::Next().
|
pure virtual |
get Fieldmark for CH_TXT_ATR_FIELDSTART/CH_TXT_ATR_FIELDEND at rPos
Implemented in sw::mark::MarkManager.
Referenced by sw::CalcBreaks(), sw::util::RedlineStack::close(), sw::DocumentContentOperationsManager::DelFullPara(), SwWrtShell::DelLeft(), SwWrtShell::DelRight(), SwFieldFormCheckboxPortion::Format(), lcl_ExportFieldMark(), SwCursor::LeftRight(), ModelToViewHelper::ModelToViewHelper(), SwHTMLWriter::OutPointFieldmarks(), MSWordExportBase::OutputTextNode(), and SwFieldFormCheckboxPortion::Paint().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwCursorShell::GetFieldmarkBefore(), and SwVbaFormField::Previous().
|
pure virtual |
returns a STL-like random access iterator to the begin of the sequence of fieldmarks.
Implemented in sw::mark::MarkManager.
Referenced by SwTextShell::ExecField(), SwCursorShell::GotoFormControl(), IsCursorInFieldmarkHidden(), lcl_getFieldmark(), XMLReader::Read(), SwTextFrame::RegisterToNode(), and SwXFieldEnumeration::SwXFieldEnumeration().
|
pure virtual |
returns the number of IFieldmarks.
Implemented in sw::mark::MarkManager.
|
pure virtual |
returns a STL-like random access iterator to the end of the sequence of fieldmarks.
Implemented in sw::mark::MarkManager.
Referenced by SwTextShell::ExecField(), SwCursorShell::GotoFormControl(), IsCursorInFieldmarkHidden(), lcl_getFieldmark(), XMLReader::Read(), SwTextFrame::RegisterToNode(), and SwXFieldEnumeration::SwXFieldEnumeration().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwXText::Impl::ConvertCell(), sw::DocumentContentOperationsManager::DelFullPara(), SwTextPaintInfo::DrawBackBrush(), SwTextShell::ExecField(), SwTextShell::Execute(), SwXTextDocument::executeFromFieldEvent(), SwCursorShell::GetContentAtPos(), SwCursorShell::GetCurrentFieldmark(), SwTextShell::GetState(), SwPaM::HasReadonlySel(), sw::MakeInsertText(), ModelToViewHelper::ModelToViewHelper(), MSWordExportBase::NeedTextNodeSplit(), MSWordExportBase::OutputTextNode(), SwCursor::SelectWordWT(), SwTextShell::StateField(), and SwTextFormatter::WhichTextPor().
|
pure virtual |
Returns a mark in the document for a paragraph.
If there is none, a mark will be created.
rTextNode | [in] the paragraph being marked (a selection over the paragraph is marked) |
eMark | [in] the type of the new mark. |
Implemented in sw::mark::MarkManager.
Referenced by SwFieldRefPage::FillItemSet(), SwTOXPara::GetURL(), and SwTOXPara::SwTOXPara().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by ModelToViewHelper::ModelToViewHelper().
|
pure virtual |
Get the innermost bookmark that contains rPos.
Implemented in sw::mark::MarkManager.
|
static |
Returns the MarkType used to create the mark.
Definition at line 502 of file docbm.cxx.
References ANNOTATIONMARK, BOOKMARK, CHECKBOX_FIELDMARK, CROSSREF_HEADING_BOOKMARK, CROSSREF_NUMITEM_BOOKMARK, DATE_FIELDMARK, DDE_BOOKMARK, DROPDOWN_FIELDMARK, NAVIGATOR_REMINDER, TEXT_FIELDMARK, and UNO_BOOKMARK.
Referenced by SwHistory::Add(), SwBookmarkControl::Command(), sw::CopyBookmarks(), SwWW8ImplReader::CoreLoad(), SwXBookmark::CreateXBookmark(), SwUndoSaveContent::DelContentIndex(), DeleteDDEMarks(), DeleteFieldmarkCommand(), sw::mark::MarkManager::deleteMark(), sw::mark::MarkManager::deleteMarks(), SwTextShell::Execute(), MSWordExportBase::GetBookmarks(), SwXBookmarks::getByIndex(), SwXBookmarks::getCount(), SwXBookmarks::getElementNames(), SwVbaFormField::getType(), SwVbaFormFieldCheckBox::getValid(), SwVbaFormFieldDropDown::getValid(), SwVbaFormFieldTextInput::getValid(), SwXBookmarks::hasElements(), SwInsertBookmarkDlg::HaveBookmarksChanged(), IMPL_LINK(), sw::mark::MarkManager::isBookmarkDeleted(), sw::mark::isDeleteMark(), lcl_getFieldmark(), SwInsertBookmarkDlg::PopulateTable(), SwEditWin::RequestHelp(), SwCursor::SelectWordWT(), and SwFieldRefPage::UpdateSubType().
|
pure virtual |
check if the selection would delete a BOOKMARK
Implemented in sw::mark::MarkManager.
Referenced by SwPaM::HasReadonlySel().
|
static |
Definition at line 541 of file docbm.cxx.
References SwPaM::End(), SwPosition::GetContentIndex(), SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), SwNode::GetTextNode(), SwPaM::HasMark(), SwNode::IsTextNode(), SwTextNode::Len(), and SwPaM::Start().
Referenced by SwXBookmark::attachToRangeEx(), sw::mark::CrossRefBookmark::CrossRefBookmark(), and SwFltControlStack::SetAttrInDoc().
|
pure virtual |
Referenced by lcl_storeAnnotationMarks().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwXTextField::attach(), SwWrtShell::InsertField2(), and SwFltControlStack::SetAttrInDoc().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwWW8ImplReader::End_Field(), SwTextShell::ExecField(), and SwHistoryTextFieldmark::SetInDoc().
|
pure virtual |
Generates a new mark in the document for a certain selection.
rPaM | [in] the selection being marked. |
rProposedName | [in] the proposed name of the new mark. |
eMark | [in] the type of the new mark. |
eMode | [in] is the new mark part of a text copy operation |
Referenced by sw::CopyBookmarks(), SwTextShell::ExecField(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwHTMLParser::SetAttr_(), SwFltControlStack::SetAttrInDoc(), SwCursorShell::SetBookmark(), SwCursorShell::SetBookmark2(), SwHistoryBookmark::SetInDoc(), sw::mark::SaveBookmark::SetInDoc(), and SwXTextRange::SetPositions().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwTextShell::ExecField(), SwWW8ImplReader::Read_F_FormCheckBox(), SwWW8ImplReader::Read_F_FormListBox(), and SwHistoryNoTextFieldmark::SetInDoc().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwCursorShell::UpdateCursor().
|
pure virtual |
Renames an existing Mark, if possible.
io_pMark | [in/out] the mark to be renamed |
rNewName | [in] new name for the mark |
Implemented in sw::mark::MarkManager.
Referenced by sw::CopyBookmarks(), SwUndoRenameBookmark::Rename(), and SwXBookmark::setName().
|
pure virtual |
Moves an existing mark to a new selection and performs needed updates.
io_pMark | [in/out] the mark to be moved |
rPaM | [in] new selection to be marked |
Implemented in sw::mark::MarkManager.
Referenced by SwDoc::AppendDoc(), and SwHTMLParser::StripTrailingPara().
|
pure virtual |
Implemented in sw::mark::MarkManager.
Referenced by SwBaseShell::Execute(), XMLReader::Read(), and SwXMLWriter::Write_().