Lines Matching refs:nCol
144 #define VALIDCOL(nCol) (ValidCol(nCol)) argument
147 #define VALIDCOLROW(nCol,nRow) (ValidColRow(nCol,nRow)) argument
148 #define VALIDCOLROWTAB(nCol,nRow,nTab) (ValidColRowTab(nCol,nRow,nTab)) argument
152 inline bool ValidCol( SCCOL nCol ) in ValidCol() argument
154 return static_cast<SCCOL>(0) <= nCol && nCol <= MAXCOL; in ValidCol()
172 inline bool ValidColRow( SCCOL nCol, SCROW nRow ) in ValidColRow() argument
174 return ValidCol( nCol) && ValidRow( nRow); in ValidColRow()
177 inline bool ValidColRowTab( SCCOL nCol, SCROW nRow, SCTAB nTab ) in ValidColRowTab() argument
179 return ValidCol( nCol) && ValidRow( nRow) && ValidTab( nTab); in ValidColRowTab()
182 inline SCCOL SanitizeCol( SCCOL nCol ) in SanitizeCol() argument
184 return nCol < 0 ? 0 : (nCol > MAXCOL ? MAXCOL : nCol); in SanitizeCol()
248 SCCOL nCol; member in ScAddress
259 SCCOL nCol; member
261 : eConv( eConvP ), nRow( nRowP ), nCol( nColP ) in Details()
264 : eConv( eConvP ), nRow( rAddr.Row() ), nCol( rAddr.Col() ) in Details()
267 : eConv( eConvP ), nRow( 0 ), nCol( 0 ) in Details()
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 );
300 inline SCCOL Col() const { return nCol; } in Col()
303 inline void SetCol( SCCOL nColP ) { nCol = nColP; } in SetCol()
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()
309 inline void IncCol( SCsCOL n=1 ) { nCol = sal::static_int_cast<SCCOL>(nCol + n); } in IncCol()
312 { nColP = nCol; nRowP = nRow; nTabP = nTab; } in GetVars()
363 nCol = nColP; in Set()
370 nCol = r.nCol; in operator =()
378 return nRow == r.nRow && nCol == r.nCol && nTab == r.nTab; in operator ==()
392 if (nCol == r.nCol) in operator <()
395 return nCol < r.nCol; in operator <()
423 (static_cast<size_t>(nCol) << 16) ^ static_cast<size_t>(nRow); in hash()
426 (static_cast<size_t>(nCol) << 24) ^ static_cast<size_t>(nRow); 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()
796 SC_DLLPUBLIC void ScColToAlpha( rtl::OUStringBuffer& rBuffer, SCCOL nCol);
798 inline void ScColToAlpha( String& rStr, SCCOL nCol) in ScColToAlpha() argument
801 ScColToAlpha( aBuf, nCol); in ScColToAlpha()
805 inline String ScColToAlpha( SCCOL nCol ) in ScColToAlpha() argument
808 ScColToAlpha( aBuf, nCol); in ScColToAlpha()