Home
last modified time | relevance | path

Searched refs:nRows (Results 1 – 25 of 166) sorted by relevance

1234567

/AOO41X/main/filter/source/graphicfilter/ipsd/
H A Dipsd.cxx49 sal_uInt32 nRows; member
123 Size aBitmapSize( mpFileHeader->nColumns, mpFileHeader->nRows ); in ReadPSD()
186 mpFileHeader->nPad2 >> mpFileHeader->nChannels >> mpFileHeader->nRows >> in ImplReadHeader()
192 if ( mpFileHeader->nRows == 0 || mpFileHeader->nColumns == 0 ) in ImplReadHeader()
195 if ( ( mpFileHeader->nRows > 30000 ) || ( mpFileHeader->nColumns > 30000 ) ) in ImplReadHeader()
330 mpPSD->SeekRel( ( mpFileHeader->nRows * mpFileHeader->nChannels ) << 1 ); in ImplReadHeader()
354 while ( nY < mpFileHeader->nRows ) in ImplReadBody()
377 if ( nY == mpFileHeader->nRows ) in ImplReadBody()
398 if ( nY == mpFileHeader->nRows ) in ImplReadBody()
409 while ( nY < mpFileHeader->nRows ) in ImplReadBody()
[all …]
/AOO41X/main/svx/source/table/
H A Dtablemodel.cxx151 sal_Int32 nRows = nRowCount; in TableModel() local
152 while( nRows-- ) in TableModel()
153 (*maRows[nRows]) = (*xSourceTable->maRows[nRows]); in TableModel()
180 void TableModel::init( sal_Int32 nColumns, sal_Int32 nRows ) in init() argument
182 if( nRows < 20 ) in init()
188 if( nRows && nColumns ) in init()
191 maRows.resize( nRows ); in init()
193 while( nRows-- ) in init()
194 maRows[nRows].set( new TableRow( this, nRows, nColumns ) ); in init()
275 sal_Int32 nRows = getRowCountImpl(); in UndoInsertColumns() local
[all …]
H A Dcellcursor.cxx406 void CellCursor::split_row( sal_Int32 nRow, sal_Int32 nRows, std::vector< sal_Int32 >& rLeftOvers ) in split_row() argument
417 nNewRows = std::max( nNewRows, nRows - xCell->getRowSpan() + 1 - rLeftOvers[nCol] ); in split_row()
467 … DBG_ASSERT( nCellsAvailable > nRows, "sdr::table::CellCursor::split_row(), somethings wrong" ); in split_row()
469 sal_Int32 nSplitSpan = (nCellsAvailable / (nRows + 1)) - 1; in split_row()
472 sal_Int32 nSplits = nRows + 1; in split_row()
477 nSplitSpan = nCellsAvailable - ((nSplitSpan+1) * nRows) - 1; in split_row()
510 void CellCursor::split_vertical( sal_Int32 nRows ) in split_vertical() argument
517 split_row( nRow, nRows, aLeftOvers ); in split_vertical()
522 void SAL_CALL CellCursor::split( sal_Int32 nColumns, sal_Int32 nRows ) throw (NoSupportException, I… in split() argument
524 if( (nColumns < 0) || (nRows < 0) ) in split()
[all …]
/AOO41X/main/sc/source/core/inc/
H A Djumpmatrix.hxx66 SCSIZE nRows; member in ScJumpMatrix
83 , nRows( nRowsP ) in ScJumpMatrix()
95 nRows-1); in ScJumpMatrix()
115 rRows = nRows; in GetDimensions()
121 pJump[ (sal_uLong)nCol * nRows + nRow ]. in SetJump()
128 if (nCols == 1 && nRows == 1) in GetJump()
133 else if (nCols == 1 && nRow < nRows) in GetJump()
135 else if (nRows == 1 && nCol < nCols) in GetJump()
137 else if (nCols <= nCol || nRows <= nRow) in GetJump()
143 pJump[ (sal_uLong)nCol * nRows + nRow ]. in GetJump()
[all …]
/AOO41X/main/svtools/source/contnr/
H A Dimivctl2.cxx37 nRows = 0; in IcnCursor_Impl()
81 pRows = new SvPtrarr[ nRows ]; in ImplCreate()
93 if( nY >= nRows ) in ImplCreate()
94 nY = sal::static_int_cast< short >(nRows - 1); in ImplCreate()
302 DBG_ASSERT(nY< nRows,"GoLeftRight:Bad column"); in GoLeftRight()
336 if( nRowMax < (nRows-1)) in GoLeftRight()
420 DBG_ASSERT(nY<nRows,"GoUpDown:Bad column"); in GoUpDown()
426 nX, nY, sal::static_int_cast< sal_uInt16 >(nRows-1), nY, sal_True, sal_True ); in GoUpDown()
438 nLastRow = nRows; in GoUpDown()
468 nRows = rSize.Height() / pView->nGridDY; in SetDeltas()
[all …]
/AOO41X/main/vcl/aqua/source/a11y/
H A Daqua11ytablewrapper.mm46 sal_Int32 nRows = accessibleTable->getAccessibleRowCount();
49 if( nRows * nCols < MAXIMUM_ACCESSIBLE_TABLE_CELLS )
52 for ( sal_Int32 rowCount = 0; rowCount < nRows; rowCount++ )
118 sal_Int32 nRows = accessibleTable->getAccessibleRowCount();
122 if( nRows*nCols < MAXIMUM_ACCESSIBLE_TABLE_CELLS )
137 sal_Int32 nRows = accessibleTable->getAccessibleRowCount();
139 if( nRows * nCols < MAXIMUM_ACCESSIBLE_TABLE_CELLS )
145 sal_Int32 nRows = accessibleTable->getAccessibleRowCount();
146 for( sal_Int32 n = 0; n < nRows; n++ )
177 sal_Int32 nRows = accessibleTable->getAccessibleRowCount();
[all …]
/AOO41X/main/sc/source/core/tool/
H A Ddoubleref.cxx69 SCROW nRows = pDBRef->getRowSize(); in lcl_createStarQuery() local
70 SCSIZE nNewEntries = static_cast<SCSIZE>(nRows); in lcl_createStarQuery()
148 while (bValid && (nRow < nRows) /* && (nIndex < MAXQUERY) */ ); in lcl_createStarQuery()
157 SCROW nRows = pQueryRef->getRowSize(); in lcl_createExcelQuery() local
192 while (nRow < nRows) in lcl_createExcelQuery()
317 SCROW nRows = getRowSize(); in getVisibleDataCellCount() local
318 if (nRows <= 1) in getVisibleDataCellCount()
321 return (nRows-1)*nCols; in getVisibleDataCellCount()
443 SCROW nRows = getRowSize(); in getVisibleDataCellCount() local
444 if (nRows <= 1) in getVisibleDataCellCount()
[all …]
H A Dddelink.cxx157 SCSIZE nRows = 1; in DataChanged() local
160 nRows = static_cast<SCSIZE>(aLinkStr.GetTokenCount( '\n' )); in DataChanged()
166 if (!nRows || !nCols) // keine Daten in DataChanged()
173 pResult = new ScMatrix( nCols, nRows ); in DataChanged()
192 for (SCSIZE nR=0; nR<nRows; nR++) in DataChanged()
H A Dinterpr1.cxx116 SCSIZE nCols, nRows; in ScIfJump() local
117 pMat->GetDimensions( nCols, nRows ); in ScIfJump()
118 if ( nCols == 0 || nRows == 0 ) in ScIfJump()
125 ScJumpMatrix* pJumpMat = new ScJumpMatrix( nCols, nRows ); in ScIfJump()
128 for ( SCSIZE nR=0; nR < nRows; ++nR ) in ScIfJump()
249 SCSIZE nCols, nRows; in ScChoseJump() local
250 pMat->GetDimensions( nCols, nRows ); in ScChoseJump()
251 if ( nCols == 0 || nRows == 0 ) in ScChoseJump()
258 ScJumpMatrix* pJumpMat = new ScJumpMatrix( nCols, nRows ); in ScChoseJump()
261 for ( SCSIZE nR=0; nR < nRows; ++nR ) in ScChoseJump()
[all …]
/AOO41X/main/sw/source/ui/dbui/
H A Dmailmergehelper.cxx211 sal_uInt16 nRows; member
217 nRows(1), in SwAddressPreview_Impl()
291 if( (nSelectRow < nStartRow) || (nSelectRow >= (nStartRow + pImpl->nRows) )) in SelectAddress()
325 void SwAddressPreview::SetLayout(sal_uInt16 nRows, sal_uInt16 nColumns) in SetLayout() argument
327 pImpl->nRows = nRows; in SetLayout()
345 aVScrollBar.SetVisibleSize(pImpl->nRows); in UpdateScrollBar()
348 aVScrollBar.Show(pImpl->bEnableScrollBar && nResultingRows > pImpl->nRows); in UpdateScrollBar()
376 Size aPartSize( aSize.Width()/pImpl->nColumns, aSize.Height()/pImpl->nRows ); in Paint()
382 for(sal_uInt16 nRow = 0; nRow < pImpl->nRows ; ++nRow) in Paint()
391 if((pImpl->nColumns * pImpl->nRows) == 1) in Paint()
[all …]
/AOO41X/main/sc/source/filter/xml/
H A DXMLDDELinksContext.cxx95 nRows(0), in ScXMLDDELinkContext()
157 if (nPosition > -1 && nColumns && nRows && GetScImport().GetDocument()) in EndElement()
159 bool bSizeMatch = (static_cast<size_t>(nColumns * nRows) == aDDELinkTable.size()); in EndElement()
168 nColumns = aDDELinkTable.size() / nRows; in EndElement()
169 DBG_ASSERT( static_cast<size_t>(nColumns * nRows) == aDDELinkTable.size(), in EndElement()
172 … ScMatrixRef pMatrix = new ScMatrix( static_cast<SCSIZE>(nColumns), static_cast<SCSIZE>(nRows) ); in EndElement()
360 nRows(1) in ScXMLDDERowContext()
375 GetScImport().GetMM100UnitConverter().convertNumber(nRows, sValue); in ScXMLDDERowContext()
377 pDDELink->AddRows(nRows); in ScXMLDDERowContext()
403 pDDELink->AddRowsToTable(nRows); in EndElement()
H A Dxmlexprt.cxx1396 sal_Int32 nRows(1); in ExportFormatRanges() local
1398 while (nRows < nTotalRows) in ExportFormatRanges()
1401 …tyles->GetFormatRanges(0, pSharedData->GetLastColumn(nSheet), nStartRow + nRows, nSheet, pRowForma… in ExportFormatRanges()
1404 if (nMaxRows >= nTotalRows - nRows) in ExportFormatRanges()
1406 OpenRow(nSheet, nStartRow + nRows, nTotalRows - nRows); in ExportFormatRanges()
1407 nRows += nTotalRows - nRows; in ExportFormatRanges()
1411 OpenRow(nSheet, nStartRow + nRows, nMaxRows); in ExportFormatRanges()
1412 nRows += nMaxRows; in ExportFormatRanges()
1415 …tyles->GetFormatRanges(0, pSharedData->GetLastColumn(nSheet), nStartRow + nRows, nSheet, pRowForma… in ExportFormatRanges()
1417 CloseRow(nStartRow + nRows - 1); in ExportFormatRanges()
[all …]
/AOO41X/main/sc/source/ui/Accessibility/
H A DAccessiblePreviewTable.cxx249 sal_Int32 nRows = 1; in getAccessibleRowExtentAt() local
266 nRows = pItem->GetRowMerge(); in getAccessibleRowExtentAt()
272 return nRows; in getAccessibleRowExtentAt()
503 SCROW nRows = mpTableInfo->GetRows(); in getAccessibleAtPoint() local
513 …if ( nCols > 0 && nRows > 0 && aMovedPoint.X >= pColInfo[0].nPixelStart && aMovedPoint.Y >= pRowIn… in getAccessibleAtPoint()
519 while ( nRowIndex < nRows && aMovedPoint.Y > pRowInfo[nRowIndex].nPixelEnd ) in getAccessibleAtPoint()
521 if ( nColIndex < nCols && nRowIndex < nRows ) in getAccessibleAtPoint()
729 SCROW nRows = mpTableInfo->GetRows(); in GetBoundingBox() local
730 if ( nColumns > 0 && nRows > 0 ) in GetBoundingBox()
738 pRowInfo[nRows-1].nPixelEnd ); in GetBoundingBox()
/AOO41X/main/sw/source/ui/envelp/
H A Dlabfmt.cxx136 if (aItem.nRows == 1) in Paint()
168 if (aItem.nRows == 1) in Paint()
174 for (sal_uInt16 nRow = 0; nRow < Min((sal_uInt16) 2, (sal_uInt16) aItem.nRows); nRow++) in Paint()
221 if (aItem.nRows > 1) in Paint()
535 rItem.nRows = rRec.nRows = (sal_uInt16) aRowsField.GetValue(); in FillItem()
572 aRowsField.SetMax(aItem.nRows); in Reset()
575 aRowsField .SetValue(aItem.nRows); in Reset()
594 aRec.nRows = (sal_uInt16) aRowsField.GetValue(); in IMPL_LINK()
704 rItem.nRows = rLabRec.nRows; in GetLabel()
H A Dlabimg.cxx54 nRows (1), in SwLabItem()
95 nRows = rItem.nRows; in operator =()
155 nRows == rLab.nRows && in operator ==()
309 case 4: pValues[nProp] >>= aItem.nRows; break;// "Format/Row", in SwLabCfgItem()
426 case 4: pValues[nProp] <<= aItem.nRows; break;// "Format/Row", in Commit()
/AOO41X/main/sw/source/filter/html/
H A Dhtmltab.cxx417 sal_uInt16 nRows; // Anzahl Zeilen member in HTMLTable
995 nRows = 0; in InitCtor()
1175 nRows, nCols, bFixedCols, bColSpec, in CreateLayoutInfo()
1184 for( i=0; i<nRows; i++ ) in CreateLayoutInfo()
1261 pPrevCnts = GetCell( nRows-1, nCols-1 )->GetContents(); in GetPrevBoxStartNode()
1356 if( nRow+nRowSpan == nRows ) in GetBottomCellSpace()
1425 if( nRowSpan > 1 || (this != pTopTable && nRowSpan==nRows) ) in FixFrameFmt()
1444 if( nRow+nRowSpan == nRows ) in FixFrameFmt()
1706 if( this == pTopTable || nTopRow>0 || nBottomRow<nRows ) in MakeTableLine()
1941 ASSERT( nRows>0 && nCols>0 && nCurRow==nRows, in InheritBorders()
[all …]
/AOO41X/main/sc/inc/
H A Dtoken.hxx357 SCROW nRows; member in ScMatrixFormulaCellToken
362 nRows( nR ), nCols( nC ) {} in ScMatrixFormulaCellToken()
365 nRows( r.nRows ), nCols( r.nCols ) in ScMatrixFormulaCellToken()
376 nRows = nR; in SetMatColsRows()
381 nR = nRows; in GetMatColsRows()
385 SCROW GetMatRows() const { return nRows; } in GetMatRows()
/AOO41X/main/sc/source/ui/vba/
H A Dvbafont.cxx86 sal_Int32 nRows = xColumnRowRange->getRows()->getCount(); in setSuperscript() local
89 for ( sal_Int32 row = 0; row < nRows; ++row ) in setSuperscript()
125 sal_Int32 nRows = xColumnRowRange->getRows()->getCount(); in getSuperscript() local
129 for ( sal_Int32 row = 0; row < nRows; ++row ) in getSuperscript()
158 sal_Int32 nRows = xColumnRowRange->getRows()->getCount(); in setSubscript() local
161 for ( sal_Int32 row = 0; row < nRows; ++row ) in setSubscript()
199 sal_Int32 nRows = xColumnRowRange->getRows()->getCount(); in getSubscript() local
203 for ( sal_Int32 row = 0; row < nRows; ++row ) in getSubscript()
/AOO41X/main/oox/source/xls/
H A Dexternallinkbuffer.cxx165 sal_Int32 nRows, nCols; in importDdeItemValues() local
166 rStrm >> nRows >> nCols; in importDdeItemValues()
167 setResultSize( nCols, nRows ); in importDdeItemValues()
263 sal_Int32 nRows = rStrm.readuInt16(); in importExternalName() local
264 if( bBiff8 ) { ++nCols; ++nRows; } else if( nCols == 0 ) nCols = 256; in importExternalName()
265 setResultSize( nCols, nRows ); in importExternalName()
432 void ExternalName::setResultSize( sal_Int32 nColumns, sal_Int32 nRows ) in setResultSize() argument
436 … OSL_ENSURE( (nRows > 0) && (nColumns > 0), "ExternalName::setResultSize - invalid matrix size" ); in setResultSize()
438 …if( (0 < nRows) && (nRows <= rMaxPos.Row + 1) && (0 < nColumns) && (nColumns <= rMaxPos.Column + 1… in setResultSize()
439 …maResults.resize( static_cast< size_t >( nColumns ), static_cast< size_t >( nRows ), Any( BiffHelp… in setResultSize()
/AOO41X/main/sc/source/filter/excel/
H A Dxehelper.cxx1064 void XclExpCachedMatrix::GetDimensions( SCSIZE & nCols, SCSIZE & nRows ) const in GetDimensions()
1066 mrMatrix.GetDimensions( nCols, nRows ); in GetDimensions()
1068 DBG_ASSERT( nCols && nRows, "XclExpCachedMatrix::GetDimensions - empty matrix" ); in GetDimensions()
1074 SCSIZE nCols, nRows; in GetSize() local
1076 GetDimensions( nCols, nRows ); in GetSize()
1081 return 3 + 9 * (nCols * nRows); in GetSize()
1086 SCSIZE nCols, nRows; in Save() local
1088 GetDimensions( nCols, nRows ); in Save()
1092 rStrm << static_cast< sal_uInt8 >( nCols ) << static_cast< sal_uInt16 >( nRows ); in Save()
1095 rStrm << static_cast< sal_uInt8 >( nCols - 1 ) << static_cast< sal_uInt16 >( nRows - 1 ); in Save()
[all …]
/AOO41X/main/qadevOOo/runner/util/
H A DTableDsc.java45 public TableDsc( int nRows, int nColumns ) { in TableDsc() argument
46 rows = nRows; in TableDsc()
51 public TableDsc( String TableName, int nRows, int nColumns ) { in TableDsc() argument
53 rows = nRows; in TableDsc()
/AOO41X/main/sd/source/ui/table/
H A Dtablefunction.cxx120 sal_Int32 nRows = 0; in FuTable() local
131 nRows = pRows->GetValue(); in FuTable()
136 if( (nColumns == 0) || (nRows == 0) ) in FuTable()
145 nRows = pDlg->getRows(); in FuTable()
169 …:sdr::table::SdrTableObj* pObj = new ::sdr::table::SdrTableObj( GetDoc(), aRect, nColumns, nRows ); in FuTable()
/AOO41X/main/svtools/source/control/
H A Dtaskmisc.cxx112 sal_uInt16 nRows; in ImplTile() local
132 nRows = nCols -1; in ImplTile()
136 nRows = nCols; in ImplTile()
147 nActRows = nRows - 1; in ImplTile()
149 nActRows = nRows; in ImplTile()
/AOO41X/main/sccomp/source/solver/
H A Dsolver.cxx402 size_t nRows = maConstraints.getLength(); in solve() local
403 size_t nCompSize = nVariables * nRows; in solve()
408 double* pRHS = new double[nRows]; in solve()
409 char* pRowType = new char[nRows]; in solve()
410 for (size_t i=0; i<nRows; i++) in solve()
477 for (size_t nRow=0; nRow<nRows; nRow++) in solve()
538 int nResult = CoinLoadProblem( hProb, nVariables, nRows, nMatrixPos, 0, in solve()
/AOO41X/main/wizards/com/sun/star/wizards/reportbuilder/layout/
H A DColumnarTwoColumns.java87 int nRows = aFieldNames.length / _nColumns; in insertDetailFields() local
90 ++nRows; in insertDetailFields()
106 for (int y = 0; y < nRows; y++) in insertDetailFields()
122 aRect.Y = Math.max(aSOLabel.getHeight(LayoutConstants.LabelHeight) * nRows, nMaxHeight); in insertDetailFields()

1234567