Home
last modified time | relevance | path

Searched refs:nColCount (Results 1 – 25 of 78) sorted by relevance

1234

/AOO41X/main/sc/source/core/tool/
H A Drangeseq.cxx75 long nColCount = rRange.aEnd.Col() + 1 - rRange.aStart.Col(); in FillLongArray() local
82 uno::Sequence<sal_Int32> aColSeq( nColCount ); in FillLongArray()
84 for (long nCol = 0; nCol < nColCount; nCol++) in FillLongArray()
101 SCSIZE nColCount; in FillLongArray() local
103 pMatrix->GetDimensions( nColCount, nRowCount ); in FillLongArray()
109 uno::Sequence<sal_Int32> aColSeq( static_cast<sal_Int32>(nColCount) ); in FillLongArray()
111 for (SCSIZE nCol = 0; nCol < nColCount; nCol++) in FillLongArray()
131 long nColCount = rRange.aEnd.Col() + 1 - rRange.aStart.Col(); in FillDoubleArray() local
138 uno::Sequence<double> aColSeq( nColCount ); in FillDoubleArray()
140 for (long nCol = 0; nCol < nColCount; nCol++) in FillDoubleArray()
[all …]
H A Dconsoli.cxx125 nColCount(0), in ScConsData()
172 for (SCSIZE i=0; i<nColCount; i++) in DeleteData()
185 DELETEARR( ppCount, nColCount ); in DeleteData()
186 DELETEARR( ppSum, nColCount ); in DeleteData()
187 DELETEARR( ppSumSqr,nColCount ); in DeleteData()
188 DELETEARR( ppUsed, nColCount ); // erst nach ppRefs !!! in DeleteData()
190 DELETESTR( ppColHeaders, nColCount ); in DeleteData()
196 if (bColByName) nColCount = 0; // sonst stimmt ppColHeaders nicht in DeleteData()
211 if (bReference && nColCount && !ppRefs) in InitData()
213 ppRefs = new ScReferenceList*[nColCount]; in InitData()
[all …]
H A Dscmatrix.cxx45 nColCount = nC; in CreateMatrix()
47 SCSIZE nCount = nColCount * nRowCount; in CreateMatrix()
51 nColCount = nRowCount = 1; in CreateMatrix()
74 ScMatrix* pScMat = new ScMatrix( nColCount, nRowCount); in Clone()
128 SCSIZE nCount = nColCount * nRowCount; in ScMatrix()
171 SCSIZE nCount = nColCount * nRowCount; in Store()
189 rStream << (sal_uInt16) nColCount; in Store()
223 SCSIZE nCount = nColCount * nRowCount; in ResetIsString()
242 SCSIZE nCount = nColCount * nRowCount; in DeleteIsString()
508 if (nColCount > mRes.nColCount || nRowCount > mRes.nRowCount) in MatCopy()
[all …]
H A Dchartarr.cxx197 SCSIZE nColCount = aCols.size(); in CreateMemChartSingle() local
218 if (nColCount > SHRT_MAX || nRowCount > SHRT_MAX) in CreateMemChartSingle()
220 nColCount = 0; in CreateMemChartSingle()
225 if ( !nColCount ) in CreateMemChartSingle()
228 nColCount = 1; in CreateMemChartSingle()
243 static_cast<short>(nColCount), static_cast<short>(nRowCount) ); in CreateMemChartSingle()
252 for (nCol=0; nCol<nColCount; nCol++) in CreateMemChartSingle()
288 for (nCol=0; nCol<nColCount; nCol++) in CreateMemChartSingle()
297 for (nCol=0; nCol<nColCount; nCol++) in CreateMemChartSingle()
375 SCSIZE nColCount = GetPositionMap()->GetColCount(); in CreateMemChartMulti() local
[all …]
H A Dchartpos.cxx378 SCSIZE nColCount = 0; in CreatePositionMap() local
440 nColCount = static_cast< SCSIZE >( pCols->Count()); in CreatePositionMap()
449 if ( nColCount > 0 ) in CreatePositionMap()
450 nColCount -= nColAdd; in CreatePositionMap()
454 if ( nColCount==0 || nRowCount==0 ) in CreatePositionMap()
464 nColCount = 1; in CreatePositionMap()
497 …pPositionMap = new ScChartPositionMap( static_cast<SCCOL>(nColCount), static_cast<SCROW>(nRowCount… in CreatePositionMap()
515 nColCount( nChartCols ), in ScChartPositionMap()
518 DBG_ASSERT( nColCount && nRowCount, "ScChartPositionMap without dimension" ); in ScChartPositionMap()
551 for ( nCol = 0; nCol < nColCount; nCol++ ) in ScChartPositionMap()
[all …]
/AOO41X/main/svx/source/table/
H A Dtablelayouter.cxx105 sal_Int32 nColCount = getColumnCount(); in getCellSize() local
107 while( nColSpan && (aPos.mnCol < nColCount ) ) in getCellSize()
276 const sal_Int32 nColCount = getColumnCount(); in getVerticalEdge() local
277 if( (nEdgeX >= 0) && (nEdgeX <= nColCount ) ) in getVerticalEdge()
278 nRet = maColumns[std::min((sal_Int32)nEdgeX,nColCount-1)].mnPos; in getVerticalEdge()
283 if( (nEdgeX >= 0) && (nEdgeX < nColCount) ) in getVerticalEdge()
297 if( nEdgeX < nColCount ) in getVerticalEdge()
302 if( (nEdgeX > 0) && (nEdgeX <= nColCount ) ) in getVerticalEdge()
317 if( (nEdgeX >= 0) && (nEdgeX < nColCount ) ) in getVerticalEdge()
541 const sal_Int32 nColCount = getColumnCount(); in LayoutTableWidth() local
[all …]
H A Dviewcontactoftableobj.cxx498 …ter& rLayouter, sal_Int32 nX, sal_Int32 nY, bool bHorizontal, sal_Int32 nColCount, sal_Int32 nRowC… in impGetLine() argument
500 if(nX >= 0 && nX <= nColCount && nY >= 0 && nY <= nRowCount) in impGetLine()
523 bMirror = (bIsRTL ? 0 != nX : nX != nColCount); in impGetLine()
552 const sal_Int32 nColCount(xTable->getColumnCount()); in createViewIndependentPrimitive2DSequence() local
553 const sal_Int32 nAllCount(nRowCount * nColCount); in createViewIndependentPrimitive2DSequence()
584 for(aCellPos.mnCol = 0; aCellPos.mnCol < nColCount; aCellPos.mnCol++) in createViewIndependentPrimitive2DSequence()
601 … const sal_uInt32 nTextIndex(nColCount * aCellPos.mnRow + aCellPos.mnCol); in createViewIndependentPrimitive2DSequence()
637 … const sal_Int32 nX(bIsRTL ? nColCount - aCellPos.mnCol : aCellPos.mnCol); in createViewIndependentPrimitive2DSequence()
647 … impGetLine(aLeftLine, rTableLayouter, nX, nY, false, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence()
648 … impGetLine(aBottomLine, rTableLayouter, nX, nYBottom, true, nColCount, nRowCount, bIsRTL); in createViewIndependentPrimitive2DSequence()
[all …]
H A Dtablemodel.cxx146 const sal_Int32 nColCount = xSourceTable->getColumnCountImpl(); in TableModel() local
149 init( nColCount, nRowCount ); in TableModel()
155 sal_Int32 nColumns = nColCount; in TableModel()
160 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in TableModel()
640 const sal_Int32 nColCount = getColumnCountImpl(); in notifyModification() local
644 …fprintf( file, "<table columns=\"%ld\" rows=\"%ld\" updated=\"%s\">\n\r", nColCount, nRowCount, mb… in notifyModification()
646 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in notifyModification()
655 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in notifyModification()
812 sal_Int32 nColCount = getColumnCountImpl(); in removeColumns() local
814 if( mpTableObj && nCount && (nIndex >= 0) && (nIndex < nColCount) ) in removeColumns()
[all …]
H A Dsvdotable.cxx373 const sal_Int32 nColCount = getColumnCount(); in ApplyCellStyles() local
384 for( aPos.mnCol = 0; aPos.mnCol < nColCount; ++aPos.mnCol ) in ApplyCellStyles()
405 else if( rStyle.mbUseLastColumn && (aPos.mnCol == nColCount-1) ) in ApplyCellStyles()
1051 const sal_Int32 nColCount = mpImpl->getColumnCount(); in CheckTableHit() local
1067 while( rnX <= nColCount ) in CheckTableHit()
1075 if( rnX == nColCount ) in CheckTableHit()
1086 rnX = nColCount; in CheckTableHit()
1262 const sal_Int32 nColCount = mpImpl->getColumnCount(); in getText() local
1263 if( nColCount ) in getText()
1265 CellPos aPos( nIndex % nColCount, nIndex / nColCount ); in getText()
[all …]
H A Dtablertfexporter.cxx100 const sal_Int32 nColCount = xColumns->getCount(); in Write() local
103 aColumnStart.reserve( nColCount ); in Write()
107 for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) try in Write()
148 const sal_Int32 nColCount = mxTable->getColumnCount(); in WriteRow() local
149 for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) in WriteRow()
185 for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) in WriteRow()
H A Dtablertfimporter.cxx243 sal_Int32 nColCount = mxTable->getColumnCount(); in FillTable() local
246 if( nColCount < mnColMax ) in FillTable()
248 xCols->insertByIndex( nColCount, mnColMax - nColCount ); in FillTable()
249 nColCount = mxTable->getColumnCount(); in FillTable()
254 for( nCol = 0; nCol < nColCount; nCol++ ) in FillTable()
/AOO41X/main/sc/source/filter/xml/
H A Dxmlsubti.cxx83 nColCount = 0; in ScMyTableData()
473 sal_Int32 nColCount(aTableVec[nTableCount - 1]->GetColCount()); in NewColumn() local
475 if ( (nSpannedCols > nColCount) && in NewColumn()
479 if (nColCount > 0) in NewColumn()
481 sal_Int32 FirstColsSpanned(nSpannedCols / nColCount); in NewColumn()
483 + (nSpannedCols % nColCount)); in NewColumn()
484 for (sal_Int32 i = 0; i < nColCount - 1; ++i) in NewColumn()
491 aTableVec[nTableCount - 1]->SetColsPerCol(nColCount - 1, LastColSpanned); in NewColumn()
492 aTableVec[nTableCount - 1]->SetRealCols(nColCount - 1 + 1, in NewColumn()
493 aTableVec[nTableCount - 1]->GetRealCols(nColCount - 1) in NewColumn()
[all …]
H A Dxmlcoli.cxx64 nColCount = 1; in ScXMLTableColContext()
80 nColCount = sValue.toInt32(); in ScXMLTableColContext()
147 sal_Int32 nLastColumn(nCurrentColumn + nColCount - 1); in EndElement()
192 GetScImport().GetTables().AddColCount(nColCount); in EndElement()
193 GetScImport().GetTables().AddColStyle(nColCount, sCellStyleName); in EndElement()
/AOO41X/main/sc/source/ui/docshell/
H A Ddocsh8.cxx250 long nColCount = 0; in DBaseImport() local
294 nColCount = xMeta->getColumnCount(); // this is the number of real columns in DBaseImport()
296 if ( nColCount > MAXCOL+1 ) in DBaseImport()
298 nColCount = MAXCOL+1; in DBaseImport()
307 uno::Sequence<sal_Int32> aColTypes( nColCount ); // column types in DBaseImport()
309 for (i=0; i<nColCount; i++) in DBaseImport()
318 for (i=0; i<nColCount; i++) in DBaseImport()
361 for (i=0; i<nColCount; i++) in DBaseImport()
388 if ( nColCount > 0 ) in DBaseImport()
389 aDocument.DoColResize( 0, 0, static_cast<SCCOL>(nColCount) - 1, 0 ); in DBaseImport()
[all …]
H A Ddbdocimp.cxx273 long nColCount = 0; in DoImport() local
279 nColCount = xMeta->getColumnCount(); // this is the number of real columns in DoImport()
281 if ( rParam.nCol1 + nColCount - 1 > MAXCOL ) in DoImport()
283 nColCount = 0; in DoImport()
299 if ( nColCount > 0 && xRow.is() ) in DoImport()
301 nEndCol = (SCCOL)( rParam.nCol1 + nColCount - 1 ); in DoImport()
303 uno::Sequence<sal_Int32> aColTypes( nColCount ); // column types in DoImport()
304 uno::Sequence<sal_Bool> aColCurr( nColCount ); // currency flag is not in types in DoImport()
307 for (i=0; i<nColCount; i++) in DoImport()
316 for (i=0; i<nColCount; i++) in DoImport()
[all …]
/AOO41X/main/sw/source/core/unocore/
H A Dunotbl.cxx2502 sal_Int16 nColCount = getColumnCount(); in getDataArray() local
2503 if(!nRowCount || !nColCount) in getDataArray()
2516 uno::Sequence< uno::Any > aColSeq(nColCount); in getDataArray()
2519 for(sal_uInt16 nCol = 0; nCol < nColCount; nCol++) in getDataArray()
2563 sal_Int16 nColCount = getColumnCount(); in setDataArray() local
2584 if(rColSeq.getLength() != nColCount) in setDataArray()
2590 for(sal_uInt16 nCol = 0; nCol < nColCount; nCol++) in setDataArray()
2628 sal_Int16 nColCount = getColumnCount(); in getData() local
2629 if(!nRowCount || !nColCount) in getData()
2645 uno::Sequence< double > aColSeq(bFirstColumnAsLabel ? nColCount - 1 : nColCount); in getData()
[all …]
/AOO41X/main/sw/source/ui/frmdlg/
H A Dcolex.cxx399 sal_uInt16 nColCount = rCols.Count(); in Paint() local
400 if( nColCount ) in Paint()
406 for(sal_uInt16 i = 0; i < nColCount; i++) in Paint()
417 for(sal_uInt16 i = 0; i < nColCount - 1; i++) in Paint()
439 sal_uInt16 nColCount = rCols.Count(); in SetColumns() local
441 for(sal_uInt16 i = 0; i < nColCount; i++) in SetColumns()
458 if(nColCount && m_aCols.IsOrtho()) in SetColumns()
462 for(i = 0; i < nColCount; ++i) in SetColumns()
468 nColumnWidthSum /= nColCount; in SetColumns()
469 for(i = 0; i < nColCount; ++i) in SetColumns()
/AOO41X/main/sc/source/core/data/
H A Ddpcachetable.cxx189 const SCCOL nColCount = (SCCOL) getColSize(); in fillTable() local
190 if ( nRowCount <= 0 || nColCount <= 0) in fillTable()
199 maFieldEntries.reserve(nColCount); in fillTable()
202 for (SCCOL nCol = 0; nCol < nColCount; ++nCol) in fillTable()
244 const SCCOL nColCount = (SCCOL) getColSize(); in fillTable() local
245 if ( nRowCount <= 0 || nColCount <= 0) in fillTable()
254 maFieldEntries.reserve(nColCount); in fillTable()
257 for (SCCOL nCol = 0; nCol < nColCount; ++nCol) in fillTable()
/AOO41X/main/sc/inc/
H A Dscmatrix.hxx96 SCSIZE nColCount; member in ScMatrix
223 { rC = nColCount; rR = nRowCount; }; in GetDimensions()
225 { return nColCount * nRowCount; } in GetElementCount()
227 { return nC < nColCount && nR < nRowCount; } in ValidColRow()
239 if (nColCount == 1 && nRowCount == 1) in ValidColRowReplicated()
245 else if (nColCount == 1 && rR < nRowCount) in ValidColRowReplicated()
250 else if (nRowCount == 1 && rC < nColCount) in ValidColRowReplicated()
H A Dchartpos.hxx44 SCCOL nColCount; member in ScChartPositionMap
61 SCCOL GetColCount() const { return nColCount; } in GetColCount()
65 { return nCol < nColCount && nRow < nRowCount; } in IsValid()
86 if ( nChartCol < nColCount ) in GetColHeaderPosition()
/AOO41X/main/sw/source/core/table/
H A Dswnewtable.cxx858 sal_uInt16 nColCount = pBoxes->Count(); in PrepareMerge() local
860 for( sal_uInt16 nCurrCol = 0; nCurrCol < nColCount; ++nCurrCol ) in PrepareMerge()
880 if( nCurrCol+1 == nColCount && pBox->getRowSpan() > 0 ) in PrepareMerge()
936 sal_uInt16 nColCount = pBoxes->Count(); in PrepareMerge() local
937 for( sal_uInt16 nCurrCol = 0; nCurrCol < nColCount; ++nCurrCol ) in PrepareMerge()
2035 sal_uInt16 nColCount = rBoxes.Count(); in SwSaveRowSpan() local
2036 ASSERT( nColCount, "Empty Table Line" ) in SwSaveRowSpan()
2037 mnRowSpans.resize( nColCount ); in SwSaveRowSpan()
2038 for( sal_uInt16 nCurrCol = 0; nCurrCol < nColCount; ++nCurrCol ) in SwSaveRowSpan()
2066 sal_uInt16 nColCount = pLine->GetTabBoxes().Count(); in RestoreRowSpan() local
[all …]
/AOO41X/main/sc/workben/
H A Daddin.cxx443 long nColCount = 0; in transpose() local
445 nColCount = aMatrix.getConstArray()[0].getLength(); in transpose()
447 uno::Sequence< uno::Sequence<double> > aRet( nColCount ); in transpose()
448 for (long nCol=0; nCol<nColCount; nCol++) in transpose()
463 long nColCount = 0; in transposeInt() local
465 nColCount = aMatrix.getConstArray()[0].getLength(); in transposeInt()
467 uno::Sequence< uno::Sequence<INT32> > aRet( nColCount ); in transposeInt()
468 for (long nCol=0; nCol<nColCount; nCol++) in transposeInt()
/AOO41X/main/sc/source/ui/unoobj/
H A Dfuncuno.cxx391 void lcl_AddRef( ScTokenArray& rArray, long nStartRow, long nColCount, long nRowCount ) in lcl_AddRef() argument
399 aRef.Ref2.nCol = (SCCOL) (nColCount - 1); in lcl_AddRef()
496 long nColCount = pRowArr[nRow].getLength(); in process() local
497 if ( nColCount > nMaxColCount ) in process()
498 nMaxColCount = nColCount; in process()
500 for (long nCol=0; nCol<nColCount; nCol++) in process()
651 long nColCount = aSrcRange.aEnd.Col() - aSrcRange.aStart.Col() + 1; in callFunction() local
665 lcl_AddRef( aTokenArr, nStartRow, nColCount, nRowCount ); in callFunction()
/AOO41X/main/sw/source/ui/table/
H A Dswtablerep.cxx108 nAllCols = nColCount = rTabCol.Count(); in SwTableRep()
109 pTColumns = new TColumn[ nColCount + 1 ]; in SwTableRep()
118 nColCount --; in SwTableRep()
123 nColCount++; in SwTableRep()
/AOO41X/main/accessibility/source/extended/
H A DAccessibleGridControl.cxx383 int nColCount = m_aTable.GetColumnCount(); in commitTableEvent() local
384 …m_pImpl->m_pTable->getCellVector().erase(m_pCell+nColCount*aChange.FirstRow, m_pCell+nColCount*aCh… in commitTableEvent()
385 …ccessibleCellVector().erase(m_xAccessibleVector+nColCount*aChange.FirstRow, m_xAccessibleVector+nC… in commitTableEvent()

1234