29class SwContentIndexReg;
39 friend class SwContentIndexReg;
54 void Init(sal_Int32
const nIdx);
67 sal_Int32 operator--();
68 sal_Int32 operator--(
int);
78 bool operator< ( sal_Int32
const nVal )
const {
return m_nIndex < nVal; }
79 bool operator<=( sal_Int32
const nVal )
const {
return m_nIndex <= nVal; }
80 bool operator> ( sal_Int32
const nVal )
const {
return m_nIndex > nVal; }
81 bool operator>=( sal_Int32
const nVal )
const {
return m_nIndex >= nVal; }
82 bool operator==( sal_Int32
const nVal )
const {
return m_nIndex == nVal; }
83 bool operator!=( sal_Int32
const nVal )
const {
return m_nIndex != nVal; }
87 return (m_nIndex == rSwContentIndex.
m_nIndex)
93 return (m_nIndex != rSwContentIndex.
m_nIndex)
97 sal_Int32
GetIndex()
const {
return m_nIndex; }
135 bool HasAnyIndex()
const {
return nullptr != m_pFirst; }
139 virtual ~SwContentIndexReg();
164 sal_Int32
const nOldIndex =
m_nIndex;
bool operator<=(const BigInt &rVal1, const BigInt &rVal2)
bool operator>=(const BigInt &rVal1, const BigInt &rVal2)
Marks a character position inside a document model content node (SwContentNode)
bool operator==(const SwContentIndex &rSwContentIndex) const
sal_Int32 operator+=(sal_Int32 const)
bool operator>(const SwContentIndex &) const
const sw::mark::IMark * m_pMark
Pointer to a mark that owns this position to allow fast lookup of marks of an SwContentIndexReg.
friend class SwContentIndexReg
const SwContentIndex * GetNext() const
SwContentNode * m_pContentNode
SwContentIndex & operator=(sal_Int32 const)
bool operator<=(const SwContentIndex &) const
bool operator!=(const SwContentIndex &rSwContentIndex) const
SwContentIndex & ChgValue(const SwContentIndex &rIdx, sal_Int32 nNewValue)
bool operator==(sal_Int32 const nVal) const
bool operator>=(const SwContentIndex &) const
bool operator<(const SwContentIndex &) const
const sw::mark::IMark * GetMark() const
bool operator!=(sal_Int32 const nVal) const
sal_Int32 GetIndex() const
const SwContentNode * GetContentNode() const
SwRangeRedline * GetRedline() const
void SetRedline(SwRangeRedline *pRangeRedline)
bool operator<=(sal_Int32 const nVal) const
bool operator>=(sal_Int32 const nVal) const
sal_Int32 operator-=(sal_Int32 const)
SW_DLLPUBLIC std::ostream & operator<<(std::ostream &s, const SwContentIndex &index)
class SAL_WARN_UNUSED SAL_LOPLUGIN_ANNOTATE("crosscast") SwContentIndexReg
Helper base class for SwContentNode to manage the list of attached SwContentIndex.
timeval & operator-=(timeval &t1, const timeval &t2)
Marks a position in the document model.
TOOLS_DLLPUBLIC tools::Rectangle & operator+=(tools::Rectangle &rRect, const SvBorder &rBorder)
bool operator<(const wwFont &r1, const wwFont &r2)