LibreOffice Module sw (master) 1
|
History object containing all information used during undo / redo of text form field insertion. More...
#include <rolbck.hxx>
Public Member Functions | |
SwHistoryTextFieldmark (const ::sw::mark::IFieldmark &rFieldMark) | |
virtual void | SetInDoc (SwDoc *pDoc, bool) override |
void | ResetInDoc (SwDoc &rDoc) |
Public Member Functions inherited from SwHistoryHint | |
SwHistoryHint (HISTORY_HINT eWhich) | |
virtual | ~SwHistoryHint () |
virtual void | SetInDoc (SwDoc *pDoc, bool bTmpSet)=0 |
HISTORY_HINT | Which () const |
virtual OUString | GetDescription () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Private Attributes | |
const OUString | m_sName |
const OUString | m_sType |
const SwNodeOffset | m_nStartNode |
const sal_Int32 | m_nStartContent |
const SwNodeOffset | m_nEndNode |
const sal_Int32 | m_nEndContent |
SwNodeOffset | m_nSepNode |
sal_Int32 | m_nSepContent |
History object containing all information used during undo / redo of text form field insertion.
Definition at line 290 of file rolbck.hxx.
SwHistoryTextFieldmark::SwHistoryTextFieldmark | ( | const ::sw::mark::IFieldmark & | rFieldMark | ) |
Definition at line 773 of file rolbck.cxx.
References sw::mark::FindFieldSep(), SwPosition::GetContentIndex(), GetName(), SwPosition::GetNodeIndex(), m_nSepContent, m_nSepNode, and m_sName.
void SwHistoryTextFieldmark::ResetInDoc | ( | SwDoc & | rDoc | ) |
Definition at line 813 of file rolbck.cxx.
References IDocumentMarkAccess::deleteFieldmarkAt(), GetContentNode(), SwDoc::getIDocumentMarkAccess(), SwDoc::GetIDocumentUndoRedo(), SwDoc::GetNodes(), m_nEndNode, m_nSepNode, m_nStartContent, m_nStartNode, and pos.
|
overridevirtual |
Implements SwHistoryHint.
Definition at line 787 of file rolbck.cxx.
References GetContentNode(), SwDoc::getIDocumentMarkAccess(), SwDoc::GetIDocumentUndoRedo(), SwDoc::GetNodes(), m_nEndContent, m_nEndNode, m_nSepContent, m_nSepNode, m_nStartContent, m_nStartNode, m_sName, m_sType, and IDocumentMarkAccess::makeFieldBookmark().
|
private |
Definition at line 303 of file rolbck.hxx.
Referenced by SetInDoc().
|
private |
Definition at line 302 of file rolbck.hxx.
Referenced by ResetInDoc(), and SetInDoc().
|
private |
Definition at line 305 of file rolbck.hxx.
Referenced by SetInDoc(), and SwHistoryTextFieldmark().
|
private |
Definition at line 304 of file rolbck.hxx.
Referenced by ResetInDoc(), SetInDoc(), and SwHistoryTextFieldmark().
|
private |
Definition at line 301 of file rolbck.hxx.
Referenced by ResetInDoc(), and SetInDoc().
|
private |
Definition at line 300 of file rolbck.hxx.
Referenced by ResetInDoc(), and SetInDoc().
|
private |
Definition at line 298 of file rolbck.hxx.
Referenced by SetInDoc().
|
private |
Definition at line 299 of file rolbck.hxx.
Referenced by SetInDoc().