/trunk/main/sc/inc/ |
H A D | table.hxx | 212 SCSIZE GetCellCount(SCCOL nCol) const; 314 SCSIZE GetPatternCount( SCCOL nCol ); 327 double GetValue( SCCOL nCol, SCROW nRow ); 448 sal_Bool HasData( SCCOL nCol, SCROW nRow ); 520 void GetBorderLines( SCCOL nCol, SCROW nRow, 628 long GetNeededSize( SCCOL nCol, SCROW nRow, 651 sal_uInt16 GetColWidth( SCCOL nCol ) const; 655 sal_uLong GetColOffset( SCCOL nCol ) const; 675 void ShowCol(SCCOL nCol, bool bShow); 695 sal_uInt8 GetColFlags( SCCOL nCol ) const; [all …]
|
/trunk/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 …]
|
/trunk/main/sc/source/core/tool/ |
H A D | chartarr.cxx | 144 SCSIZE nCol; in CreateMemChartSingle() local 252 for (nCol=0; nCol<nColCount; nCol++) in CreateMemChartSingle() 268 pDocument->GetNumberFormat( aCols[nCol], in CreateMemChartSingle() 288 for (nCol=0; nCol<nColCount; nCol++) in CreateMemChartSingle() 297 for (nCol=0; nCol<nColCount; nCol++) in CreateMemChartSingle() 307 ScAddress aPos( aCols[ nCol ], 0, 0 ); in CreateMemChartSingle() 311 pMemChart->SetColText( static_cast<short>(nCol), aString); in CreateMemChartSingle() 378 SCSIZE nCol = 0; in CreateMemChartMulti() local 413 for ( nCol = 0; nCol < nColCount; nCol++ ) in CreateMemChartMulti() 486 for ( nCol = 0; nCol < nColCount; nCol++ ) in CreateMemChartMulti() [all …]
|
H A D | consoli.cxx | 96 pData[nCount].nCol = nCol; in AddEntry() 296 for (SCCOL nCol=nStartCol; nCol<=nCol2; nCol++) in AddFields() local 535 SCCOL nCol; in AddData() local 568 for (nCol=nStartCol; nCol<=nCol2; nCol++) in AddData() 583 pDestCols[nCol-nStartCol] = nPos; in AddData() 613 for (nCol=nCol1; nCol<=nCol2; nCol++) in AddData() 615 SCCOL nArrX = nCol-nCol1; in AddData() 702 SCCOL nStartCol = nCol; in OutputToDocument() 714 nCol = nStartCol; in OutputToDocument() 776 aSRef.nCol = aRef.nCol; in OutputToDocument() [all …]
|
H A D | chartpos.cxx | 194 SCCOL nCol, nCol1, nCol2; in GlueState() local 202 for ( nCol = nCol1; nCol <= nCol2; nCol++ ) in GlueState() 212 for ( nCol = 0; bGlue && nCol < nC; nCol++ ) in GlueState() 221 if ( nRow > 0 && nCol > 0 ) in GlueState() 240 for ( nCol = 0; bGlue && nCol < nC; nCol++, p+=nR ) in GlueState() 244 if ( nCol > 0 && nRow > 0 ) in GlueState() 247 nCol = nC; in GlueState() 370 SCCOL nCol, nCol1, nCol2; in CreatePositionMap() local 399 for ( nCol = nCol1; nCol <= nCol2; ++nCol, ++nInsCol ) in CreatePositionMap() 521 SCCOL nCol; in ScChartPositionMap() local [all …]
|
H A D | detfunc.cxx | 323 SanitizeCol( nCol ); in GetDrawPos() 333 ++nCol; in GetDrawPos() 348 nCol = nCol + pMerge->GetColMerge(); in GetDrawPos() 350 ++nCol; in GetDrawPos() 380 return GetDrawRect( nCol, nRow, nCol, nRow ); in GetDrawRect() 636 return InsertArrow( nCol, nRow, in DrawEntry() 1237 nResult = InsertSuccLevel( nCol, nRow, nCol, nRow, aData, 0 ); in ShowSucc() 1269 sal_uInt16 nLevelCount = FindSuccLevel( nCol, nRow, nCol, nRow, 0, 0 ); in DeleteSucc() 1271 FindSuccLevel( nCol, nRow, nCol, nRow, 0, nLevelCount ); // loeschen in DeleteSucc() 1365 SCCOL nCol; in MarkInvalid() local [all …]
|
H A D | refupdat.cxx | 569 Expand( rRef.Ref1.nCol, rRef.Ref2.nCol, nCol1, nDx ); in Update() 574 ((rRef.Ref1.nCol >= nCol1 in Update() 616 ((rRef.Ref1.nCol >= nCol1 in Update() 660 if (oldCol1 != rRef.Ref1.nCol in Update() 663 || oldCol2 != rRef.Ref2.nCol in Update() 801 if (oldCol1 != rRef.Ref1.nCol in Move() 804 || oldCol2 != rRef.Ref2.nCol in Move() 886 if ( rRef.Ref1.nCol >= rSource.aStart.Col() && rRef.Ref2.nCol <= rSource.aEnd.Col() && in UpdateTranspose() 912 rRef.Ref1.nCol == rArea.aStart.Col() && rRef.Ref2.nCol == rArea.aEnd.Col() && in UpdateGrow() 916 rRef.Ref1.nCol >= rArea.aStart.Col() && rRef.Ref2.nCol <= rArea.aEnd.Col() && in UpdateGrow() [all …]
|
H A D | token.cxx | 530 return aTemp1.Ref1.nCol == aTemp2.Ref1.nCol && in TextEqual() 534 aTemp1.Ref2.nCol == aTemp2.Ref2.nCol && in TextEqual() 1405 int nCol = -1, nRow = 0; in MergeArray() local 1484 if( nCol < 0 ) in MergeArray() 1519 if( nCol <= 0 || nRow <= 0 ) in MergeArray() 1558 nCol++; in MergeArray() 1656 SCCOL nCol = 0; in GetAdjacentExtendOfOuterFuncRefs() local 1718 if ( rRef.nCol == nCol in GetAdjacentExtendOfOuterFuncRefs() 1735 if ( rRef.nCol == nCol in GetAdjacentExtendOfOuterFuncRefs() 1761 if ( rRef.Ref1.nCol == nCol && in GetAdjacentExtendOfOuterFuncRefs() [all …]
|
/trunk/main/sc/source/filter/rtf/ |
H A D | rtfparse.cxx | 136 SCCOL nCol = *pCol; in SeekTwips() local 141 else if ( nCol != 0 && (((*pColTwips)[nCol-1] + SC_RTFTWIPTOL) >= nTwips) ) in SeekTwips() 154 SCCOL nCol = 0; in ColAdjust() local 159 if ( pE->nCol == 0 ) in ColAdjust() 160 nCol = 0; in ColAdjust() 161 pE->nCol = nCol; in ColAdjust() 167 if ( ++nCol <= pE->nCol ) in ColAdjust() 168 nCol = pE->nCol + 1; // verschobene Zell-X in ColAdjust() 169 pE->nColOverlap = nCol - pE->nCol; // merged cells ohne \clmrg in ColAdjust() 172 nColMax = nCol; in ColAdjust() [all …]
|
H A D | rtfexp.cxx | 133 SCCOL nCol; in WriteTab() local 135 for ( nCol = aRange.aStart.Col(); nCol <= nEndCol; nCol++ ) in WriteTab() 137 pCellX[nCol+1] = pCellX[nCol] + pDoc->GetColWidth( nCol, nTab ); in WriteTab() 154 SCCOL nCol; in WriteRow() local 156 for ( nCol = aRange.aStart.Col(); nCol <= nEndCol; nCol++ ) in WriteRow() 185 if ( (nCol & 0x0F) == 0x0F ) in WriteRow() 191 for ( nCol = aRange.aStart.Col(); nCol <= nEndCol; nCol++ ) in WriteRow() 193 WriteCell( nTab, nRow, nCol ); in WriteRow() 204 void ScRTFExport::WriteCell( SCTAB nTab, SCROW nRow, SCCOL nCol ) in WriteCell() argument 206 const ScPatternAttr* pAttr = pDoc->GetPattern( nCol, nRow, nTab ); in WriteCell() [all …]
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | chart2uno.cxx | 315 for (SCCOL nCol = 0; !bFoundValues && nCol < nAllColCount; ++nCol) in Chart2PositionMap() local 377 for (SCCOL nCol = 0; nCol < nAllColCount; ++nCol) in Chart2PositionMap() local 622 for (SCCOL nCol = nCol1; nCol <= nCol2; ++nCol) in glueState() local 633 for (SCCOL nCol = 0; bGlue && nCol < nC; ++nCol) in glueState() local 660 for (SCCOL nCol = 0; bGlue && nCol < nC; ++nCol, i += nR) in glueState() local 729 SCCOL nCol1 = s.nCol, nCol2 = e.nCol; in createPositionMap() 738 for (SCCOL nCol = nCol1; nCol <= nCol2; ++nCol, ++nInsCol) in createPositionMap() local 770 aCellData.nCol = nCol; in createPositionMap() 2540 for (SCCOL nCol = aRange.aStart.Col(); nCol <= aRange.aEnd.Col(); ++nCol) in BuildDataCache() local 3123 for (SCCOL nCol = aRange.aStart.Col(); nCol <= aRange.aEnd.Col(); ++nCol) in operator ()() local [all …]
|
/trunk/main/svx/source/tbxctrls/ |
H A D | layctrl.cxx | 121 nCol = 0; in TableWindow() 154 nCol = 0; in MouseMove() 226 nMaxCol = nCol; in UpdateSize_Impl() 230 nMinCol = nCol; in UpdateSize_Impl() 252 nCol = nNewCol; in UpdateSize_Impl() 376 if ( i < nCol ) in Paint() 518 nCol = 0; in ColumnsWindow() 547 nCol = 0; in MouseMove() 603 nMaxCol = nCol; in UpdateSize_Impl() 702 if ( i < nCol ) in Paint() [all …]
|
/trunk/main/sc/source/ui/docshell/ |
H A D | docsh8.cxx | 360 SCCOL nCol = 0; in DBaseImport() local 366 ++nCol; in DBaseImport() 430 for ( SCCOL nCol = nFirstCol; nCol <= nLastCol; nCol++ ) in lcl_GetColumnTypes() local 675 rDocShell.PostPaint( nCol, nFirstRow, nTab, nCol, nFirstRow, nTab, PAINT_GRID ); in lcl_GetColumnTypes() 808 long nCol; in DBaseExport() local 810 for (nCol=0; nCol<nColCount; nCol++) in DBaseExport() 816 aAny <<= pColNames[nCol]; in DBaseExport() 819 aAny <<= pColTypes[nCol]; in DBaseExport() 825 aAny <<= pColScales[nCol]; in DBaseExport() 879 for (nCol=0; nCol<nColCount; nCol++) in DBaseExport() [all …]
|
H A D | impex.cxx | 841 SCCOL nCol = nStartCol; in Text2Doc() local 864 if (nCol>nEndCol) nEndCol = nCol; in Text2Doc() 872 ++nCol; in Text2Doc() 1424 SCCOL nCol; in Doc2Text() local 1437 for (nCol = nStartCol; nCol <= nEndCol; nCol++) in Doc2Text() 1507 if( nCol < nEndCol ) in Doc2Text() 1549 SCCOL nCol = nStartCol; in Sylk2Doc() local 1588 ( nCol < nStartCol || nCol > nEndCol in Sylk2Doc() 1597 nEndCol = nCol; in Sylk2Doc() 1787 SCCOL nCol; in Doc2Sylk() local [all …]
|
/trunk/main/sc/source/filter/html/ |
H A D | htmlpars.cxx | 531 for ( nCol = 0; nCol <= nColsPerRow; ++nCol, nOff = nOff + nWidth ) in SetWidths() 562 nCol = pE->nCol - nColCntStart; in SetWidths() 600 for ( nCol = 0; nCol < nColsPerRow; nCol++ ) in SetWidths() 612 for ( nCol = 0; nCol < nColsPerRow; nCol++ ) in SetWidths() 618 for ( nCol = 1; nCol <= nColsPerRow; nCol++ ) in SetWidths() 620 pOffsets[nCol] = pOffsets[nCol-1] + pWidths[nCol-1]; in SetWidths() 623 for ( nCol = 0; nCol <= nColsPerRow; nCol++ ) in SetWidths() 681 SCCOL nCol = pE->nCol; in Colonize() local 684 if ( nCol < pE->nCol ) in Colonize() 686 nCol = pE->nCol - nColCntStart; in Colonize() [all …]
|
/trunk/main/chart2/source/tools/ |
H A D | InternalData.cxx | 142 for( sal_Int32 nCol=0; nCol < nMax; ++nCol ) in setData() local 144 m_aData[nDataIdx] = rDataInRows[nRow][nCol]; in setData() 293 for( int nCol=0; nCol<m_nColumnCount; ++nCol ) in enlargeData() local 320 int nCol=0; in insertColumn() local 321 for( ; nCol<=nAfterIndex; ++nCol ) in insertColumn() 322 aNewData[ ::std::slice( nCol, m_nRowCount, nNewColumnCount ) ] = in insertColumn() 325 for( ++nCol; nCol<nNewColumnCount; ++nCol ) in insertColumn() 326 aNewData[ ::std::slice( nCol, m_nRowCount, nNewColumnCount ) ] = in insertColumn() 408 int nCol=0; in deleteColumn() local 409 for( ; nCol<nAtIndex; ++nCol ) in deleteColumn() [all …]
|
/trunk/main/svtools/source/contnr/ |
H A D | svtabbx.cxx | 209 if( nCol != 0xffff ) in InsertEntryToColumn() 211 while( nCol ) in InsertEntryToColumn() 214 nCol--; in InsertEntryToColumn() 236 if( nCol != 0xffff ) in InsertEntryToColumn() 238 while( nCol ) in InsertEntryToColumn() 241 nCol--; in InsertEntryToColumn() 340 if( nCol == 0xffff ) in SetEntryText() 352 if( !nCol ) in SetEntryText() 362 nCol--; in SetEntryText() 468 if ( nCol == 0 ) in GetTabEntryText() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | documen3.cxx | 1155 SCCOL nCol; in SearchAndReplace() local 1167 nCol = 0; in SearchAndReplace() 1178 nCol = rCol; in SearchAndReplace() 1307 SCCOL nCol; in HasAutoFilter() local 1315 for ( nCol=aParam.nCol1; nCol<=aParam.nCol2 && bHasAutoFilter; nCol++ ) in HasAutoFilter() 1728 SCCOL nCol = 0; in lcl_SnapHor() local 1737 ++nCol; in lcl_SnapHor() 1743 rStartCol = nCol; in lcl_SnapHor() 1795 SCCOL nCol = 0; in SnapVisArea() local 1961 SCCOL nCol; in DoMergeContents() local [all …]
|
H A D | scdpoutputimpl.cxx | 52 for( SCCOL nCol = 0; nCol < (SCCOL)mnCols.size()-1; nCol ++ ) in OutputDataArea() local 56 if ( nCol < (SCCOL)mnCols.size()-2) in OutputDataArea() 58 for ( SCROW i = nCol%2; i < (SCROW)mnRows.size()-2; i +=2 ) in OutputDataArea() 59 OutputBlockFrame( mnCols[nCol], mnRows[i], mnCols[nCol+1]-1, mnRows[i+1]-1 ); in OutputDataArea() 61 …OutputBlockFrame( mnCols[nCol], mnRows[mnRows.size()-2], mnCols[nCol+1]-1, mnRows[mnRows.size()-1… in OutputDataArea() 66 OutputBlockFrame( mnCols[nCol], mnRows[i], mnCols[nCol+1]-1, mnRows[i+1]-1 ); in OutputDataArea() 70 OutputBlockFrame( mnCols[nCol], mnRows.front(), mnCols[nCol+1]-1, mnRows.back()-1, bAllRows ); in OutputDataArea() 120 sal_Bool OutputImpl::AddCol( SCCOL nCol ) in AddCol() argument 123 if ( !mbNeedLineCols[ nCol - mnDataStartCol ] ) in AddCol() 125 mbNeedLineCols[ nCol - mnDataStartCol ] = true; in AddCol() [all …]
|
/trunk/main/svtools/source/brwbox/ |
H A D | brwbox2.cxx | 711 ++nCol ) in Paint() 985 for ( nCol = 0; nCol < pCols->Count(); ++nCol ) in ImplPaintData() 1128 for ( sal_uInt16 nCol = 0; nCol < pCols->Count(); ++nCol ) in ImplPaintData() local 1338 nCol < pCols->Count() && nCol < nFirstCol; in UpdateScrollbars() 1339 ++nCol ) in UpdateScrollbars() 1407 ++nCol ) in GetFrozenWidth() 1429 for ( nCol = 0; in FrozenColCount() 1431 ++nCol ) in FrozenColCount() 1433 return nCol; in FrozenColCount() 1505 for ( sal_uInt16 nCol = 0; nCol < pCols->Count() && nX < nWidth; ++nCol ) in MouseButtonDown() local [all …]
|
/trunk/main/svx/source/table/ |
H A D | tablertfexporter.cxx | 65 void WriteCell( sal_Int32 nCol, sal_Int32 nRow ); 107 for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) try in Write() local 109 Reference< XPropertySet > xSet( xColumns->getByIndex(nCol), UNO_QUERY_THROW ); in Write() 149 for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) in WriteRow() local 151 CellRef xCell( dynamic_cast< Cell* >( mxTable->getCellByPosition( nCol, nRow ).get() ) ); in WriteRow() 178 …mrStrm << OOO_STRING_SVTOOLS_RTF_CELLX << ByteString::CreateFromInt32( aColumnStart[nCol] ).GetBuf… in WriteRow() 179 if ( (nCol & 0x0F) == 0x0F ) in WriteRow() 185 for( sal_Int32 nCol = 0; nCol < nColCount; nCol++ ) in WriteRow() local 187 WriteCell( nCol, nRow ); in WriteRow() 198 void SdrTableRtfExporter::WriteCell( sal_Int32 nCol, sal_Int32 nRow ) in WriteCell() argument [all …]
|
/trunk/main/sw/inc/ |
H A D | htmltbl.hxx | 252 sal_uInt16 nCol, sal_uInt16 nColSpan, 279 sal_uInt16 GetLeftCellSpace( sal_uInt16 nCol, sal_uInt16 nColSpan, 281 sal_uInt16 GetRightCellSpace( sal_uInt16 nCol, sal_uInt16 nColSpan, 300 inline SwHTMLTableLayoutColumn *GetColumn( sal_uInt16 nCol ) const; 433 if( nCol==0 ) in GetInhCellSpace() 435 if( nCol+nColSpan==nCols ) in GetInhCellSpace() 443 return aColumns[nCol]; in GetColumn() 461 aColumns[nCol] = pCol; in SetColumn() 466 return aCells[nRow*nCols+nCol]; in GetCell() 470 sal_uInt16 nRow, sal_uInt16 nCol ) in SetCell() argument [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | viewfun2.cxx | 253 if (nCol > 0) in lcl_SeekAutoSumData() 254 --nCol; in lcl_SeekAutoSumData() 298 --nCol; in lcl_FindNextSumEntryInRow() 405 SCCOL nStartCol = nCol; in GetAutoSumArea() 407 SCCOL nEndCol = nCol; in GetAutoSumArea() 427 else if ( nCol != 0 && (eSum = lcl_IsAutoSumData( pDoc, nCol-1, nRow, nTab, in GetAutoSumArea() 431 nSeekCol = nCol - 1; in GetAutoSumArea() 525 for ( SCCOL nCol = nStartCol; nCol <= nEndCol; ++nCol ) in AutoSum() local 546 for ( SCCOL nCol = nStartCol; nCol <= nEndCol; ++nCol ) in AutoSum() local 650 for ( SCCOL nCol = nStartCol; nCol <= nEndCol; ++nCol ) in AutoSum() local [all …]
|
H A D | prevloc.cxx | 340 for (SCCOL nCol = rRange.aStart.Col(); nCol < nEndCol; nCol++) in GetOffsetPixel() local 593 SCCOL nCol; in GetTableInfo() local 597 for ( nCol=nRepeatColStart; nCol<=nRepeatColEnd; nCol++ ) in GetTableInfo() 598 if (!pDoc->ColHidden(nCol, nTab)) in GetTableInfo() 601 for ( nCol=nMainColStart; nCol<=nMainColEnd; nCol++ ) in GetTableInfo() 618 for ( nCol=nRepeatColStart; nCol<=nRepeatColEnd; nCol++ ) in GetTableInfo() 626 pColInfo[nColPos].Set( sal_False, nCol, in GetTableInfo() 637 for ( nCol=nMainColStart; nCol<=nMainColEnd; nCol++ ) in GetTableInfo() 645 pColInfo[nColPos].Set( sal_False, nCol, in GetTableInfo() 747 SCCOL nCol(0); in GetHeaderCellOutputRect() local [all …]
|
/trunk/main/sc/source/filter/qpro/ |
H A D | qpro.cxx | 48 sal_uInt8 nCol, nDummy; in readSheet() local 63 *mpStream >> nCol >> nDummy >> nRow >> nStyle >> nDummy; in readSheet() 69 pStyle->SetFormat( pDoc, nCol, nRow, nTab, nStyle ); in readSheet() 82 *mpStream >> nCol >> nDummy >> nRow >> nStyle; in readSheet() 84 pStyle->SetFormat( pDoc, nCol, nRow, nTab, nStyle ); in readSheet() 89 *mpStream >> nCol >> nDummy >> nRow >> nStyle >> nValue; in readSheet() 92 pStyle->SetFormat( pDoc, nCol, nRow, nTab, nStyle ); in readSheet() 99 *mpStream >> nCol >> nDummy >> nRow >> nStyle >> nValue; in readSheet() 102 pStyle->SetFormat( pDoc, nCol, nRow, nTab, nStyle ); in readSheet() 111 ScAddress aAddr( nCol, nRow, nTab ); in readSheet() [all …]
|