/trunk/main/cppcanvas/inc/cppcanvas/ |
H A D | color.hxx | 54 inline sal_uInt8 getRed( Color::IntSRGBA nCol ) in getRed() argument 56 return static_cast<sal_uInt8>( (nCol&0xFF000000U) >> 24U ); in getRed() 59 inline sal_uInt8 getGreen( Color::IntSRGBA nCol ) in getGreen() argument 61 return static_cast<sal_uInt8>( (nCol&0x00FF0000U) >> 16U ); in getGreen() 64 inline sal_uInt8 getBlue( Color::IntSRGBA nCol ) in getBlue() argument 66 return static_cast<sal_uInt8>( (nCol&0x0000FF00U) >> 8U ); in getBlue() 69 inline sal_uInt8 getAlpha( Color::IntSRGBA nCol ) in getAlpha() argument 71 return static_cast<sal_uInt8>( nCol&0x000000FFU ); in getAlpha()
|
/trunk/main/sc/source/ui/docshell/ |
H A D | externalrefmgr.cxx | 259 setCachedCell(nCol, nRow); in setCell() 268 return getEmptyOrNullToken(nCol, nRow); in getCell() 400 setCachedCellRange(nCol, nRow, nCol, nRow); in setCachedCell() 422 return maCachedRanges.In(ScRange(nCol, nRow, 0, nCol, nRow, 0)); in isInCachedRanges() 426 SCCOL nCol, SCROW nRow) const in getEmptyOrNullToken() argument 428 if (isInCachedRanges(nCol, nRow)) in getEmptyOrNullToken() 600 SCCOL nCol = *itrCol; in getCellRangeData() 633 for (SCCOL nCol = nDataCol1; nCol <= nDataCol2; ++nCol) in getCellRangeData() local 729 pTableData->setCachedCell(nCol, nRow); in setCellData() 770 for (SCCOL nCol = nCol1; nCol <= nCol2; ++nCol) in setCellRangeData() local [all …]
|
H A D | docsh5.cxx | 117 const SCCOL nCol, in lcl_GetDBNearCursor() argument 137 && nCol+1 >= nStartCol in lcl_GetDBNearCursor() 138 && nCol <= nEndCol+1 in lcl_GetDBNearCursor() 147 else if ( nCol < nStartCol || nCol > nEndCol || nRow < nStartRow || nRow > nEndRow ) in lcl_GetDBNearCursor() 163 const SCCOL nCol = rMarked.aStart.Col(); in GetDBData() local 167 SCCOL nStartCol = nCol; in GetDBData() 206 nStartCol = nCol; in GetDBData() 277 nStartCol = nCol; in GetDBData() 614 ScArea aDestArea( rParam.nTab, rParam.nCol, rParam.nRow, in DoConsolidate() 615 rParam.nCol+nColSize-1, rParam.nRow+nRowSize-1 ); in DoConsolidate() [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | documen4.cxx | 82 aRefData.nCol = nVCol; in Solver() 92 aRefData.nCol = nFCol; in Solver() 169 aRefData.nCol = nCol1; in InsertMatrixFormula() 340 return pTab[nTab]->GetNextSpellingCell( nCol, nRow, bInSel, rMark ); in GetNextSpellingCell() 355 SCCOL nCol, SCROW nRow, SCTAB nTab, in ReplaceStyle() argument 428 sal_Int32 ScDocument::GetMaxStringLen( SCTAB nTab, SCCOL nCol, in GetMaxStringLen() argument 438 SCCOL nCol, in GetMaxNumberStringLen() argument 442 return pTab[nTab]->GetMaxNumberStringLen( nPrecision, nCol, in GetMaxNumberStringLen() 610 SCCOL nCol, SCROW nRow, SCTAB nTab, sal_uInt16 nWhich ) const in GetEffItem() argument 612 const ScPatternAttr* pPattern = GetPattern( nCol, nRow, nTab ); in GetEffItem() [all …]
|
H A D | cell2.cxx | 185 return rData.nCol; in lcl_GetCol() 652 r.aStart.Set( aProv.Ref1.nCol, in HasOneReference() 655 r.aEnd.Set( aProv.Ref2.nCol, in HasOneReference() 749 SCCOL nCol = aPos.Col(); in UpdateReference() local 764 if (nCol >= nCol1) in UpdateReference() 766 nCol = sal::static_int_cast<SCCOL>( nCol + nDx ); in UpdateReference() 768 nCol = 0; in UpdateReference() 770 nCol = MAXCOL; in UpdateReference() 771 aPos.SetCol( nCol ); in UpdateReference() 775 if ( nDy && nCol >= nCol1 && nCol <= nCol2 && in UpdateReference() [all …]
|
/trunk/main/sc/source/filter/html/ |
H A D | htmlexp.cxx | 714 SCCOL nCol; in WriteTables() local 715 for ( nCol=nStartCol; nCol<=nEndCol; nCol++ ) in WriteTables() 717 if ( !pDoc->ColHidden(nCol, nTab) ) in WriteTables() 736 for ( nCol=nStartCol; nCol<=nEndCol; nCol++ ) in WriteTables() 738 if ( pDoc->ColHidden(nCol, nTab) ) in WriteTables() 743 ToPixel( pDoc->GetColWidth( nCol, nTab ) ) ); in WriteTables() 818 ScAddress aPos( nCol, nRow, nTab ); in WriteCell() 888 nC = nC + nCol; in WriteCell() 889 for ( jC=nCol, v=0; jC<nC; jC++ ) in WriteCell() 894 nWidthPixel = ToPixel( pDoc->GetColWidth( nCol, nTab ) ); in WriteCell() [all …]
|
/trunk/main/sc/source/core/inc/ |
H A D | jumpmatrix.hxx | 117 void SetJump( SCSIZE nCol, SCSIZE nRow, double fBool, in SetJump() argument 121 pJump[ (sal_uLong)nCol * nRows + nRow ]. in SetJump() 124 void GetJump( SCSIZE nCol, SCSIZE nRow, double& rBool, in GetJump() argument 130 nCol = 0; in GetJump() 134 nCol = 0; in GetJump() 135 else if (nRows == 1 && nCol < nCols) in GetJump() 137 else if (nCols <= nCol || nRows <= nRow) in GetJump() 140 nCol = 0; in GetJump() 143 pJump[ (sal_uLong)nCol * nRows + nRow ]. in GetJump()
|
/trunk/main/sc/source/filter/inc/ |
H A D | dif.hxx | 182 void Apply( ScDocument&, const SCCOL nCol, const SCTAB nTab, const ScPatternAttr& ); 183 void Apply( ScDocument &rDoc, const SCCOL nCol, const SCTAB nTab ); 204 inline void SetLogical( const SCCOL nCol, const SCROW nRow ); 205 void SetNumFormat( const SCCOL nCol, const SCROW nRow, const sal_uInt32 nNumFormat ); 210 inline void DifAttrCache::SetLogical( const SCCOL nCol, const SCROW nRow ) in SetLogical() argument 212 DBG_ASSERT( ValidCol(nCol), "-DifAttrCache::SetLogical(): Col zu gross!" ); in SetLogical() 215 if( !ppCols[ nCol ] ) in SetLogical() 216 ppCols[ nCol ] = new DifColumn; in SetLogical() 217 ppCols[ nCol ]->SetLogical( nRow ); in SetLogical()
|
/trunk/main/sc/source/core/tool/ |
H A D | compiler.cxx | 1429 if( aRef.Ref1.nCol == 0 && aRef.Ref2.nCol >= MAXCOL ) in MakeRefStr() 1630 if( aRef.Ref1.nCol == 0 && aRef.Ref2.nCol >= MAXCOL ) in MakeRefStr() 1645 if( rRef.Ref1.nCol != rRef.Ref2.nCol || in MakeRefStr() 1756 if (aRef.Ref1.nCol == 0 && aRef.Ref2.nCol >= MAXCOL) in makeExternalRefStr() 4321 SCCOL nCols = rRef.Ref2.nCol - rRef.Ref1.nCol; in UpdateReference() 4329 if (rRef.Ref2.nCol - rRef.Ref1.nCol != nCols || in UpdateReference() 4390 SCCOL nCols = rRef.Ref2.nCol - rRef.Ref1.nCol; in UpdateReference() 4406 if (rRef.Ref2.nCol - rRef.Ref1.nCol != nCols || in UpdateReference() 4517 rRef.Ref1.nCol = aBkp.Ref1.nCol; in UpdateSharedFormulaReference() 4537 rRef.Ref2.nCol = aBkp.Ref2.nCol; in UpdateSharedFormulaReference() [all …]
|
/trunk/main/sc/source/filter/lotus/ |
H A D | tool.cxx | 77 void PutFormString( SCCOL nCol, SCROW nRow, SCTAB nTab, sal_Char* pString ) in PutFormString() argument 114 pDoc->ApplyAttr( nCol, nRow, nTab, *pJustify ); in PutFormString() 116 pDoc->PutCell( nCol, nRow, nTab, pZelle, ( sal_Bool ) sal_True ); in PutFormString() 122 void SetFormat( SCCOL nCol, SCROW nRow, SCTAB nTab, sal_uInt8 nFormat, sal_uInt8 nSt ) in SetFormat() argument 125 pDoc->ApplyAttr( nCol, nRow, nTab, *( pValueFormCache->GetAttr( nFormat, nSt ) ) ); in SetFormat() 131 pDoc->ApplyAttr( nCol, nRow, nTab, aAttr ); in SetFormat() 401 LotusRange::LotusRange( SCCOL nCol, SCROW nRow ) in LotusRange() argument 403 nColStart = nColEnd = nCol; in LotusRange() 489 pSingRef->nCol = pLR->nColStart; in Append() 497 pSingRef->nCol = pLR->nColEnd; in Append() [all …]
|
H A D | lotform.cxx | 226 if( nCol & 0x8000 ) in LotusRelToScRel() 229 if( nCol & 0x0080 ) in LotusRelToScRel() 230 nCol |= 0xFF00; in LotusRelToScRel() 232 nCol &= 0x00FF; in LotusRelToScRel() 239 rSRD.nCol = static_cast< SCsCOL >( nCol & 0x00FF ); in LotusRelToScRel() 304 sal_uInt8 nTab, nCol; in ReadSRD() local 309 Read( nCol ); in ReadSRD() 314 rSRD.nCol = static_cast< SCsCOL >( nCol ); in ReadSRD() 480 sal_uInt16 nCol, nRow; in Convert() local 481 Read( nCol ); in Convert() [all …]
|
/trunk/main/sc/inc/ |
H A D | chartarr.hxx | 58 const String& GetColText(short nCol) const { return pColText[nCol]; } in GetColText() 60 double GetData(short nCol, short nRow) const { return pData[nCol * nRowCnt + nRow]; } in GetData() argument 61 … void SetData(short nCol, short nRow, const double& rVal) { pData[nCol * nRowCnt + nRow] = rVal; } in SetData() argument 62 void SetColText(short nCol, const String& rText) { pColText[nCol] = rText; } in SetColText() argument
|
/trunk/main/sw/source/filter/html/ |
H A D | htmltabw.cxx | 276 sal_uInt16 nCol = pCell->GetCol(); in OutTableCell() local 283 SwWriteTableCol *pCol = aCols[nCol]; in OutTableCell() 358 nWidth = GetAbsWidth( nCol, nColSpan ); in OutTableCell() 477 nBWidth = GetRawWidth( nCol, nColSpan ); in OutTableCell() 483 nTWidth = GetAbsWidth( nCol, nColSpan ); in OutTableCell() 485 nLSub = GetLeftSpace( nCol ); in OutTableCell() 612 sal_uInt16 nCol; in Write() local 613 for( nCol=1; nCol<aCols.Count(); nCol++ ) in Write() 615 SwWriteTableCol *pNextCol = aCols[nCol]; in Write() 838 for( nCol=0; nCol<nCols; nCol++ ) in Write() [all …]
|
/trunk/main/writerfilter/source/dmapper/ |
H A D | PropertyMap.cxx | 577 for( sal_Int32 nCol = 0; nCol <= m_nColumnCount; ++nCol) in ApplyColumnProperties() local 579 nColSum += m_aColWidth[nCol]; in ApplyColumnProperties() 580 if(nCol) in ApplyColumnProperties() 581 nColSum += m_aColDistance[nCol -1]; in ApplyColumnProperties() 590 for( sal_Int32 nCol = 0; nCol <= m_nColumnCount; ++nCol) in ApplyColumnProperties() local 593 pColumn[nCol].LeftMargin = nCol ? m_aColDistance[nCol - 1 ] / 2 : 0; in ApplyColumnProperties() 594 pColumn[nCol].RightMargin = nCol == m_nColumnCount ? 0 : m_aColDistance[nCol] / 2; in ApplyColumnProperties() 595 …pColumn[nCol].Width = sal_Int32((double( m_aColWidth[nCol] + pColumn[nCol].RightMargin + pColumn[n… in ApplyColumnProperties() 596 nColSum += pColumn[nCol].Width; in ApplyColumnProperties()
|
/trunk/main/accessibility/source/extended/ |
H A D | accessibletablistboxtable.cxx | 129 sal_uInt16 nCol = m_pTabListBox->GetCurrColumn(); in ProcessWindowEvent() local 131 m_pTabListBox->CreateAccessibleCell( nRow, nCol ); in ProcessWindowEvent() 138 if ( m_pTabListBox->IsCellCheckBox( nRow, nCol, eState ) ) in ProcessWindowEvent() 226 sal_uInt16 nCol = m_pTabListBox->GetCurrColumn(); in ProcessWindowEvent() local 228 if ( m_pTabListBox->IsCellCheckBox( nRow, nCol, eState ) ) in ProcessWindowEvent() 231 m_pTabListBox->CreateAccessibleCell( nRow, nCol ); in ProcessWindowEvent() 234 pCell->SetChecked( m_pTabListBox->IsItemChecked( pEntry, nCol ) ); in ProcessWindowEvent() 251 sal_uInt16 nCol = pData->m_nColumn; in ProcessWindowEvent() local 253 m_pTabListBox->CreateAccessibleCell( nRow, nCol ); in ProcessWindowEvent() 256 ::rtl::OUString sNewText( m_pTabListBox->GetCellText( nRow, nCol ) ); in ProcessWindowEvent() [all …]
|
/trunk/main/svtools/source/brwbox/ |
H A D | datwin.cxx | 351 sal_uInt16 nCol; in CreateBrowseEvent() local 352 for ( nCol = 0; in CreateBrowseEvent() 354 ++nCol ) in CreateBrowseEvent() 355 if ( pBox->pCols->GetObject(nCol)->IsFrozen() || nCol >= pBox->nFirstCol ) in CreateBrowseEvent() 357 nColX += pBox->pCols->GetObject(nCol)->Width(); in CreateBrowseEvent() 362 if ( nCol < pBox->pCols->Count() ) in CreateBrowseEvent() 363 nColId = pBox->pCols->GetObject(nCol)->GetId(); in CreateBrowseEvent() 367 if ( nCol < pBox->pCols->Count() ) in CreateBrowseEvent() 369 nColX -= pBox->pCols->GetObject(nCol)->Width(); in CreateBrowseEvent() 372 Size( pBox->pCols->GetObject(nCol)->Width(), in CreateBrowseEvent() [all …]
|
/trunk/main/sd/source/ui/table/ |
H A D | TableDesignPane.cxx | 725 for( sal_Int32 nCol = 0; nCol < nPreviewColumns; ++nCol ) in FillCellInfoMatrix() local 742 if( rSettings.mbUseFirstColumn && (nCol == 0) ) in FillCellInfoMatrix() 746 else if( rSettings.mbUseLastColumn && (nCol == nPreviewColumns-1) ) in FillCellInfoMatrix() 771 if( (nCol & 1) == 0 ) in FillCellInfoMatrix() 788 rMatrix[nCol][nRow] = xCellInfo; in FillCellInfoMatrix() 827 for( sal_Int32 nCol = 0; nCol < nPreviewColumns; ++nCol, nX += nCellWidth-1 ) in CreateDesignPreview() local 829 boost::shared_ptr< CellInfo > xCellInfo( aMatrix[nCol][nRow] ); in CreateDesignPreview() 861 for( sal_Int32 nCol = 0; nCol < nPreviewColumns; ++nCol, nX += nCellWidth-1 ) in CreateDesignPreview() local 863 boost::shared_ptr< CellInfo > xCellInfo( aMatrix[nCol][nRow] ); in CreateDesignPreview() 882 sal_Int32 nBorderCol = nCol + *pDiff++; in CreateDesignPreview()
|
/trunk/main/sc/source/ui/view/ |
H A D | gridwin.cxx | 166 return mnCol1 <= nCol && nCol <= mnCol2 && mnRow1 <= nRow && nRow <= mnRow2; in isInside() 175 SCCOL nCol; member in ScFilterListBox 216 nCol( nNewCol ), in ScFilterListBox() 536 if ( pDPObj && nCol > 0 ) in ExecPageFieldSelect() 618 if ( pDPObj && nCol > 0 ) in LaunchPageFieldMenu() 1079 if (rEntry.nField == nCol) in DoAutoFilterMenue() 1237 SCCOL nCol, SCROW nRow, in ExecFilter() argument 1280 if (rEntry.nField == nCol) in ExecFilter() 1309 rNewEntry.nField = nCol; in ExecFilter() 3443 … for (SCCOL nCol = aSourceRange.aStart.Col(); bValid && nCol <= aSourceRange.aEnd.Col(); ++nCol ) in AcceptPrivateDrop() local [all …]
|
H A D | tabview2.cxx | 89 sal_Bool ScTabView::IsMarking( SCCOL nCol, SCROW nRow, SCTAB nTab ) const in IsMarking() argument 92 && nBlockStartX == nCol in IsMarking() 617 SCCOL nCol; in lcl_FitsInWindow() local 618 for (nCol=0; nCol<nFixPosX; nCol++) in lcl_FitsInWindow() 621 sal_uInt16 nColTwips = pDoc->GetColWidth( nCol, nTab ); in lcl_FitsInWindow() 629 for (nCol=nStartCol; nCol<=nEndCol; nCol++) in lcl_FitsInWindow() 631 sal_uInt16 nColTwips = pDoc->GetColWidth( nCol, nTab ); in lcl_FitsInWindow() 809 for ( SCCOL nCol = aViewData.GetPosX(SC_SPLIT_LEFT); in CalcZoom() local 810 nCol < aViewData.GetFixPosX(); nCol++ ) in CalcZoom() 811 aPageSize.Width() += pDoc->GetColWidth( nCol, nCurTab ); in CalcZoom()
|
H A D | gridwin4.cxx | 1211 SCCOL nCol; in DrawButtons() local 1236 for (nCol=nX1; nCol<=nX2; nCol++) in DrawButtons() 1238 CellInfo* pInfo = &pThisRowInfo->pCellInfo[nCol+1]; in DrawButtons() 1255 if ( nCol >= nStartCol && nCol <= nEndCol && in DrawButtons() 1261 pDBData = pDoc->GetDBAtCursor( nCol, nRow, nTab ); in DrawButtons() 1293 SCCOL nStartCol= nCol; in DrawButtons() 1316 for (nCol=nX1; nCol<=nX2; nCol++) in DrawButtons() 1318 CellInfo* pInfo = &pThisRowInfo->pCellInfo[nCol+1]; in DrawButtons() 1369 SCCOL nCol = rButtonPos.Col(); in GetListValButtonRect() local 1381 SCCOL nNextCol = nCol + 1; in GetListValButtonRect() [all …]
|
H A D | gridwin2.cxx | 80 ScDPObject* pDPObj = pDoc->GetDPAtCursor(nCol, nRow, nTab); in GetDPFieldOrientation() 87 if (nCol > 0) in GetDPFieldOrientation() 116 sal_Bool ScGridWindow::DoPageFieldSelection( SCCOL nCol, SCROW nRow ) in DoPageFieldSelection() argument 120 LaunchPageFieldMenu( nCol, nRow ); in DoPageFieldSelection() 130 Point aScrPos = pViewData->GetScrPos(nCol, nRow, eWhich); in DoAutoFilterButton() 139 pViewData->GetMergeSizePixel( nCol, nRow, nSizeX, nSizeY ); in DoAutoFilterButton() 154 if ( DoPageFieldSelection( nCol, nRow ) ) in DoAutoFilterButton() 157 bool bFilterActive = IsAutoFilterActive(nCol, nRow, nTab); in DoAutoFilterButton() 165 DoAutoFilterMenue(nCol, nRow, false); in DoAutoFilterButton() 177 ScDPObject* pDPObj = pDoc->GetDPAtCursor(nCol, nRow, nTab); in DoPushButton() [all …]
|
/trunk/main/sc/source/filter/qpro/ |
H A D | qproform.cxx | 36 void QProToSc::ReadSRD( ScSingleRefData& rSRD, sal_Int8 nPage, sal_Int8 nCol, sal_uInt16 nRelBit ) in ReadSRD() argument 39 rSRD.InitAddress( ScAddress( nCol, (~nTmp + 1), 0 ) ); in ReadSRD() 42 rSRD.nRelCol = nCol; in ReadSRD() 47 rSRD.nCol = nCol; in ReadSRD() 198 sal_Int8 nCol, nPage; in Convert() local 311 maIn >> nNote >> nCol >> nPage >> nRelBits; in Convert() 312 ReadSRD( aSRD, nPage, nCol, nRelBits ); in Convert() 317 maIn >> nNote >> nCol >> nPage >> nRelBits; in Convert() 318 ReadSRD( aCRD.Ref1, nPage, nCol, nRelBits ); in Convert() 319 maIn >> nCol >> nPage >> nRelBits; in Convert() [all …]
|
/trunk/main/sc/source/filter/excel/ |
H A D | excform.cxx | 537 aSRD.nCol = static_cast<SCsCOL>(nByte); in Convert() 719 sal_uInt8 nCol; in Convert() local 1053 aSRD.nCol = static_cast<SCsCOL>(nByte); in Convert() 1181 sal_uInt8 nCol; in Convert() local 1215 aCRD.Ref2.nCol = aSRD.nCol; in Convert() 1667 rSRD.nCol = static_cast<SCCOL>(nCol); in ExcRelToScRel() 1696 rSRD.nCol = static_cast<SCsCOL>(nCol); in ExcRelToScRel() 1703 rSRD.nRelCol = rSRD.nCol - aEingPos.Col(); in ExcRelToScRel() 1774 sal_uInt16 nCol, nRow; in GetShrFmla() local 1776 aIn >> nRow >> nCol; in GetShrFmla() [all …]
|
/trunk/main/sw/source/core/unocore/ |
H A D | XMLRangeHelper.cxx | 94 sal_Int32 nCol = rCell.nColumn; in lcl_getXMLStringForCell() local 100 if( nCol < 26 ) in lcl_getXMLStringForCell() 101 aBuffer.append( (sal_Unicode)('A' + nCol) ); in lcl_getXMLStringForCell() 102 else if( nCol < 702 ) in lcl_getXMLStringForCell() 104 aBuffer.append( (sal_Unicode)('A' + nCol / 26 - 1 )); in lcl_getXMLStringForCell() 105 aBuffer.append( (sal_Unicode)('A' + nCol % 26) ); in lcl_getXMLStringForCell() 109 aBuffer.append( (sal_Unicode)('A' + nCol / 702 - 1 )); in lcl_getXMLStringForCell() 110 aBuffer.append( (sal_Unicode)('A' + (nCol % 702) / 26 )); in lcl_getXMLStringForCell() 111 aBuffer.append( (sal_Unicode)('A' + nCol % 26) ); in lcl_getXMLStringForCell()
|
/trunk/main/chart2/source/tools/ |
H A D | XMLRangeHelper.cxx | 94 sal_Int32 nCol = rCell.nColumn; in lcl_getXMLStringForCell() local 100 if( nCol < 26 ) in lcl_getXMLStringForCell() 101 aBuffer.append( (sal_Unicode)('A' + nCol) ); in lcl_getXMLStringForCell() 102 else if( nCol < 702 ) in lcl_getXMLStringForCell() 104 aBuffer.append( (sal_Unicode)('A' + nCol / 26 - 1 )); in lcl_getXMLStringForCell() 105 aBuffer.append( (sal_Unicode)('A' + nCol % 26) ); in lcl_getXMLStringForCell() 109 aBuffer.append( (sal_Unicode)('A' + nCol / 702 - 1 )); in lcl_getXMLStringForCell() 110 aBuffer.append( (sal_Unicode)('A' + (nCol % 702) / 26 )); in lcl_getXMLStringForCell() 111 aBuffer.append( (sal_Unicode)('A' + nCol % 26) ); in lcl_getXMLStringForCell()
|