19 #ifndef INCLUDED_SW_INC_INDEX_HXX
20 #define INCLUDED_SW_INC_INDEX_HXX
48 void Init(sal_Int32
const nIdx);
57 SwIndex& operator=( sal_Int32
const );
61 sal_Int32 operator--();
62 sal_Int32 operator--(
int);
69 bool operator> (
const SwIndex& )
const;
72 bool operator< ( sal_Int32
const nVal )
const {
return m_nIndex < nVal; }
73 bool operator<=( sal_Int32
const nVal )
const {
return m_nIndex <= nVal; }
74 bool operator> ( sal_Int32
const nVal )
const {
return m_nIndex > nVal; }
75 bool operator>=( sal_Int32
const nVal )
const {
return m_nIndex >= nVal; }
76 bool operator==( sal_Int32
const nVal )
const {
return m_nIndex == nVal; }
77 bool operator!=( sal_Int32
const nVal )
const {
return m_nIndex != nVal; }
81 return (m_nIndex == rSwIndex.
m_nIndex)
87 return (m_nIndex != rSwIndex.
m_nIndex)
91 sal_Int32
GetIndex()
const {
return m_nIndex; }
115 virtual void Update(
SwIndex const & rPos,
const sal_Int32 nChangeLen,
116 const bool bNegative =
false,
const bool bDelete =
false );
142 sal_Int32
const nOldIndex =
m_nIndex;
186 #endif // ifndef DBG_UTIL
bool operator<(const SwTextGlyphsKey &l, const SwTextGlyphsKey &r)
bool operator>=(const BigInt &rVal1, const BigInt &rVal2)
Marks a position in the document model.
bool operator<=(const SwIndex &) const
timeval & operator-=(timeval &t1, const timeval &t2)
bool operator<=(const BigInt &rVal1, const BigInt &rVal2)
SwIndex & ChgValue(const SwIndex &rIdx, sal_Int32 nNewValue)
const SwIndex * GetNext() const
bool operator<=(sal_Int32 const nVal) const
bool operator<(const SwIndex &) const
sal_Int32 operator-=(sal_Int32 const )
Marks a character position inside a document model node.
bool operator==(const SwIndex &rSwIndex) const
bool operator!=(sal_Int32 const nVal) const
bool operator!=(const SwIndex &rSwIndex) const
bool operator==(sal_Int32 const nVal) const
SW_DLLPUBLIC std::ostream & operator<<(std::ostream &s, const SwIndex &index)
sal_Int32 GetIndex() const
bool operator>=(sal_Int32 const nVal) const
SwIndex & operator=(sal_Int32 const )
tools::Rectangle & operator+=(tools::Rectangle &rRect, const SvBorder &rBorder)
bool operator>(const SwIndex &) const
const sw::mark::IMark * GetMark() const
const SwIndex * GetFirstIndex() const
const sw::mark::IMark * m_pMark
Pointer to a mark that owns this position to allow fast lookup of marks of an SwIndexReg.
const SwIndexReg * GetIdxReg() const
bool sw_PosOk(const SwPosition &aPos)
Checks if a position is valid.
bool operator>=(const SwIndex &) const
sal_Int32 operator+=(sal_Int32 const )