LibreOffice Module sw (master) 1
|
#include <mvsave.hxx>
Public Member Functions | |
SaveBookmark (const ::sw::mark::IMark &rBkmk, const SwNode &rMvPos, std::optional< sal_Int32 > oContentIdx) | |
void | SetInDoc (SwDoc *pDoc, const SwNode &, std::optional< sal_Int32 > oContentIdx=std::nullopt) |
Private Attributes | |
OUString | m_aName |
OUString | m_aShortName |
bool | m_bHidden |
OUString | m_aHideCondition |
vcl::KeyCode | m_aCode |
IDocumentMarkAccess::MarkType | m_eOrigBkmType |
SwNodeOffset | m_nNode1 |
SwNodeOffset | m_nNode2 |
sal_Int32 | m_nContent1 |
sal_Int32 | m_nContent2 |
std::shared_ptr< ::sfx2::MetadatableUndo > | m_pMetadataUndo |
Definition at line 48 of file mvsave.hxx.
SaveBookmark::SaveBookmark | ( | const ::sw::mark::IMark & | rBkmk, |
const SwNode & | rMvPos, | ||
std::optional< sal_Int32 > | oContentIdx | ||
) |
Definition at line 1896 of file docbm.cxx.
References SwPosition::GetContentIndex(), sw::mark::IBookmark::GetHideCondition(), SwNode::GetIndex(), sw::mark::IBookmark::GetKeyCode(), sw::mark::IMark::GetMarkPos(), GetName(), SwPosition::GetNodeIndex(), sw::mark::IMark::GetOtherMarkPos(), sw::mark::IBookmark::GetShortName(), sw::mark::IMark::IsExpanded(), sw::mark::IBookmark::IsHidden(), m_aCode, m_aHideCondition, m_aName, m_aShortName, m_bHidden, m_nContent1, m_nContent2, m_nNode1, m_nNode2, m_pMetadataUndo, and NODE_OFFSET_MAX().
void SaveBookmark::SetInDoc | ( | SwDoc * | pDoc, |
const SwNode & | rNewPos, | ||
std::optional< sal_Int32 > | oContentIdx = std::nullopt |
||
) |
Definition at line 1942 of file docbm.cxx.
References SwPosition::Adjust(), CheckNodesRange(), sw::mark::CopyText, SwDoc::getIDocumentMarkAccess(), SwPaM::GetMark(), SwPosition::GetNode(), SwPaM::GetPoint(), SwPaM::HasMark(), sw::mark::IBookmark::Hide(), SwNode::IsContentNode(), m_aCode, m_aHideCondition, m_aName, m_aShortName, m_bHidden, m_eOrigBkmType, m_nContent1, m_nContent2, m_nNode1, m_nNode2, m_pMetadataUndo, IDocumentMarkAccess::makeMark(), NODE_OFFSET_MAX(), SAL_WARN, SwPosition::SetContent(), sw::mark::IBookmark::SetHideCondition(), sw::mark::IBookmark::SetKeyCode(), SwPaM::SetMark(), and sw::mark::IBookmark::SetShortName().
|
private |
Definition at line 64 of file mvsave.hxx.
Referenced by SaveBookmark(), and SetInDoc().
|
private |
Definition at line 63 of file mvsave.hxx.
Referenced by SaveBookmark(), and SetInDoc().
|
private |
Definition at line 60 of file mvsave.hxx.
Referenced by SetInDoc().
|
private |
Definition at line 61 of file mvsave.hxx.
Referenced by SaveBookmark(), and SetInDoc().
|
private |
Definition at line 62 of file mvsave.hxx.
Referenced by SaveBookmark(), and SetInDoc().
|
private |
Definition at line 65 of file mvsave.hxx.
Referenced by SetInDoc().
|
private |
Definition at line 68 of file mvsave.hxx.
Referenced by SaveBookmark(), and SetInDoc().
|
private |
Definition at line 69 of file mvsave.hxx.
Referenced by SaveBookmark(), and SetInDoc().
|
private |
Definition at line 66 of file mvsave.hxx.
Referenced by SaveBookmark(), and SetInDoc().
|
private |
Definition at line 67 of file mvsave.hxx.
Referenced by SaveBookmark(), and SetInDoc().
|
private |
Definition at line 70 of file mvsave.hxx.
Referenced by SaveBookmark(), and SetInDoc().