/trunk/main/svx/source/table/ |
H A D | tablecontroller.cxx | 461 bDistributeColumns = aStart.mnCol != aEnd.mnCol; in GetState() 567 aEnd.mnCol = aStart.mnCol + nNewColumns - 1; in onInsert() 639 const sal_Int32 nRemovedColumns = aEnd.mnCol - aStart.mnCol + 1; in onDelete() 994 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in SetVertical() 1017 MergeRange( aStart.mnCol, aStart.mnRow, aEnd.mnCol, aEnd.mnRow ); in MergeMarkedCells() 1093 pTableObj->DistributeColumns( aStart.mnCol, aEnd.mnCol ); in DistributeColumns() 1131 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in DeleteMarked() 1163 for( sal_Int32 nCol = aStart.mnCol; nCol <= aEnd.mnCol; nCol++ ) in GetStyleSheet() 1789 rFirst.mnCol = std::min( maCursorFirstPos.mnCol, maCursorLastPos.mnCol ); in getSelectedCells() 1791 rLast.mnCol = std::max( maCursorFirstPos.mnCol, maCursorLastPos.mnCol ); in getSelectedCells() [all …]
|
H A D | svdotable.cxx | 384 for( aPos.mnCol = 0; aPos.mnCol < nColCount; ++aPos.mnCol ) in ApplyCellStyles() 881 findMergeOrigin( mpImpl->mxTable.get(), aPos.mnCol, aPos.mnRow, aPos.mnCol, nTemp ); in getPreviousCell() 884 if( aPos.mnCol > 0 ) in getPreviousCell() 886 --aPos.mnCol; in getPreviousCell() 910 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, aPos.mnCol, aPos.mnRow ); in getNextCell() 930 aPos.mnCol = 0; in getNextCell() 965 --aPos.mnCol; in getPreviousRow() 986 aPos.mnCol = rPos.mnCol; in getNextRow() 998 aPos.mnCol += 1; in getNextRow() 1005 aPos.mnCol += 1; in getNextRow() [all …]
|
H A D | cellcursor.cxx | 178 rStart.mnCol = mnLeft; rStart.mnRow = mnTop; in GetMergedSelection() 179 rEnd.mnCol = mnRight; rEnd.mnRow = mnBottom; in GetMergedSelection() 188 findMergeOrigin( mxTable, mnLeft, mnTop, rStart.mnCol, rStart.mnRow ); in GetMergedSelection() 196 findMergeOrigin( mxTable, mnRight, mnBottom, rEnd.mnCol, rEnd.mnRow ); in GetMergedSelection() 200 … xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( rEnd.mnCol, rEnd.mnRow ).get() ) ); in GetMergedSelection() 205 rEnd.mnCol += xCell->getColumnSpan()-1; in GetMergedSelection() 213 for( nCol = rStart.mnCol; nCol <= rEnd.mnCol; nCol++ ) in GetMergedSelection() 224 if( (nOriginCol < rStart.mnCol) || (nOriginRow < rStart.mnRow) ) in GetMergedSelection() 233 if( (nOriginCol > rEnd.mnCol) || (nOriginRow > rEnd.mnRow) ) in GetMergedSelection() 238 …else if( ((nCol + xCell->getColumnSpan() - 1) > rEnd.mnCol) || ((nRow + xCell->getRowSpan() - 1 ) … in GetMergedSelection() [all …]
|
H A D | accessibletableshape.cxx | 711 …aFirstPos.mnRow <= nRow) && (aFirstPos.mnCol <= nColumn) && (nRow <= aLastPos.mnRow) && (nColumn <… in isAccessibleSelected() 756 mxImpl->getColumnAndRow( nChildIndex, aPos.mnCol, aPos.mnRow ); in selectAccessibleChild() 768 aFirstPos.mnCol = std::min( aFirstPos.mnCol, aPos.mnCol ); in selectAccessibleChild() 770 aLastPos.mnCol = std::max( aLastPos.mnCol, aPos.mnCol ); in selectAccessibleChild() 782 mxImpl->getColumnAndRow( nChildIndex, aPos.mnCol, aPos.mnRow ); in isAccessibleChildSelected() 786 return isAccessibleSelected(aPos.mnRow, aPos.mnCol); in isAccessibleChildSelected() 823 const sal_Int32 nSelectedColumns = std::max( (sal_Int32)0, aLastPos.mnCol - aFirstPos.mnCol ) + 1; in getSelectedAccessibleChildCount() 881 mxImpl->getColumnAndRow( nChildIndex, aPos.mnCol, aPos.mnRow ); in deselectAccessibleChild() 892 aFirstPos.mnCol = std::min( aFirstPos.mnCol, aPos.mnCol+1 ); in deselectAccessibleChild() 894 aLastPos.mnCol = std::max( aLastPos.mnCol, aPos.mnCol-1 ); in deselectAccessibleChild() [all …]
|
H A D | tablelayouter.cxx | 107 while( nColSpan && (aPos.mnCol < nColCount ) ) in getCellSize() 109 if( ((sal_Int32)maColumns.size()) <= aPos.mnCol ) in getCellSize() 112 width += maColumns[aPos.mnCol++].mnSize; in getCellSize() 136 … if( (rPos.mnCol < ((sal_Int32)maColumns.size()) && (rPos.mnRow < ((sal_Int32)maRows.size()) ) ) ) in getCellArea() 138 const sal_Int32 x = maColumns[rPos.mnCol].mnPos; in getCellArea() 881 for( aPos.mnCol = 0; aPos.mnCol < nColCount; aPos.mnCol++ ) in updateCells() 908 xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( rPos.mnCol, rPos.mnRow ).get() ) ); in getCell() 1046 for( aPos.mnCol = 0; aPos.mnCol < nColCount; aPos.mnCol++ ) in UpdateBorderLayout() 1059 const sal_Int32 nLastCol = xCell->getColumnSpan() + aPos.mnCol; in UpdateBorderLayout() 1063 SetBorder( aPos.mnCol, nRow, false, pThisAttr->GetLeft() ); in UpdateBorderLayout() [all …]
|
H A D | viewcontactoftableobj.cxx | 586 for(aCellPos.mnCol = 0; aCellPos.mnCol < nColCount; aCellPos.mnCol++) in createViewIndependentPrimitive2DSequence() 588 …xCurrentCell.set(dynamic_cast< sdr::table::Cell* >(xTable->getCellByPosition(aCellPos.mnCol, aCell… in createViewIndependentPrimitive2DSequence() 603 const sal_uInt32 nTextIndex(nColCount * aCellPos.mnRow + aCellPos.mnCol); in createViewIndependentPrimitive2DSequence() 639 const sal_Int32 nX(bIsRTL ? nColCount - aCellPos.mnCol : aCellPos.mnCol); in createViewIndependentPrimitive2DSequence()
|
H A D | tablertfimporter.cxx | 60 sal_Int32 mnCol; member 64 RTFCellDefault( SfxItemPool* pPool ) : maItemSet( *pPool ), mnCol(0), mnTwips(0 ), mnColSpan(1) {} in RTFCellDefault() 219 sal_Int32 nCol = mpActDefault->mnCol; in InsertCell() 373 mpInsDefault->mnCol = mnColCnt; in ProcToken()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xladdress.cxx | 37 rStrm >> mnCol; in Read() 39 mnCol = rStrm.ReaduInt8(); in Read() 46 rStrm << mnCol; in Write() 55 return (maFirst.mnCol <= rPos.mnCol) && (rPos.mnCol <= maLast.mnCol) && in Contains() 63 rStrm >> maFirst.mnCol >> maLast.mnCol; in Read() 66 maFirst.mnCol = rStrm.ReaduInt8(); in Read() 67 maLast.mnCol = rStrm.ReaduInt8(); in Read() 75 rStrm << maFirst.mnCol << maLast.mnCol; in Write() 77 … rStrm << static_cast< sal_uInt8 >( maFirst.mnCol ) << static_cast< sal_uInt8 >( maLast.mnCol ); in Write() 91 aXclRange.maFirst.mnCol = ::std::min( aXclRange.maFirst.mnCol, aIt->maFirst.mnCol ); in GetEnclosingRange() [all …]
|
H A D | xlescher.cxx | 182 lclGetXFromCol( rDoc, nScTab, maFirst.mnCol, mnLX, fScale ), in GetRect() 184 lclGetXFromCol( rDoc, nScTab, maLast.mnCol, mnRX + 1, fScale ), in GetRect() 206 …lclGetColFromX( rDoc, nScTab, maFirst.mnCol, mnLX, 0, nXclMaxCol, nDummy, aRect.Left()… in SetRect() 207 …lclGetColFromX( rDoc, nScTab, maLast.mnCol, mnRX, maFirst.mnCol, nXclMaxCol, nDummy, aRect.Right(… in SetRect() 227 …(bDffAnchor ? maFirst.mnCol : mnLX) = lclGetEmbeddedScale( rPageSize.Width(), nScaleX, rRect.Left… in SetRect() 229 …(bDffAnchor ? maLast.mnCol : mnRX) = lclGetEmbeddedScale( rPageSize.Width(), nScaleX, rRect.Righ… in SetRect()
|
H A D | xetable.cxx | 96 return (maBaseXclPos.mnCol == nXclCol) && (maBaseXclPos.mnRow == nXclRow); in IsBasePos() 103 maXclRange.maFirst.mnCol = ::std::min( maXclRange.maFirst.mnCol, nXclCol ); in Extend() 105 maXclRange.maLast.mnCol = ::std::max( maXclRange.maLast.mnCol, nXclCol ); in Extend() 263 SCCOL nFirstScCol = static_cast< SCCOL >( maXclRange.maFirst.mnCol ); in TryExtend() 322 mbValid = maXclRange.maLast.mnCol == mnLastAppXclCol; in Finalize() 334 …Valid = (mnColInpXclCol + 1 < maXclRange.maFirst.mnCol) || (mnColInpXclCol > maXclRange.maLast.m… in Finalize() 338 …Valid = (mnColInpXclCol < maXclRange.maFirst.mnCol) || (mnColInpXclCol > maXclRange.maLast.m… in Finalize() 342 …alid = ((mnColInpXclCol + 1 < maXclRange.maFirst.mnCol) || (mnColInpXclCol > maXclRange.maLast.m… in Finalize() 344 … ((mnRowInpXclCol + 1 < maXclRange.maFirst.mnCol) || (mnRowInpXclCol > maXclRange.maLast.mnCol) || in Finalize() 373 …((mnLastAppXclCol == maXclRange.maLast.mnCol) && (nXclCol == maXclRange.maFirst.mnCol) && (nXclRow… in IsAppendable() [all …]
|
H A D | impop.cxx | 243 --aXclUsedArea.maLast.mnCol; in ReadDimensions() 255 maStrm >> nXclRow1 >> nXclRow2 >> aXclUsedArea.maFirst.mnCol >> aXclUsedArea.maLast.mnCol; in ReadDimensions() 261 --aXclUsedArea.maLast.mnCol; in ReadDimensions() 858 …dress aCurrXclPos( aXclPos ); (aXclPos.mnCol <= aCurrXclPos.mnCol) && (aIn.GetRecLeft() > 2); ++aC… in Mulrk() 879 …dress aCurrXclPos( aXclPos ); (aXclPos.mnCol <= aCurrXclPos.mnCol) && (aIn.GetRecLeft() > 2); ++aC… in Mulblank()
|
H A D | xihelper.cxx | 69 bool bValidCol = rXclPos.mnCol <= mnMaxCol; in CheckAddress() 77 … static_cast< SCCOL >( rXclPos.mnCol ), static_cast< SCROW >( rXclPos.mnRow ), 0 ), maMaxPos ); in CheckAddress() 87 lclFillAddress( rScPos, rXclPos.mnCol, rXclPos.mnRow, nScTab ); in ConvertAddress() 97 aScPos.SetCol( static_cast< SCCOL >( ::std::min( rXclPos.mnCol, mnMaxCol ) ) ); in CreateValidAddress() 118 … lclFillAddress( rScRange.aStart, rXclRange.maFirst.mnCol, rXclRange.maFirst.mnRow, nScTab1 ); in ConvertRange() 121 sal_uInt16 nXclCol2 = rXclRange.maLast.mnCol; in ConvertRange()
|
/trunk/main/oox/source/xls/ |
H A D | addressconverter.cxx | 123 rStrm >> mnRow >> mnCol; in read() 139 rStrm << static_cast< sal_uInt16 >( mnCol ); in write() 141 rStrm << static_cast< sal_uInt8 >( mnCol ); in write() 148 return (maFirst.mnCol <= rAddr.mnCol) && (rAddr.mnCol <= maLast.mnCol) && in contains() 154 rStrm >> maFirst.mnRow >> maLast.mnRow >> maFirst.mnCol >> maLast.mnCol; in read() 172 … rStrm << static_cast< sal_uInt16 >( maFirst.mnCol ) << static_cast< sal_uInt16 >( maLast.mnCol ); in write() 174 … rStrm << static_cast< sal_uInt8 >( maFirst.mnCol ) << static_cast< sal_uInt8 >( maLast.mnCol ); in write() 188 aRange.maFirst.mnCol = ::std::min( aRange.maFirst.mnCol, aIt->maFirst.mnCol ); in getEnclosingRange() 190 aRange.maLast.mnCol = ::std::max( aRange.maLast.mnCol, aIt->maLast.mnCol ); in getEnclosingRange() 618 orAddress.Column = rBinAddress.mnCol; in convertToCellAddressUnchecked() [all …]
|
H A D | drawingbase.cxx | 62 rModel.mnCol = rStrm.readuInt16(); in operator >>() 74 mnCol( -1 ), in CellAnchorModel() 157 case XDR_TOKEN( col ): pCellAnchor->mnCol = rValue.toInt32(); break; in setCellPos() 178 maFrom.mnCol = aTokens[ 0 ].toInt32(); in importVmlAnchor() 182 maTo.mnCol = aTokens[ 4 ].toInt32(); in importVmlAnchor() 213 …if( maFrom.isValid() && rAddrConv.checkCol( maFrom.mnCol, true ) && rAddrConv.checkRow( maFrom.mnR… in calcAnchorRectEmu() 243 …CellAddress aToCell = rAddrConv.createValidCellAddress( BinAddress( maTo.mnCol, maTo.mnRow ), getS… in calcAnchorRectEmu() 245 aValidTo.mnCol = aToCell.Column; in calcAnchorRectEmu() 250 if( aToCell.Column == maTo.mnCol ) in calcAnchorRectEmu() 283 Point aPoint = getCellPosition( rModel.mnCol, rModel.mnRow ); in calcCellAnchorEmu() [all …]
|
H A D | formulaparser.cxx | 1763 rStrm >> aBaseAddr.mnCol; in importExpToken() 1842 mnCol( 0 ), in BiffNlr() 1860 ((rAddr1.mnRow == rAddr2.mnRow) && (rAddr1.mnCol + 1 == rAddr2.mnCol)) : in lclIsValidNlrStack() 1861 ((rAddr1.mnCol == rAddr2.mnCol) && (rAddr1.mnRow + 1 == rAddr2.mnRow)); in lclIsValidNlrStack() 1868 …((rNlr.mnCol == rRange.maFirst.mnCol) && (rNlr.mnRow + 1 == rRange.maFirst.mnRow) && (rRange.maFir… in lclIsValidNlrRange() 2664 orNlr.mnCol = aAddr2.mnCol; in readNlrSRangeAddData() 2695 aRef.mnCol = rNlr.mnCol; in pushBiffNlrAddr() 2712 aRange.maFirst.mnCol = rNlr.mnCol + (bRow ? 1 : 0); in pushBiffNlrSAddr() 2714 aRange.maLast.mnCol = bRow ? mnMaxApiCol : rNlr.mnCol; in pushBiffNlrSAddr() 2724 aRef.maRef1.mnCol = rRange.maFirst.mnCol; in pushBiffNlrSRange() [all …]
|
/trunk/main/sc/source/filter/inc/ |
H A D | xladdress.hxx | 39 sal_uInt16 mnCol; member 43 inline explicit XclAddress() : mnCol( 0 ), mnRow( 0 ) {} in XclAddress() 44 …inline explicit XclAddress( sal_uInt16 nCol, sal_uInt16 nRow ) : mnCol( nCol ), mnRow( nRow ) … in XclAddress() 46 inline void Set( sal_uInt16 nCol, sal_uInt16 nRow ) { mnCol = nCol; mnRow = nRow; } in Set() 54 return (rL.mnCol == rR.mnCol) && (rL.mnRow == rR.mnRow); in operator ==() 59 return (rL.mnCol < rR.mnCol) || ((rL.mnCol == rR.mnCol) && (rL.mnRow < rR.mnRow)); in operator <() 94 inline sal_uInt16 GetColCount() const { return maLast.mnCol - maFirst.mnCol + 1; } in GetColCount()
|
H A D | htmlpars.hxx | 219 SCCOL mnCol; member 222 inline explicit ScHTMLPos() : mnCol( 0 ), mnRow( 0 ) {} in ScHTMLPos() 224 mnCol( nCol ), mnRow( nRow ) {} in ScHTMLPos() 228 { return (eOrient == tdCol) ? mnCol : mnRow; } in Get() 230 { mnCol = nCol; mnRow = nRow; } in Set() 234 { mnCol = mnCol + nColDiff; mnRow = mnRow + nRowDiff; } in Move() 236 { return ScAddress( mnCol, mnRow, 0 ); } in MakeAddr() 241 return (rPos1.mnRow == rPos2.mnRow) && (rPos1.mnCol == rPos2.mnCol); in operator ==() 246 …eturn (rPos1.mnRow < rPos2.mnRow) || ((rPos1.mnRow == rPos2.mnRow) && (rPos1.mnCol < rPos2.mnCol)); in operator <()
|
H A D | xlescher.hxx | 333 >> rAnchor.maFirst.mnCol >> rAnchor.mnLX in operator >>() 335 >> rAnchor.maLast.mnCol >> rAnchor.mnRX in operator >>() 343 << rAnchor.maFirst.mnCol << rAnchor.mnLX in operator <<() 345 << rAnchor.maLast.mnCol << rAnchor.mnRX in operator <<()
|
/trunk/main/oox/inc/oox/xls/ |
H A D | addressconverter.hxx | 58 sal_Int32 mnCol; member 61 inline explicit BinAddress() : mnCol( 0 ), mnRow( 0 ) {} in BinAddress() 62 … inline explicit BinAddress( sal_Int32 nCol, sal_Int32 nRow ) : mnCol( nCol ), mnRow( nRow ) {} in BinAddress() 63 …inline explicit BinAddress( const ::com::sun::star::table::CellAddress& rAddr ) : mnCol( rAddr… in BinAddress() 65 inline void set( sal_Int32 nCol, sal_Int32 nRow ) { mnCol = nCol; mnRow = nRow; } in set() 66 …inline void set( const ::com::sun::star::table::CellAddress& rAddr ) { mnCol = rAddr.Colum… in set() 77 return (rL.mnCol == rR.mnCol) && (rL.mnRow == rR.mnRow); in operator ==() 82 return (rL.mnCol < rR.mnCol) || ((rL.mnCol == rR.mnCol) && (rL.mnRow < rR.mnRow)); in operator <() 129 inline sal_Int32 getColCount() const { return maLast.mnCol - maFirst.mnCol + 1; } in getColCount()
|
/trunk/main/svx/inc/svx/ |
H A D | svdotable.hxx | 70 sal_Int32 mnCol; member 73 CellPos() : mnCol( 0 ), mnRow( 0 ) {} in CellPos() 74 CellPos( sal_Int32 nCol, sal_Int32 nRow ) { mnCol = nCol; mnRow = nRow; } in CellPos() 76 bool operator==( const CellPos& r ) const { return (r.mnCol == mnCol) && (r.mnRow == mnRow); } in operator ==() 77 bool operator!=( const CellPos& r ) const { return (r.mnCol != mnCol) || (r.mnRow != mnRow); } in operator !=()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | pview.cxx | 267 SetPagePreview(mnRow, mnCol); in Paint() 287 sal_uInt16 nOldCol = mnCol; in CalcWish() 290 mnCol = nNewCol; in CalcWish() 291 sal_uInt16 nPages = mnRow * mnCol, in CalcWish() 301 SetPagePreview(mnRow, mnCol); in CalcWish() 306 if( (1 == nOldCol) ^ (1 == mnCol) ) in CalcWish() 335 sal_uInt16 nPages = mnRow * mnCol; in MovePage() 420 SetPagePreview(mnRow, mnCol); in MovePage() 464 SetPagePreview(mnRow, mnCol); in SetWinSize() 2049 mnCol = 1; in AdjustPreviewToNewZoom() [all …]
|
/trunk/main/filter/source/graphicfilter/ipbm/ |
H A D | ipbm.cxx | 46 sal_uLong mnCol; member in PBMReader 129 mnCol = (sal_uInt16)mnMaxVal + 1; in ReadPBM() 130 if ( mnCol > 256 ) in ReadPBM() 131 mnCol = 256; in ReadPBM() 134 for ( i = 0; i < mnCol; i++ ) in ReadPBM() 136 sal_uLong nCount = 255 * i / mnCol; in ReadPBM()
|
/trunk/main/sw/source/ui/inc/ |
H A D | pview.hxx | 54 sal_uInt8 mnRow, mnCol; member in SwPagePreViewWin 86 sal_uInt8 GetCol() const { return mnCol; } in GetCol() 87 void SetCol( sal_uInt8 n ) { if( n ) mnCol = n; } in SetCol() 114 sal_uInt16 GetDefSttPage() const { return 1 == mnCol ? 1 : 0; } in GetDefSttPage()
|
/trunk/main/sc/source/ui/dbgui/ |
H A D | fieldwnd.cxx | 60 maFuncData( rLabelData.mnCol, rLabelData.mnFuncMask ), in ScPivotWindowField() 79 if( maFuncData.mnCol != PIVOT_DATA_FIELD ) in InitFieldName() 81 ScDPLabelData* pLabelData = rDialog.GetLabelData( maFuncData.mnCol ); in InitFieldName() 199 if( ScDPLabelData* pLabelData = mpDialog->GetLabelData( aIt->maFuncData.mnCol ) ) in WriteFieldNames() 214 aOutIt->nCol = aIt->maFuncData.mnCol; in WritePivotFields() 241 if( aIt->maFuncData.mnCol == nCol ) in FindFuncDataByCol() 314 size_t nFieldIndex = FindFuncDataByCol( rFuncData.mnCol ).second; in InsertField()
|
/trunk/main/sc/source/core/data/ |
H A D | pivot2.cxx | 75 mnCol( nCol ), in ScDPLabelData() 141 mnCol( nCol ), in ScPivotFuncData() 147 mnCol( nCol ), in ScPivotFuncData()
|