|
LibreOffice Module sw (master) 1
|
Tracks the boundaries of pasted content and notifies listeners. More...
Public Member Functions | |
| SwPasteContext (SwWrtShell &rWrtShell) | |
| ~SwPasteContext () | |
| void | remember () |
| void | forget () |
Private Attributes | |
| SwWrtShell & | m_rWrtShell |
| std::optional< SwPaM > | m_oPaM |
| sal_Int32 | m_nStartContent = 0 |
Tracks the boundaries of pasted content and notifies listeners.
Definition at line 210 of file swdtflvr.cxx.
| SwPasteContext::SwPasteContext | ( | SwWrtShell & | rWrtShell | ) |
Definition at line 1274 of file swdtflvr.cxx.
References remember().
| SwPasteContext::~SwPasteContext | ( | ) |
Definition at line 1297 of file swdtflvr.cxx.
References aEvent, SwXTextGraphicObject::CreateXTextGraphicObject(), SwXTextRange::CreateXTextRange(), SwCursorShell::GetCursor(), SwFormat::GetDoc(), SwFEShell::GetFlyFrameFormat(), comphelper::OInterfaceContainerHelper3< class ListenerT >::getLength(), SwPosition::GetNode(), SwFEShell::GetPasteListeners(), SwPaM::GetPoint(), SwView::GetShellMode(), SwWrtShell::GetView(), Graphic, SwNode::IsTextNode(), m_nStartContent, m_oPaM, m_rWrtShell, comphelper::OInterfaceContainerHelper3< class ListenerT >::notifyEach(), and SAL_WARN.
| void SwPasteContext::forget | ( | ) |
Definition at line 1295 of file swdtflvr.cxx.
References m_oPaM.
Referenced by SwTransferable::PrivatePaste().
| void SwPasteContext::remember | ( | ) |
Definition at line 1280 of file swdtflvr.cxx.
References SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), comphelper::OInterfaceContainerHelper3< class ListenerT >::getLength(), SwPosition::GetNode(), SwFEShell::GetPasteListeners(), SwPaM::GetPoint(), m_nStartContent, m_oPaM, and m_rWrtShell.
Referenced by SwTransferable::PrivatePaste(), and SwPasteContext().
|
private |
Definition at line 222 of file swdtflvr.cxx.
Referenced by remember(), and ~SwPasteContext().
|
private |
Definition at line 221 of file swdtflvr.cxx.
Referenced by forget(), remember(), and ~SwPasteContext().
|
private |
Definition at line 220 of file swdtflvr.cxx.
Referenced by remember(), and ~SwPasteContext().