Home
last modified time | relevance | path

Searched refs:mnRow (Results 1 – 25 of 66) sorted by relevance

123

/trunk/main/svx/source/table/
H A Dtablecontroller.cxx462 bDistributeRows = aStart.mnRow != aEnd.mnRow; in GetState()
601 aEnd.mnRow = aStart.mnRow + nNewRows - 1; in onInsert()
654 const sal_Int32 nRemovedRows = aEnd.mnRow - aStart.mnRow + 1; in onDelete()
992 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in SetVertical()
1017 MergeRange( aStart.mnCol, aStart.mnRow, aEnd.mnCol, aEnd.mnRow ); in MergeMarkedCells()
1114 pTableObj->DistributeRows( aStart.mnRow, aEnd.mnRow ); in DistributeRows()
1129 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in DeleteMarked()
1161 for( sal_Int32 nRow = aStart.mnRow; nRow <= aEnd.mnRow; nRow++ ) in GetStyleSheet()
1790 rFirst.mnRow = std::min( maCursorFirstPos.mnRow, maCursorLastPos.mnRow ); in getSelectedCells()
1792 rLast.mnRow = std::max( maCursorFirstPos.mnRow, maCursorLastPos.mnRow ); in getSelectedCells()
[all …]
H A Dsvdotable.cxx379 for( aPos.mnRow = 0; aPos.mnRow < nRowCount; ++aPos.mnRow ) in ApplyCellStyles()
892 --aPos.mnRow; in getPreviousCell()
910 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, aPos.mnCol, aPos.mnRow ); in getNextCell()
917 aPos.mnRow = rPos.mnRow; in getNextCell()
931 aPos.mnRow += 1; in getNextCell()
954 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, nTemp, aPos.mnRow ); in getPreviousRow()
958 if( aPos.mnRow > 0 ) in getPreviousRow()
960 --aPos.mnRow; in getPreviousRow()
984 findMergeOrigin( mpImpl->mxTable, aPos.mnCol, aPos.mnRow, aPos.mnCol, aPos.mnRow ); in getNextRow()
997 aPos.mnRow = 0; in getNextRow()
[all …]
H A Dcellcursor.cxx178 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()
206 rEnd.mnRow += xCell->getRowSpan()-1; in GetMergedSelection()
211 for( nRow = rStart.mnRow; nRow <= rEnd.mnRow; nRow++ ) in GetMergedSelection()
224 if( (nOriginCol < rStart.mnCol) || (nOriginRow < rStart.mnRow) ) in GetMergedSelection()
233 if( (nOriginCol > rEnd.mnCol) || (nOriginRow > rEnd.mnRow) ) in GetMergedSelection()
238 …l + xCell->getColumnSpan() - 1) > rEnd.mnCol) || ((nRow + xCell->getRowSpan() - 1 ) > rEnd.mnRow) ) in GetMergedSelection()
[all …]
H A Daccessibletableshape.cxx711 …if( (aFirstPos.mnRow <= nRow) && (aFirstPos.mnCol <= nColumn) && (nRow <= aLastPos.mnRow) && (nCol… in isAccessibleSelected()
756 mxImpl->getColumnAndRow( nChildIndex, aPos.mnCol, aPos.mnRow ); in selectAccessibleChild()
767 aFirstPos.mnRow = std::min( aFirstPos.mnRow, aPos.mnRow ); in selectAccessibleChild()
769 aLastPos.mnRow = std::max( aLastPos.mnRow, aPos.mnRow ); in selectAccessibleChild()
782 mxImpl->getColumnAndRow( nChildIndex, aPos.mnCol, aPos.mnRow ); in isAccessibleChildSelected()
786 return isAccessibleSelected(aPos.mnRow, aPos.mnCol); in isAccessibleChildSelected()
824 const sal_Int32 nSelectedRows = std::max( (sal_Int32)0, aLastPos.mnRow - aFirstPos.mnRow ) + 1; in getSelectedAccessibleChildCount()
881 mxImpl->getColumnAndRow( nChildIndex, aPos.mnCol, aPos.mnRow ); in deselectAccessibleChild()
891 aFirstPos.mnRow = std::min( aFirstPos.mnRow, aPos.mnRow+1 ); in deselectAccessibleChild()
893 aLastPos.mnRow = std::max( aLastPos.mnRow, aPos.mnRow-1 ); in deselectAccessibleChild()
[all …]
H A Dtablelayouter.cxx96 while( nRowSpan && (aPos.mnRow < nRowCount) ) in getCellSize()
98 if( ((sal_Int32)maRows.size()) <= aPos.mnRow ) in getCellSize()
101 height += maRows[aPos.mnRow++].mnSize; in getCellSize()
136 … if( (rPos.mnCol < ((sal_Int32)maColumns.size()) && (rPos.mnRow < ((sal_Int32)maRows.size()) ) ) ) in getCellArea()
139 const sal_Int32 y = maRows[rPos.mnRow].mnPos; in getCellArea()
879 for( aPos.mnRow = 0; aPos.mnRow < nRowCount; aPos.mnRow++ ) in updateCells()
908 xCell.set( dynamic_cast< Cell* >( mxTable->getCellByPosition( rPos.mnCol, rPos.mnRow ).get() ) ); in getCell()
1044 for( aPos.mnRow = 0; aPos.mnRow < nRowCount; aPos.mnRow++ ) in UpdateBorderLayout()
1058 const sal_Int32 nLastRow = xCell->getRowSpan() + aPos.mnRow; in UpdateBorderLayout()
1061 for( sal_Int32 nRow = aPos.mnRow; nRow < nLastRow; nRow++ ) in UpdateBorderLayout()
[all …]
H A Dviewcontactoftableobj.cxx584 for(aCellPos.mnRow = 0; aCellPos.mnRow < nRowCount; aCellPos.mnRow++) in createViewIndependentPrimitive2DSequence()
588 …ynamic_cast< sdr::table::Cell* >(xTable->getCellByPosition(aCellPos.mnCol, aCellPos.mnRow).get())); in createViewIndependentPrimitive2DSequence()
603 const sal_uInt32 nTextIndex(nColCount * aCellPos.mnRow + aCellPos.mnCol); in createViewIndependentPrimitive2DSequence()
640 const sal_Int32 nY(aCellPos.mnRow); in createViewIndependentPrimitive2DSequence()
H A Dtablerow.cxx60 , mnRow( nRow ) in TableRow()
180 return mxTableModel->getCellByPosition( nColumn, mnRow ); in getCellByPosition()
190 return mxTableModel->getCellRangeByPosition( nLeft, mnRow, nRight, mnRow ); in getCellRangeByPosition()
H A Dtableundo.cxx496 mxRow->mnRow = rData.mnRow; in setData()
508 rData.mnRow = mxRow->mnRow; in getData()
/trunk/main/sc/source/filter/excel/
H A Dxladdress.cxx35 rStrm >> mnRow; in Read()
44 rStrm << mnRow; in Write()
56 (maFirst.mnRow <= rPos.mnRow) && (rPos.mnRow <= maLast.mnRow); in Contains()
61 rStrm >> maFirst.mnRow >> maLast.mnRow; in Read()
73 rStrm << maFirst.mnRow << maLast.mnRow; in Write()
92 aXclRange.maFirst.mnRow = ::std::min( aXclRange.maFirst.mnRow, aIt->maFirst.mnRow ); in GetEnclosingRange()
94 aXclRange.maLast.mnRow = ::std::max( aXclRange.maLast.mnRow, aIt->maLast.mnRow ); in GetEnclosingRange()
H A Dxlescher.cxx183 lclGetYFromRow( rDoc, nScTab, maFirst.mnRow, mnTY, fScale ), in GetRect()
185 lclGetYFromRow( rDoc, nScTab, maLast.mnRow, mnBY, fScale ) ); in GetRect()
209 …lclGetRowFromY( rDoc, nScTab, maFirst.mnRow, mnTY, 0, nXclMaxRow, nDummy, aRect.Top(),… in SetRect()
210 …lclGetRowFromY( rDoc, nScTab, maLast.mnRow, mnBY, maFirst.mnRow, nXclMaxRow, nDummy, aRect.Bottom… in SetRect()
228 …(bDffAnchor ? maFirst.mnRow : mnTY) = lclGetEmbeddedScale( rPageSize.Height(), nScaleY, rRect.Top(… in SetRect()
230 …(bDffAnchor ? maLast.mnRow : mnBY) = lclGetEmbeddedScale( rPageSize.Height(), nScaleY, rRect.Bott… in SetRect()
H A Dxetable.cxx96 return (maBaseXclPos.mnCol == nXclCol) && (maBaseXclPos.mnRow == nXclRow); in IsBasePos()
104 maXclRange.maFirst.mnRow = ::std::min( maXclRange.maFirst.mnRow, nXclRow ); in Extend()
106 maXclRange.maLast.mnRow = ::std::max( maXclRange.maLast.mnRow, nXclRow ); in Extend()
264 SCROW nFirstScRow = static_cast< SCROW >( maXclRange.maFirst.mnRow ); in TryExtend()
324 if( !mbValid && (maXclRange.maFirst.mnRow < maXclRange.maLast.mnRow) ) in Finalize()
326 --maXclRange.maLast.mnRow; in Finalize()
335 … (mnColInpXclRow < maXclRange.maFirst.mnRow) || (mnColInpXclRow > maXclRange.maLast.mnRow); in Finalize()
339 … (mnColInpXclRow + 1 < maXclRange.maFirst.mnRow) || (mnColInpXclRow > maXclRange.maLast.mnRow); in Finalize()
343 … (mnColInpXclRow + 1 < maXclRange.maFirst.mnRow) || (mnColInpXclRow > maXclRange.maLast.mnRow)) && in Finalize()
345 … (mnRowInpXclRow + 1 < maXclRange.maFirst.mnRow) || (mnRowInpXclRow > maXclRange.maLast.mnRow)); in Finalize()
[all …]
H A Dxihelper.cxx70 bool bValidRow = rXclPos.mnRow <= mnMaxRow; 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()
98 aScPos.SetRow( static_cast< SCROW >( ::std::min( rXclPos.mnRow, mnMaxRow ) ) ); in CreateValidAddress()
118 … lclFillAddress( rScRange.aStart, rXclRange.maFirst.mnCol, rXclRange.maFirst.mnRow, nScTab1 ); in ConvertRange()
122 sal_uInt16 nXclRow2 = rXclRange.maLast.mnRow; in ConvertRange()
/trunk/main/oox/source/xls/
H A Daddressconverter.cxx123 rStrm >> mnRow >> mnCol; in read()
135 rStrm << mnRow; in write()
137 rStrm << static_cast< sal_uInt16 >( mnRow ); in write()
149 (maFirst.mnRow <= rAddr.mnRow) && (rAddr.mnRow <= maLast.mnRow); in contains()
154 rStrm >> maFirst.mnRow >> maLast.mnRow >> maFirst.mnCol >> maLast.mnCol; in read()
168 rStrm << maFirst.mnRow << maLast.mnRow; in write()
170 … rStrm << static_cast< sal_uInt16 >( maFirst.mnRow ) << static_cast< sal_uInt16 >( maLast.mnRow ); in write()
189 aRange.maFirst.mnRow = ::std::min( aRange.maFirst.mnRow, aIt->maFirst.mnRow ); in getEnclosingRange()
191 aRange.maLast.mnRow = ::std::max( aRange.maLast.mnRow, aIt->maLast.mnRow ); in getEnclosingRange()
619 orAddress.Row = rBinAddress.mnRow; in convertToCellAddressUnchecked()
[all …]
H A Ddrawingbase.cxx64 rModel.mnRow = rStrm.readuInt16(); in operator >>()
75 mnRow( -1 ), in CellAnchorModel()
158 case XDR_TOKEN( row ): pCellAnchor->mnRow = rValue.toInt32(); break; in setCellPos()
180 maFrom.mnRow = aTokens[ 2 ].toInt32(); in importVmlAnchor()
184 maTo.mnRow = aTokens[ 6 ].toInt32(); in importVmlAnchor()
213 …isValid() && rAddrConv.checkCol( maFrom.mnCol, true ) && rAddrConv.checkRow( maFrom.mnRow, true ) ) in calcAnchorRectEmu()
243 … aToCell = rAddrConv.createValidCellAddress( BinAddress( maTo.mnCol, maTo.mnRow ), getSheetIndex()… in calcAnchorRectEmu()
246 aValidTo.mnRow = aToCell.Row; in calcAnchorRectEmu()
254 if( aToCell.Row == maTo.mnRow ) in calcAnchorRectEmu()
283 Point aPoint = getCellPosition( rModel.mnCol, rModel.mnRow ); in calcCellAnchorEmu()
[all …]
H A Dformulaparser.cxx1843 mnRow( 0 ), in BiffNlr()
1853 mnRow = nRow; in readBiff8Data()
1867 …((rNlr.mnRow == rRange.maFirst.mnRow) && (rNlr.mnCol + 1 == rRange.maFirst.mnCol) && (rRange.maFir… in lclIsValidNlrRange()
2650 orbIsRow = aAddr1.mnRow == aAddr2.mnRow; in readNlrSRangeAddData()
2665 orNlr.mnRow = aAddr2.mnRow; in readNlrSRangeAddData()
2696 aRef.mnRow = rNlr.mnRow; in pushBiffNlrAddr()
2704 bool bRow = rNlr.mnRow == rRange.maFirst.mnRow; in pushBiffNlrRange()
2713 aRange.maFirst.mnRow = rNlr.mnRow + (bRow ? 0 : 1); in pushBiffNlrSAddr()
2715 aRange.maLast.mnRow = bRow ? rNlr.mnRow : mnMaxApiRow; in pushBiffNlrSAddr()
2725 aRef.maRef1.mnRow = rRange.maFirst.mnRow; in pushBiffNlrSRange()
[all …]
H A Dsheetdatacontext.cxx300 aModel.mnRow = rAttribs.getInteger( XML_r, -1 ); in importRow()
301 if ( aModel.mnRow == -1 ) in importRow()
302 aModel.mnRow = ++maLastCellAddress.Row; in importRow()
304 maLastCellAddress.Row = aModel.mnRow - 1; in importRow()
398 rStrm >> maCurrPos.mnRow >> aModel.mnXfId >> nHeight >> nFlags1 >> nFlags2 >> nSpanCount; in importRow()
402 aModel.mnRow = maCurrPos.mnRow + 1; in importRow()
737 aModel.mnRow = static_cast< sal_Int32 >( nRow ) + 1; in importRow()
/trunk/main/sc/source/filter/inc/
H A Dhtmlpars.hxx220 SCROW mnRow; 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 …return (rPos1.mnRow < rPos2.mnRow) || ((rPos1.mnRow == rPos2.mnRow) && (rPos1.mnCol < rPos2.mnCol)… in operator <()
H A Dxladdress.hxx40 sal_uInt16 mnRow; 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 <()
95 inline sal_uInt16 GetRowCount() const { return maLast.mnRow - maFirst.mnRow + 1; } in GetRowCount()
H A Dxlescher.hxx334 >> rAnchor.maFirst.mnRow >> rAnchor.mnTY in operator >>()
336 >> rAnchor.maLast.mnRow >> rAnchor.mnBY; in operator >>()
344 << rAnchor.maFirst.mnRow << rAnchor.mnTY in operator <<()
346 << rAnchor.maLast.mnRow << rAnchor.mnBY; in operator <<()
/trunk/main/oox/inc/oox/xls/
H A Daddressconverter.hxx59 sal_Int32 mnRow; 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 … const ::com::sun::star::table::CellAddress& rAddr ) : mnCol( rAddr.Column ), mnRow( rAddr.Row ) {} in BinAddress()
65 inline void set( sal_Int32 nCol, sal_Int32 nRow ) { mnCol = nCol; mnRow = nRow; } in set()
66 …t( const ::com::sun::star::table::CellAddress& rAddr ) { mnCol = rAddr.Column; mnRow = rAddr.Row; } 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 <()
130 inline sal_Int32 getRowCount() const { return maLast.mnRow - maFirst.mnRow + 1; } in getRowCount()
/trunk/main/svx/inc/svx/
H A Dsvdotable.hxx71 sal_Int32 mnRow; 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/sc/inc/
H A Dlookupcache.hxx197 SCROW mnRow; member
202 mnRow( rAddress.Row()), in QueryKey()
210 return mnRow == r.mnRow && mnTab == r.mnTab && meOp == r.meOp && meOp != UNKNOWN; in operator ==()
219 static_cast<size_t>(r.mnRow); in operator ()()
/trunk/main/sc/source/filter/xml/
H A Dxmlexternaltabi.cxx233 if (i == 1 && !pTab->hasRow( mrExternalRefInfo.mnRow)) in EndElement()
235 mrExternalRefInfo.mnRow += mnRepeatRowCount; in EndElement()
242 static_cast<SCCOL>(j), static_cast<SCROW>(mrExternalRefInfo.mnRow)); in EndElement()
247 static_cast<SCROW>(mrExternalRefInfo.mnRow+i), pToken); in EndElement()
251 mrExternalRefInfo.mnRow += mnRepeatRowCount; in EndElement()
393 static_cast<SCROW>(mrExternalRefInfo.mnRow), in EndElement()
/trunk/main/sw/source/ui/uiview/
H A Dpview.cxx230 mnRow = pUsrPref->GetPagePrevRow(); // 1 Zeile in SwPagePreViewWin()
269 SetPagePreview(mnRow, mnCol); in Paint()
291 mnRow = nNewRow; in CalcWish()
293 sal_uInt16 nPages = mnRow * mnCol, in CalcWish()
299 mpPgPrevwLayout->Init( mnCol, mnRow, maPxWinSize, true ); in CalcWish()
303 SetPagePreview(mnRow, mnCol); in CalcWish()
337 sal_uInt16 nPages = mnRow * mnCol; in MovePage()
422 SetPagePreview(mnRow, mnCol); in MovePage()
466 SetPagePreview(mnRow, mnCol); in SetWinSize()
2050 mnRow = 1; in AdjustPreviewToNewZoom()
[all …]
/trunk/main/sc/source/filter/html/
H A Dhtmlpars.cxx2204 … static_cast< SCROW >( GetDocSize( tdRow, rCellPos.mnRow, rCellPos.mnRow + aCellSpan.mnRows ) ) ); in GetDocSize()
2216 static_cast< SCROW >( GetDocPos( tdRow, rCellPos.mnRow ) ) ); in GetDocPos()
2408 pRange->aEnd.SetRow( maCurrCell.mnRow - 1 ); in InsertNewCell()
2451 ++maCurrCell.mnRow; in ImplRowOff()
2707 pEntry->nRow = aEntryDocPos.mnRow; in RecalcDocPos()
2712 aEntryDocPos.mnRow += nTableRows; in RecalcDocPos()
2717 pEntry->nRow = aEntryDocPos.mnRow; in RecalcDocPos()
2720 ++aEntryDocPos.mnRow; in RecalcDocPos()
2736 while( aEntryDocPos.mnRow < nFirstUnusedRow ) in RecalcDocPos()
2740 xDummyEntry->nRow = aEntryDocPos.mnRow; in RecalcDocPos()
[all …]

Completed in 214 milliseconds

123