/aoo41x/main/svx/source/dialog/ |
H A D | framelinkarray.cxx | 99 for( size_t nCol = nFirstCol; nCol <= nLastCol; ++nCol ) in lclSetMergedRange() local 406 nCol = mxImpl->GetMirrorCol(nCol); in GetCellIndex() 473 for( size_t nCol = 0; nCol < mxImpl->mnWidth; ++nCol ) in SetRowStyleTop() local 480 for( size_t nCol = 0; nCol < mxImpl->mnWidth; ++nCol ) in SetRowStyleBottom() local 942 for( nCol = 0; nCol < mxImpl->mnWidth; ++nCol ) in MirrorSelfX() 950 for( nCol = 0; nCol < mxImpl->mnWidth; ++nCol ) in MirrorSelfX() 976 for( nCol = 0; nCol < mxImpl->mnWidth; ++nCol ) in MirrorSelfY() 984 for( nCol = 0; nCol < mxImpl->mnWidth; ++nCol ) in MirrorSelfY() 1025 for( nCol = nFirstCol; nCol <= nLastCol; ++nCol ) in DrawRange() 1079 for( nCol = nFirstCol + 1; nCol <= nLastCol; ++nCol ) in DrawRange() [all …]
|
/aoo41x/main/svx/inc/svx/ |
H A D | framelinkarray.hxx | 87 inline bool IsValidPos( size_t nCol, size_t nRow ) const in IsValidPos() 89 inline size_t GetIndex( size_t nCol, size_t nRow ) const in GetIndex() 90 { return nRow * mnWidth + nCol; } in GetIndex() 92 const Cell& GetCell( size_t nCol, size_t nRow ) const; 93 Cell& GetCellAcc( size_t nCol, size_t nRow ); 109 bool IsColInClipRange( size_t nCol ) const; 112 inline size_t GetMirrorCol( size_t nCol ) const { return mnWidth - nCol - 1; } in GetMirrorCol() 115 long GetColPosition( size_t nCol ) const; 400 void SetColWidth( size_t nCol, long nWidth ); 414 long GetColPosition( size_t nCol ) const; [all …]
|
/aoo41x/main/sc/source/core/tool/ |
H A D | rangeseq.cxx | 84 for (long nCol = 0; nCol < nColCount; nCol++) in FillLongArray() local 111 for (SCSIZE nCol = 0; nCol < nColCount; nCol++) in FillLongArray() local 140 for (long nCol = 0; nCol < nColCount; nCol++) in FillDoubleArray() local 167 for (SCSIZE nCol = 0; nCol < nColCount; nCol++) in FillDoubleArray() local 171 pColAry[nCol] = pMatrix->GetDouble( nCol, nRow ); in FillDoubleArray() 198 for (long nCol = 0; nCol < nColCount; nCol++) in FillStringArray() local 230 for (SCSIZE nCol = 0; nCol < nColCount; nCol++) in FillStringArray() local 288 for (long nCol = 0; nCol < nColCount; nCol++) in FillMixedArray() local 333 for (SCSIZE nCol = 0; nCol < nColCount; nCol++) in FillMixedArray() local 429 for (nCol=0; nCol<nColCount; nCol++) in CreateMixedMatrix() [all …]
|
/aoo41x/main/sc/source/core/data/ |
H A D | table2.cxx | 295 for (SCCOL nCol = MAXCOL; nCol > nStartCol; nCol--) in InsertCol() local 371 for (SCCOL nCol = nStartCol; nCol < MAXCOL; nCol++) in DeleteCol() local 562 for (SCCOL nCol=nCol1; nCol<=nCol2; nCol++) in TransposeClip() local 577 aRef.nCol = nCol; in TransposeClip() 1226 for ( SCCOL nCol=nStartCol; nCol<=nEndCol; nCol++ ) in HasStringCells() local 1345 for (SCCOL nCol=nStartCol; nCol<=nEndCol; nCol++) in ResetChanged() local 1539 for (SCCOL nCol=0; nCol<=MAXCOL; nCol++) in FindMaxRotCol() local 2940 for (SCCOL nCol = 1; nCol <= MAXCOL; nCol++) in GetLastChangedCol() local 3079 for (nCol=nStartCol; nCol<=nEndCol; nCol++) in DoAutoOutline() 3116 for (nCol=nStartCol; nCol<=nEndCol; nCol++) in DoAutoOutline() [all …]
|
H A D | table6.cxx | 258 nCol = Min(nCol, (SCCOL)(nLastCol + 1)); in Search() 262 nCol--; in Search() 273 nCol--; in Search() 309 nCol--; in Search() 324 nCol++; in Search() 332 nCol++; in Search() 333 while ((nCol <= nLastCol) && aCol[nCol].IsEmptyData()) nCol++; in Search() 360 nCol++; in Search() 361 while ((nCol <= nLastCol) && aCol[nCol].IsEmptyData()) nCol++; in Search() 406 nCol += 1; in Replace() [all …]
|
H A D | table4.cxx | 217 SCCOL nCol = nCol1; in FillAnalyse() local 257 nCol = sal::static_int_cast<SCCOL>( nCol + nAddX ); in FillAnalyse() 314 nCol = sal::static_int_cast<SCCOL>( nCol + nAddX ); in FillAnalyse() 346 nCol = sal::static_int_cast<SCCOL>( nCol + nAddX ); in FillAnalyse() 353 nCol = sal::static_int_cast<SCCOL>( nCol + nAddX ); in FillAnalyse() 702 aCol[nCol].Resize( aCol[nCol].GetCellCount() + nFillCount ); in FillAuto() 1366 aCol[nCol].Resize( aCol[nCol].GetCellCount() + nFillCount ); in FillSeries() 1711 for (nCol = nStartCol + 1; nCol < nEndCol; nCol++) in AutoFormat() 1722 for (nCol = nStartCol + 1; nCol < nEndCol; nCol++) in AutoFormat() 1738 for (nCol = nStartCol + 1; nCol < nEndCol; nCol++) in AutoFormat() [all …]
|
H A D | table3.cxx | 437 for (SCCOL nCol = aSortParam.nCol1; nCol <= aSortParam.nCol2; nCol++) in SwapRow() local 584 for ( nCol=nStartCol; nCol<=nEndCol && !bWillDelete; nCol++ ) in TestRemoveSubTotals() 616 for ( nCol=nStartCol; nCol<=nEndCol; nCol++ ) in RemoveSubTotals() 1676 for ( nCol=nCol1; nCol<=nCol2; nCol++ ) in CreateExcelQuery() 1861 for (SCCOL nCol=nStartCol; nCol<=nEndCol; nCol++) in HasColHeader() local 1934 for ( SCCOL nCol=0; nCol<=MAXCOL; nCol++ ) in GetCellCount() local 1944 for ( SCCOL nCol=0; nCol<=MAXCOL; nCol++ ) in GetWeightedCount() local 1955 for ( SCCOL nCol=0; nCol<=MAXCOL; nCol++ ) in GetCodeCount() local 1992 for (nCol=0; nCol<=MAXCOL && !rData.bError; nCol++) in UpdateSelectionFunction() 2001 for (nCol=nStartCol; nCol<=nEndCol && !rData.bError; nCol++) in UpdateSelectionFunction() [all …]
|
H A D | markdata.cxx | 159 SCCOL nCol; in SetMultiMarkArea() local 160 for (nCol=nStartCol; nCol<=nEndCol; nCol++) in SetMultiMarkArea() 257 for (SCCOL nCol=nStartCol+1; nCol<=nEndCol && bOk; nCol++) in MarkToSimple() local 281 if ( aMarkRange.aStart.Col() <= nCol && aMarkRange.aEnd.Col() >= nCol && in IsCellMarked() 302 aMarkRange.aStart.Col() <= nCol && aMarkRange.aEnd.Col() >= nCol && in IsColumnMarked() 325 for (SCCOL nCol=0; nCol<=MAXCOL; nCol++) in IsRowMarked() local 379 for (SCCOL nCol=nStartCol; nCol<=nEndCol; nCol++) in FillRangeListWithMarks() local 485 SCCOL nCol; in GetMarkRowRanges() local 488 for (nCol = aMultiRange.aStart.Col(); nCol <= aMultiRange.aEnd.Col(); ++nCol) in GetMarkRowRanges() 546 for (SCCOL nCol=nStartCol; nCol<=nEndCol && bOk; nCol++) in IsAllMarked() local [all …]
|
H A D | table1.cxx | 319 for (SCCOL nCol=0; nCol<MAXCOL; nCol++) // MAXCOL schon oben in SetOptimalHeight() local 849 SCCOL nCol; in GetEmptyLinesInBlock() local 853 for (nCol = nStartCol; nCol <= nEndCol; nCol++) in GetEmptyLinesInBlock() 863 nCol--; in GetEmptyLinesInBlock() 872 nCol++; in GetEmptyLinesInBlock() 985 nCol = sal::static_int_cast<SCsCOL>( nCol + nMovX ); in GetNextPos() 1006 while ( VALIDCOL(nCol) && ColHidden(nCol) ) in GetNextPos() 1047 nCol = 0; in GetNextPos() 1440 for (SCCOL nCol = rEndCol; nCol >= 0; --nCol) in ExtendPrintArea() local 1551 for (SCCOL nCol=nCol1; nCol<=nCol2; nCol++) in DoColResize() local [all …]
|
H A D | dociter.cxx | 73 nCol = 0; in ScDocumentIterator() 159 ++nCol; in GetThis() 162 nCol = 0; in GetThis() 178 nCol = 0; in GetFirst() 209 rCol = nCol; in GetPos() 322 nCol++; in GetThis() 1058 nCol++; in GetThis() 1775 nCol = i; in Advance() 2021 ++nCol; in GetNext() 2029 ++nCol; in GetNext() [all …]
|
H A D | dpcachetable.cxx | 202 for (SCCOL nCol = 0; nCol < nColCount; ++nCol) in fillTable() local 214 if ( nCol == 0 ) in fillTable() 223 if ( nCol == 0 ) in fillTable() 257 for (SCCOL nCol = 0; nCol < nColCount; ++nCol) in fillTable() local 269 if ( nCol == 0 ) in fillTable() 315 return GetCache()->GetItemDataById( nCol, nId ); in getCell() 367 for (SCCOL nCol = 0; nCol < nColSize; ++nCol) in filterTable() local 370 str = getFieldName( nCol); in filterTable() 373 headerRow[nCol] = any; in filterTable() 390 for (SCCOL nCol = 0; nCol < nColSize; ++nCol) in filterTable() local [all …]
|
H A D | table5.cxx | 375 if (!ValidCol(nCol)) in HasColPageBreak() 391 if (!ValidCol(nCol)) in HasColManualBreak() 432 if (!ValidCol(nCol)) in RemoveColBreak() 462 if (!ValidCol(nCol)) in SetColBreak() 561 rLastCol = nCol; in ColHidden() 562 if (!ValidCol(nCol)) in ColHidden() 575 if (!ValidCol(nCol)) in ColHidden() 608 SCCOL nCol = nStartCol; in CopyColHidden() local 788 if (!ValidCol(nCol)) in ColFiltered() 962 SCCOL nCol = 0; in lcl_syncFlags() local [all …]
|
H A D | dptablecache.cxx | 436 sal_uInt16 nCol; in ~ScDPTableDataCache() local 437 for ( nCol=0; nCol < GetColumnCount() ; nCol++ ) in ~ScDPTableDataCache() 442 for ( nCol =0; nCol < mrLabelNames.size(); nCol++ ) in ~ScDPTableDataCache() 443 delete mrLabelNames[nCol]; in ~ScDPTableDataCache() 533 for ( sal_uInt16 nCol=0; nCol < nOldColumCount ; nCol++ ) in InitFromDoc() local 537 delete mrLabelNames[nCol]; in InitFromDoc() 571 for ( sal_uInt16 nCol=0; nCol < nOldColumCount ; nCol++ ) in InitFromDataBase() local 575 delete mrLabelNames[nCol]; in InitFromDataBase() 592 for (sal_Int32 nCol = 0; nCol < mnColumnCount; ++nCol) in InitFromDataBase() local 595 aColTypes[nCol] = xMeta->getColumnType(nCol+1); in InitFromDataBase() [all …]
|
H A D | dpoutput.cxx | 656 lcl_SetStyleById( pDoc,nTab, nCol,nDataStartRow, nCol,nTabEndRow, in HeaderCell() 679 lcl_SetFrame( pDoc,nTab, nCol,nRow, nCol,nRow, 20 ); in FieldCell() 687 pDoc->ApplyFlagsTab(nCol, nRow, nCol, nRow, nTab, nMergeFlag); in FieldCell() 695 pDoc->ApplyFlagsTab(nCol, nRow, nCol, nRow, nTab, SC_MF_BUTTON); in lcl_DoFilterButton() 772 bool bInRowHeader = (nCol >= nTabStartCol && nCol < nDataStartCol); in GetPositionType() 822 for (long nCol=0; nCol<nThisColCount; nCol++) in Output() local 886 for (long nCol=0; nCol<nThisColCount; nCol++) in Output() local 1762 long nCol; in GetPivotData() local 1796 for (nCol=0; nCol<nColCount; nCol++) in GetPivotData() 1905 if ( nCol >= nDataStartCol && nCol <= nTabEndCol && in GetHeaderDrag() [all …]
|
/aoo41x/main/sc/source/filter/lotus/ |
H A D | op.cxx | 96 sal_uInt16 nCol, nRow; in OP_Integer() local 116 sal_uInt16 nCol, nRow; in OP_Number() local 136 sal_uInt16 nCol, nRow; in OP_Label() local 199 r >> nCol >> nWidthSpaces; in OP_ColumnWidth() 351 for( SCCOL nCol = 0 ; nCol <= MAXCOL ; nCol++ ) in OP_Window1() local 358 sal_uInt16 nCol, nRow; in OP_Blank() local 378 sal_uInt8 nTab, nCol; in OP_Label123() local 394 sal_uInt8 nCol,nTab; in OP_Number123() local 411 sal_uInt8 nCol,nTab; in OP_Formula123() local 437 sal_uInt8 nCol,nTab; in OP_IEEENumber123() local [all …]
|
H A D | expop.cxx | 98 sal_uInt16 nCol = static_cast<sal_uInt16>(nEndCol); in Dimensions() local 102 aOut << nCol << nRow; // Ending Col/Row in Dimensions() 129 for( sal_uInt16 nCol = 0 ; nCol < 256 ; nCol++ ) in Colw() local 131 nWidth = pD->GetColWidth( static_cast<SCCOL>(nCol), 0 ); in Colw() 200 << GenFormByte( aAttr ) << nCol << nRow in Formula() 353 sal_uInt16 nCol, nRow; in Write() local 368 nCol = static_cast<sal_uInt16>(nScCol); in Write() 377 Number( nCol, nRow, fVal, *pPatAttr ); in Write() 384 Label( nCol, nRow, aStr, *pPatAttr ); in Write() 389 Formula( nCol, nRow, ( ScFormulaCell * ) pCell, *pPatAttr ); in Write() [all …]
|
/aoo41x/main/svx/source/table/ |
H A D | tablelayouter.cxx | 374 for( i = 0; (i <= nStep) && (nCol >= nMinCol); i++, nCol-- ) in findMergeOrigin() 560 for( nCol = 0; nCol < nColCount; nCol++ ) in LayoutTableWidth() 637 for( nCol = 1; nCol < nColCount; ++nCol ) in LayoutTableWidth() 709 sal_Int32 nCol, nRow; in LayoutTableHeight() local 716 for( nCol = 0; nCol < nColCount; ++nCol ) in LayoutTableHeight() 862 for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) in LayoutTable() local 990 for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) in ClearBorderLayout() local 1026 for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) in ResizeBorderLayout() local 1067 for( sal_Int32 nCol = aPos.mnCol; nCol < nLastCol; nCol++ ) in UpdateBorderLayout() local 1122 for( sal_Int32 nCol = nFirstCol; nCol <= nLastCol; ++nCol ) in DistributeColumns() local [all …]
|
H A D | cellcursor.cxx | 210 sal_Int32 nRow, nCol; in GetMergedSelection() local 213 for( nCol = rStart.mnCol; nCol <= rEnd.mnCol; nCol++ ) in GetMergedSelection() 320 for( sal_Int32 nNewCol = nCol + nNewCols; nNewCol > nCol; --nNewCol ) in split_column() 400 for( sal_Int32 nCol = mnRight; nCol >= mnLeft; --nCol ) in split_horizontal() local 413 for( nCol = mnLeft; nCol <= mnRight; ++nCol ) in split_row() 443 for( nCol = 0; nCol < nColCount; ++nCol ) in split_row() 461 if( (nCol >= mnLeft) && (nCol <= mnRight) ) in split_row() 489 --nCol; in split_row() 495 mxTable->merge( nCol, nRow, nColSpan + 1, (rLeftOvers[nCol] + nNewRows) + 1 ); in split_row() 502 --nCol; in split_row() [all …]
|
H A D | tablemodel.cxx | 160 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in TableModel() local 646 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in notifyModification() local 655 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in notifyModification() local 776 for( sal_Int32 nCol = 0; nCol < nIndex; ++nCol ) in insertColumns() local 859 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in removeColumns() local 952 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in insertRows() local 1022 for( sal_Int32 nCol = 0; nCol < nColCount; ++nCol ) in removeRows() local 1109 while( nCol > 0 ) in optimize() 1142 nCol--; in optimize() 1149 for( nCol = 0; (nCol < getColumnCountImpl()) && bEmpty; nCol++ ) in optimize() [all …]
|
/aoo41x/main/sc/inc/ |
H A D | address.hxx | 144 #define VALIDCOL(nCol) (ValidCol(nCol)) argument 147 #define VALIDCOLROW(nCol,nRow) (ValidColRow(nCol,nRow)) argument 154 return static_cast<SCCOL>(0) <= nCol && nCol <= MAXCOL; in ValidCol() 184 return nCol < 0 ? 0 : (nCol > MAXCOL ? MAXCOL : nCol); in SanitizeCol() 248 SCCOL nCol; member in ScAddress 294 : nRow(r.nRow), nCol(r.nCol), nTab(r.nTab) in ScAddress() 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 <() [all …]
|
H A D | bigrange.hxx | 39 sal_Int32 nCol; member in ScBigAddress 47 : nRow( r.nRow ), nCol( r.nCol ), nTab( r.nTab ) {} in ScBigAddress() 72 { nCol = r.nCol; nRow = r.nRow; nTab = r.nTab; return *this; } in operator =() 76 { return nCol == r.nCol && nRow == r.nRow && nTab == r.nTab; } in operator ==() 88 if ( r.nCol < nCol ) in PutInOrder() 90 nTmp = r.nCol; in PutInOrder() 91 r.nCol = nCol; in PutInOrder() 92 nCol = nTmp; in PutInOrder() 112 ((0 <= nCol && nCol <= MAXCOL) in IsValid() 113 || nCol == nInt32Min || nCol == nInt32Max) && in IsValid() [all …]
|
/aoo41x/main/basic/source/comp/ |
H A D | scanner.cxx | 56 nCol = 0; in SbiScanner() 209 nCol1 = nCol; in NextSym() 221 nCol++; in NextSym() 233 short n = nCol; in NextSym() 235 nCol++; in NextSym() 278 nCol++; in NextSym() 369 nCol++; in NextSym() 376 pLine++; nCol++; in NextSym() 393 pLine--; nCol--; nCol1 = nCol-1; aSym = '&'; return SYMBOL; in NextSym() 488 pLine += n-1; nCol = nCol + n; in NextSym() [all …]
|
/aoo41x/main/sw/source/filter/writer/ |
H A D | wrtswtbl.cxx | 308 if( nCol > 0 ) in GetRawWidth() 319 if( nCol==0 ) in GetLeftSpace() 358 nWidth -= GetLeftSpace( nCol ) + GetRightSpace( nCol, nColSpan ); in GetAbsWidth() 495 sal_uInt16 nCol; in CollectTableRowsCols() local 655 sal_uInt16 nCol = nStartCol; in FillTableRowsCols() local 673 sal_uInt16 nOldCol = nCol; in FillTableRowsCols() 813 sal_uInt16 nRow, nCol; in SwWriteTable() local 818 for( nCol=0; nCol<nCols; nCol++ ) in SwWriteTable() 849 for( nCol=0; nCol<nCols; nCol++ ) in SwWriteTable() 861 ( nCol>0 && pLayoutCnts == pLayoutInfo->GetCell(nRow,nCol-1) in SwWriteTable() [all …]
|
/aoo41x/main/sc/source/filter/rtf/ |
H A D | eeimpars.cxx | 162 SCCOL nCol = nStartCol + pE->nCol + nMergeColAdd; in WriteToDocument() local 167 while ( nCol <= MAXCOL && mpDoc->HasAttrib( nCol, nRow, nTab, in WriteToDocument() 168 nCol, nRow, nTab, HASATTR_OVERLAPPED ) ) in WriteToDocument() 170 nCol++; in WriteToDocument() 176 pE->nCol = nCol; in WriteToDocument() 178 if ( ValidCol(nCol) && ValidRow(nRow) ) in WriteToDocument() 310 nCol, nRO , nTab, in WriteToDocument() 396 ScAddress( nCol, nRow, nTab ) ); in WriteToDocument() 411 for ( SCCOL nCol = nStartCol; nCol <= nEndCol; nCol++ ) in WriteToDocument() local 445 SCCOL nCol = pE->nCol; in WriteToDocument() local [all …]
|
/aoo41x/main/sc/source/ui/miscdlgs/ |
H A D | autofmt.cxx | 607 void ScAutoFmtPreview::DrawString( size_t nCol, size_t nRow ) in DrawString() argument 769 if ( (nCol == 0) || (nRow == 0) ) in DrawString() 795 for( size_t nCol = 0; nCol < 5; ++nCol ) in DrawStrings() local 796 DrawString( nCol, nRow ); in DrawStrings() 807 for( size_t nCol = 0; nCol < 5; ++nCol ) in DrawBackground() local 891 for( size_t nCol = 0; nCol < 5; ++nCol ) in CalcLineMap() local 897 maArray.SetCellStyleLeft( nCol, nRow, aStyle ); in CalcLineMap() 899 maArray.SetCellStyleRight( nCol, nRow, aStyle ); in CalcLineMap() 901 maArray.SetCellStyleTop( nCol, nRow, aStyle ); in CalcLineMap() 906 maArray.SetCellStyleTLBR( nCol, nRow, aStyle ); in CalcLineMap() [all …]
|