LibreOffice Module sw (master) 1
|
Public Member Functions | |
Impl (SwXDocumentIndexMark &rThis, SwDoc *const pDoc, const enum TOXTypes eType, const SwTOXType *pType, SwTOXMark const *pMark) | |
SwTOXType * | GetTOXType () const |
void | DeleteTOXMark () |
void | InsertTOXMark (const SwTOXType &rTOXType, SwTOXMark &rMark, SwPaM &rPam, SwXTextCursor const *const pTextCursor) |
void | ReplaceTOXMark (const SwTOXType &rTOXType, SwTOXMark &rMark, SwPaM &rPam) |
void | Invalidate () |
virtual void | Notify (const SfxHint &) override |
Public Member Functions inherited from SvtListener | |
SvtListener ()=default | |
SvtListener (const SvtListener &r)=default | |
virtual | ~SvtListener () COVERITY_NOEXCEPT_FALSE |
bool | StartListening (SvtBroadcaster &rBroadcaster) |
void | EndListening (SvtBroadcaster &rBroadcaster) |
void | EndListeningAll () |
void | CopyAllBroadcasters (const SvtListener &r) |
bool | HasBroadcaster () const |
virtual void | Notify (const SfxHint &rHint) |
virtual void | Query (QueryBase &rQuery) const |
Public Attributes | |
unotools::WeakReference< SwXDocumentIndexMark > | m_wThis |
SfxItemPropertySet const & | m_rPropSet |
const TOXTypes | m_eTOXType |
std::mutex | m_Mutex |
::comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > | m_EventListeners |
bool | m_bIsDescriptor |
const SwTOXType * | m_pTOXType |
const SwTOXMark * | m_pTOXMark |
SwDoc * | m_pDoc |
bool | m_bMainEntry |
sal_uInt16 | m_nLevel |
OUString | m_aBookmarkName |
OUString | m_sAltText |
OUString | m_sPrimaryKey |
OUString | m_sSecondaryKey |
OUString | m_sTextReading |
OUString | m_sPrimaryKeyReading |
OUString | m_sSecondaryKeyReading |
OUString | m_sUserIndexName |
Private Attributes | |
SwXDocumentIndexMark & | m_rThis |
bool | m_bInReplaceMark |
Definition at line 1501 of file unoidx.cxx.
|
inline |
Definition at line 1530 of file unoidx.cxx.
References eType, m_pTOXMark, m_pTOXType, and SvtListener::StartListening().
|
inline |
Definition at line 1560 of file unoidx.cxx.
References SwDoc::DeleteTOXMark(), Invalidate(), m_pDoc, and m_pTOXMark.
Referenced by ReplaceTOXMark().
|
inline |
Definition at line 1556 of file unoidx.cxx.
References m_pTOXType.
void SwXDocumentIndexMark::Impl::InsertTOXMark | ( | const SwTOXType & | rTOXType, |
SwTOXMark & | rMark, | ||
SwPaM & | rPam, | ||
SwXTextCursor const *const | pTextCursor | ||
) |
Definition at line 1897 of file unoidx.cxx.
References SwPaM::DeleteMark(), DONTEXPAND, SvtListener::EndListeningAll(), SwPaM::Exchange(), FORCEHINTEXPAND, SwTOXMark::GetAlternativeText(), SwPaM::GetDoc(), SwDoc::getIDocumentContentOperations(), SwPaM::GetMark(), SwPaM::GetPoint(), IDocumentContentOperations::InsertPoolItem(), SwXTextCursor::IsAtEndOfMeta(), m_pDoc, m_pTOXMark, m_pTOXType, SwPaM::Normalize(), SwTOXMark::SetAlternativeText(), and SvtListener::StartListening().
Referenced by ReplaceTOXMark().
void SwXDocumentIndexMark::Impl::Invalidate | ( | ) |
Definition at line 1590 of file unoidx.cxx.
References comphelper::OInterfaceContainerHelper4< class ListenerT >::disposeAndClear(), SvtListener::EndListeningAll(), m_bInReplaceMark, m_EventListeners, m_Mutex, m_pDoc, m_pTOXMark, m_pTOXType, and m_wThis.
Referenced by DeleteTOXMark().
|
overridevirtual |
Reimplemented from SvtListener.
Definition at line 1609 of file unoidx.cxx.
|
inline |
Definition at line 1569 of file unoidx.cxx.
References DeleteTOXMark(), comphelper::OInterfaceContainerHelper4< class ListenerT >::disposeAndClear(), InsertTOXMark(), m_bInReplaceMark, m_EventListeners, m_Mutex, and m_rThis.
OUString SwXDocumentIndexMark::Impl::m_aBookmarkName |
Definition at line 1521 of file unoidx.cxx.
|
private |
Definition at line 1505 of file unoidx.cxx.
Referenced by Invalidate(), and ReplaceTOXMark().
bool SwXDocumentIndexMark::Impl::m_bIsDescriptor |
Definition at line 1514 of file unoidx.cxx.
bool SwXDocumentIndexMark::Impl::m_bMainEntry |
Definition at line 1519 of file unoidx.cxx.
const TOXTypes SwXDocumentIndexMark::Impl::m_eTOXType |
Definition at line 1511 of file unoidx.cxx.
::comphelper::OInterfaceContainerHelper4<css::lang::XEventListener> SwXDocumentIndexMark::Impl::m_EventListeners |
Definition at line 1513 of file unoidx.cxx.
Referenced by Invalidate(), and ReplaceTOXMark().
std::mutex SwXDocumentIndexMark::Impl::m_Mutex |
Definition at line 1512 of file unoidx.cxx.
Referenced by Invalidate(), and ReplaceTOXMark().
sal_uInt16 SwXDocumentIndexMark::Impl::m_nLevel |
Definition at line 1520 of file unoidx.cxx.
SwDoc* SwXDocumentIndexMark::Impl::m_pDoc |
Definition at line 1517 of file unoidx.cxx.
Referenced by DeleteTOXMark(), InsertTOXMark(), and Invalidate().
const SwTOXMark* SwXDocumentIndexMark::Impl::m_pTOXMark |
Definition at line 1516 of file unoidx.cxx.
Referenced by DeleteTOXMark(), Impl(), InsertTOXMark(), and Invalidate().
const SwTOXType* SwXDocumentIndexMark::Impl::m_pTOXType |
Definition at line 1515 of file unoidx.cxx.
Referenced by GetTOXType(), Impl(), InsertTOXMark(), and Invalidate().
SfxItemPropertySet const& SwXDocumentIndexMark::Impl::m_rPropSet |
Definition at line 1510 of file unoidx.cxx.
|
private |
Definition at line 1504 of file unoidx.cxx.
Referenced by ReplaceTOXMark().
OUString SwXDocumentIndexMark::Impl::m_sAltText |
Definition at line 1522 of file unoidx.cxx.
OUString SwXDocumentIndexMark::Impl::m_sPrimaryKey |
Definition at line 1523 of file unoidx.cxx.
OUString SwXDocumentIndexMark::Impl::m_sPrimaryKeyReading |
Definition at line 1526 of file unoidx.cxx.
OUString SwXDocumentIndexMark::Impl::m_sSecondaryKey |
Definition at line 1524 of file unoidx.cxx.
OUString SwXDocumentIndexMark::Impl::m_sSecondaryKeyReading |
Definition at line 1527 of file unoidx.cxx.
OUString SwXDocumentIndexMark::Impl::m_sTextReading |
Definition at line 1525 of file unoidx.cxx.
OUString SwXDocumentIndexMark::Impl::m_sUserIndexName |
Definition at line 1528 of file unoidx.cxx.
unotools::WeakReference<SwXDocumentIndexMark> SwXDocumentIndexMark::Impl::m_wThis |
Definition at line 1509 of file unoidx.cxx.
Referenced by Invalidate().