/// enum to allow us to cast without dynamic_cast (for performance) enumclass SwContentIndexOwnerType { Redline, Mark };
/// Pure abstract class for a pointer to something that "owns" a SwContentIndex class ISwContentIndexOwner
{ public: virtual ~ISwContentIndexOwner(); virtual SwContentIndexOwnerType GetOwnerType() const = 0;
};
/// Marks a character position inside a document model content node (SwContentNode) class SAL_WARN_UNUSED SW_DLLPUBLIC SwContentIndex
{ private: friendclass SwContentIndexReg;
sal_Int32 m_nIndex;
SwContentNode * m_pContentNode; // doubly linked list of Indexes registered at m_pIndexReg
SwContentIndex * m_pNext;
SwContentIndex * m_pPrev;
/// This is either /// (*) nullptr /// (*) the SwRangeRedline (if any) that contains this SwContentIndex, via SwPosition and SwPaM /// (*) the sw::mark::MarkBase that owns this position to allow fast lookup of marks of an SwContentIndexReg.
ISwContentIndexOwner * m_pOwner = nullptr;
/// Helper base class for SwContentNode to manage the list of attached SwContentIndex class SAL_WARN_UNUSED SAL_LOPLUGIN_ANNOTATE("crosscast") SwContentIndexReg
{ friendclass SwContentIndex;
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.1Bemerkung:
(vorverarbeitet am 2026-09-29)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.