Lines Matching refs:nTab
146 #define VALIDTAB(nTab) (ValidTab(nTab)) argument
148 #define VALIDCOLROWTAB(nCol,nRow,nTab) (ValidColRowTab(nCol,nRow,nTab)) argument
162 inline bool ValidTab( SCTAB nTab ) in ValidTab() argument
164 return static_cast<SCTAB>(0) <= nTab && nTab <= MAXTAB; in ValidTab()
167 inline bool ValidTab( SCTAB nTab, SCTAB nMaxTab ) in ValidTab() argument
169 return static_cast<SCTAB>(0) <= nTab && nTab <= nMaxTab; in ValidTab()
177 inline bool ValidColRowTab( SCCOL nCol, SCROW nRow, SCTAB nTab ) in ValidColRowTab() argument
179 return ValidCol( nCol) && ValidRow( nRow) && ValidTab( nTab); in ValidColRowTab()
192 inline SCTAB SanitizeTab( SCTAB nTab ) in SanitizeTab() argument
194 return nTab < 0 ? 0 : (nTab > MAXTAB ? MAXTAB : nTab); in SanitizeTab()
197 inline SCTAB SanitizeTab( SCTAB nTab, SCTAB nMaxTab ) in SanitizeTab() argument
199 return nTab < 0 ? 0 : (nTab > nMaxTab ? nMaxTab : nTab); in SanitizeTab()
249 SCTAB nTab; member in ScAddress
284 inline ScAddress() : nRow(0), nCol(0), nTab(0) {} in ScAddress()
286 : nRow(nRowP), nCol(nColP), nTab(nTabP) in ScAddress()
292 : nRow(-1), nCol(-1), nTab(-1) {} in ScAddress()
294 : nRow(r.nRow), nCol(r.nCol), nTab(r.nTab) in ScAddress()
298 inline void Set( SCCOL nCol, SCROW nRow, SCTAB nTab );
301 inline SCTAB Tab() const { return nTab; } in Tab()
304 inline void SetTab( SCTAB nTabP ) { nTab = nTabP; } in SetTab()
305 inline void SetInvalid() { nRow = -1; nCol = -1; nTab = -1; } in SetInvalid()
306 inline bool IsValid() const { return (nRow >= 0) && (nCol >= 0) && (nTab >= 0); } in IsValid()
310 inline void IncTab( SCsTAB n=1 ) { nTab = sal::static_int_cast<SCTAB>(nTab + n); } in IncTab()
312 { nColP = nCol; nRowP = nRow; nTabP = nTab; } in GetVars()
365 nTab = nTabP; in Set()
372 nTab = r.nTab; in operator =()
378 return nRow == r.nRow && nCol == r.nCol && nTab == r.nTab; in operator ==()
390 if (nTab == r.nTab) in operator <()
398 return nTab < r.nTab; in operator <()
422 return (static_cast<size_t>(nTab) << 24) ^ in hash()
425 return (static_cast<size_t>(nTab) << 28) ^ in hash()
461 inline ScRange( SCCOL nCol, SCROW nRow, SCTAB nTab ) in ScRange() argument
462 : aStart( nCol, nRow, nTab ), aEnd( aStart ) {} in ScRange()
688 inline ScRefAddress( SCCOL nCol, SCROW nRow, SCTAB nTab, in ScRefAddress() argument
690 aAdr(nCol, nRow, nTab), in ScRefAddress()