/aoo4110/main/sc/source/core/data/ |
H A D | table1.cxx | 138 for (SCCOL k=0; k<=MAXCOL; k++) in ScTable() 617 SCCOL nMinX = MAXCOL; in GetDataStart() 774 if (rEndCol > MAXCOL) in ShrinkToUsedDataArea() 934 if (nNewCol>MAXCOL) nNewCol=MAXCOL; in FindAreaPos() 1010 nCol = MAXCOL; in GetNextPos() 1014 else if (nCol > MAXCOL) in GetNextPos() 1040 nCol = MAXCOL; in GetNextPos() 1045 if (nCol>MAXCOL) in GetNextPos() 1116 nCol = MAXCOL; in GetNextPos() 1149 while ( rCol <= MAXCOL ) in GetNextMarkedCell() [all …]
|
H A D | table2.cxx | 242 for (SCCOL i=MAXCOL; (i+static_cast<SCCOL>(nSize)>MAXCOL) && bTest; i--) in TestInsertCol() 301 aCol[MAXCOL - nSize - i].MoveTo(nStartRow, nEndRow, aCol[MAXCOL - i]); in InsertCol() 387 if (nCol2 > MAXCOL) nCol2 = MAXCOL; in DeleteArea() 494 if (nCol2 > MAXCOL) nCol2 = MAXCOL; in CopyFromClip() 550 for (SCCOL i=0; i<=MAXCOL; i++) in MixMarked() 695 for (SCCOL i=0; i<=MAXCOL; i++) in StartAllListeners() 702 for (SCCOL i=0; i<=MAXCOL; i++) in StartNeededListeners() 710 if (nCol2 > MAXCOL) nCol2 = MAXCOL; in BroadcastInArea() 721 if (nCol2 > MAXCOL) nCol2 = MAXCOL; in StartListeningInArea() 1185 rCol = MAXCOL; in GetLastDataPos() [all …]
|
H A D | documen2.cxx | 168 aCurTextWidthCalcPos(MAXCOL,0,0), in ScDocument() 349 ResetChanged( ScRange(0,0,0,MAXCOL,MAXROW,MAXTAB) ); in IMPL_LINK() 658 ScRange aDrawRange(0,0,nTab, MAXCOL,MAXROW,nTab); in GetPrintArea() 682 ScRange aDrawRange(0,nStartRow,nTab, MAXCOL,nEndRow,nTab); in GetPrintAreaHor() 725 ScRange aDrawRange(0,0,nTab, MAXCOL,MAXROW,nTab); in GetDataStart() 764 ScRange aSourceRange( 0,0,nOldPos, MAXCOL,MAXROW,nOldPos ); in MoveTab() 774 0,0,nOldPos, MAXCOL,MAXROW,nOldPos, 0,0,nDz ); in MoveTab() 854 ScRange aRange( 0,0,nNewPos, MAXCOL,MAXROW,MAXTAB ); in CopyTab() 859 URM_INSDEL, 0,0,nNewPos, MAXCOL,MAXROW,MAXTAB, 0,0,1 ); in CopyTab() 958 pTab[nDestPos]->DeleteArea( 0,0, MAXCOL,MAXROW, IDF_ALL ); in TransferTab() [all …]
|
H A D | dociter.cxx | 92 nCol = MAXCOL; in GetThisCol() 160 if (nCol > MAXCOL) in GetThis() 294 if (!ValidCol(nStartCol)) nStartCol = MAXCOL; in ScValueIterator() 295 if (!ValidCol(nEndCol)) nEndCol = MAXCOL; in ScValueIterator() 981 if (!ValidCol(nEndCol)) nEndCol = MAXCOL; in ScCellIterator() 1000 nStartCol = nCol = MAXCOL+1; in ScCellIterator() 1023 if (!ValidCol(nEndCol)) nEndCol = MAXCOL; in ScCellIterator() 1042 nStartCol = nCol = MAXCOL+1; in ScCellIterator() 1273 if ( rEntry.nField < MAXCOL ) in AdvanceQueryParamEntryField() 1290 nFoundCol = MAXCOL+1; in FindEqualOrSortedLastInRange() [all …]
|
H A D | table5.cxx | 94 SCCOL nEndCol = MAXCOL; in UpdatePageBreaks() 110 for (nX=0; nX<MAXCOL; nX++) in UpdatePageBreaks() 295 if (nEndCol < MAXCOL) in UpdatePageBreaks() 298 for (nX=nEndCol+2; nX<=MAXCOL; nX++) in UpdatePageBreaks() 751 for (SCCOL i = nCol+1; i <= MAXCOL; ++i) in LastHiddenColRow() 939 for (SCCOL i = 0; i <= MAXCOL; ++i) in lcl_syncFlags() 964 while (nCol <= MAXCOL) in lcl_syncFlags() 988 for (SCCOL i = 0; i <= MAXCOL; ++i) in SyncColRowFlags() 1156 const SCCOL nColEnd = pAdrTo ? pAdrTo->Col() : MAXCOL; in InvalidateTextWidth()
|
H A D | markdata.cxx | 142 pMultiSel = new ScMarkArray[MAXCOL+1]; in SetMultiMarkArea() 318 aMarkRange.aStart.Col() == 0 && aMarkRange.aEnd.Col() == MAXCOL && in IsRowMarked() 325 for (SCCOL nCol=0; nCol<=MAXCOL; nCol++) in IsRowMarked() 432 if (nMultiStart == 0 && nMultiEnd == MAXCOL) in GetMarkColumnRanges() 436 pRanges[1] = MAXCOL; in GetMarkColumnRanges() 580 for (SCCOL nCol=0; nCol<=MAXCOL; nCol++) in HasAnyMultiMarks()
|
/aoo4110/main/sc/source/ui/undo/ |
H A D | undodat.cxx | 736 MAXCOL, aParam.nRow2, nTab ); in Undo() 738 pDoc->DeleteAreaTab( 0,aParam.nRow1+1, MAXCOL,aParam.nRow2, nTab, IDF_ALL ); in Undo() 1032 MAXCOL, aQueryParam.nRow2, nTab ); in Undo() 1060 pDocShell->PostPaint( 0, aQueryParam.nRow1, nTab, MAXCOL, MAXROW, nTab, in Undo() 1351 pDocShell->PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID ); in Undo() 1423 pDocShell->PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID ); in Redo() 1516 while ( nCol <= MAXCOL && in Undo() 1569 MAXCOL, aBlockEnd.Row(), nTab ); in Undo() 1571 MAXCOL, aBlockEnd.Row(), nTab, IDF_ALL ); in Undo() 2009 MAXCOL, aDestArea.nRowEnd, nTab, in Undo() [all …]
|
H A D | undoblk.cxx | 115 aEffRange.aEnd.SetCol(MAXCOL); in ScUndoInsertCells() 226 aWorkRange.aEnd.SetCol(MAXCOL); in DoChange() 354 aEffRange.aEnd.SetCol(MAXCOL); in ScUndoDeleteCells() 620 SCCOL nEndCol = MAXCOL; in DoChange() 643 aRange.aEnd.SetCol( MAXCOL ); in SetChangeTrack() 1043 aDrawRange.aEnd.SetCol(MAXCOL); in DoChange() 1054 aDrawRange.aEnd.SetCol(MAXCOL); in DoChange() 1065 aDrawRange.aEnd.SetCol(MAXCOL); in DoChange() 1210 aRange.aEnd.SetCol(MAXCOL); in PaintArea() 1221 aRange.aEnd.SetCol(MAXCOL); in PaintArea() [all …]
|
H A D | undoblk2.cxx | 137 MAXCOL, MAXROW, nTab, PAINT_GRID | PAINT_TOP ); in Undo() 141 pUndoDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, sal_False, pDoc ); in Undo() 143 pDocShell->PostPaint( 0, nPaintStart, nTab, MAXCOL, MAXROW, nTab, PAINT_GRID | PAINT_LEFT ); in Undo() 187 pDocShell->PostPaint( 0, 0, nStartTab, MAXCOL, MAXROW, nEndTab, PAINT_GRID ); in Redo()
|
H A D | undotab.cxx | 118 ScRange aRange( 0, 0, nTab, MAXCOL, MAXROW, nTab ); in SetChangeTrack() 227 ScRange aRange( 0, 0, nTab, MAXCOL, MAXROW, nTab ); in SetChangeTrack() 332 ScRange aRange( 0, 0, 0, MAXCOL, MAXROW, 0 ); in SetChangeTrack() 374 pRefUndoDoc->CopyToDocument(0,0,nTab, MAXCOL,MAXROW,nTab, IDF_ALL,sal_False, pDoc ); in Undo() 429 pDocShell->PostPaint(0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_ALL ); // incl. Extras in Undo() 875 pDocShell->PostPaint(0,0,nDestTab,MAXCOL,MAXROW,MAXTAB, PAINT_ALL); in Undo() 969 pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, in DoChange() 990 pDoc->CopyToDocument(0,0,nTabPos, MAXCOL,MAXROW,nTabPos, IDF_ALL,sal_False, pRedoDoc ); in Undo() 1047 pRedoDoc->CopyToDocument(0,0,nTabPos, MAXCOL,MAXROW,nTabPos, IDF_ALL,sal_False, pDoc ); in Redo() 1404 pDocShell->PostPaint( ScRange(0,0,nTab,MAXCOL,MAXROW,nTab), PAINT_GRID ); in DoChange()
|
/aoo4110/main/sc/source/ui/docshell/ |
H A D | olinefun.cxx | 70 SCCOL nEndCol = MAXCOL; // fuer Test auf Merge in lcl_PaintWidthHeight() 90 rDocShell.PostPaint( nStartCol,nStartRow,nTab, MAXCOL,MAXROW,nTab, nParts ); in lcl_PaintWidthHeight() 144 rDocShell.PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, nParts ); in MakeOutline() 210 rDocShell.PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, nParts ); in RemoveOutline() 270 rDocShell.PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, in RemoveAllOutlines() 341 rDocShell.PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_LEFT | PAINT_TOP | PAINT_SIZE ); in AutoOutline() 381 pDoc->CopyToDocument( 0, nStart, nTab, MAXCOL, nEnd, nTab, IDF_NONE, sal_False, pUndoDoc ); in SelectLevel() 491 nMin=MAXCOL; in ShowMarkedOutlines() 542 rDocShell.PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID | PAINT_LEFT | PAINT_TOP ); in ShowMarkedOutlines() 640 rDocShell.PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID | PAINT_LEFT | PAINT_TOP ); in HideMarkedOutlines() [all …]
|
H A D | docfunc.cxx | 1603 nPaintEndX = MAXCOL; in InsertCells() 1609 nPaintEndX = MAXCOL; in InsertCells() 1615 nPaintEndX = MAXCOL; in InsertCells() 1834 nUndoEndX = MAXCOL; in DeleteCells() 2058 nPaintEndX = MAXCOL; in DeleteCells() 2064 nPaintEndX = MAXCOL; in DeleteCells() 2070 nPaintEndX = MAXCOL; in DeleteCells() 2530 nPaintEndX = MAXCOL; in MoveBlock() 2539 nPaintEndX = MAXCOL; in MoveBlock() 2546 nPaintEndX = MAXCOL; in MoveBlock() [all …]
|
H A D | dbdocfun.cxx | 313 nTab, MAXCOL, static_cast<SCROW>(nOutEndRow), nTab, in RepeatDB() 400 rDocShell.PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, in RepeatDB() 626 nEndX = MAXCOL; in Sort() 738 while ( nTestCol <= MAXCOL && in Query() 791 pDoc->CopyToDocument( 0, rQueryParam.nRow1, nTab, MAXCOL, rQueryParam.nRow2, nTab, in Query() 946 MAXCOL, aLocalParam.nRow2, nDestTab ); in Query() 975 rDocShell.PostPaint( 0, rQueryParam.nRow1, nTab, MAXCOL, MAXROW, nTab, in Query() 1006 ScEditableTester aTester( pDoc, nTab, 0,rParam.nRow1+1, MAXCOL,MAXROW ); in DoSubTotals() 1072 pDoc->CopyToDocument( 0,rParam.nRow1+1,nTab, MAXCOL,rParam.nRow2,nTab, in DoSubTotals() 1076 pDoc->CopyToDocument( 0,0,0, MAXCOL,MAXROW,nTabCount-1, in DoSubTotals() [all …]
|
H A D | docsh3.cxx | 107 aDocument.ResetChanged( ScRange(0,0,0,MAXCOL,MAXROW,MAXTAB) ); in PostDataChanged() 117 if (!ValidCol(nStartCol)) nStartCol = MAXCOL; in PostPaint() 119 if (!ValidCol(nEndCol)) nEndCol = MAXCOL; in PostPaint() 144 if (nEndCol<MAXCOL) ++nEndCol; in PostPaint() 153 if ( nStartCol != 0 || nEndCol != MAXCOL ) in PostPaint() 162 MAXCOL,nEndRow,nEndTab, HASATTR_ROTATE | HASATTR_RIGHTORCENTER ) ) in PostPaint() 165 nEndCol = MAXCOL; in PostPaint() 185 PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID ); in PostPaintGridAll() 200 PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_EXTRAS ); in PostPaintExtras() 214 ( rRange.aStart.Col() != 0 || rRange.aEnd.Col() != MAXCOL ) && in UpdatePaintExt() [all …]
|
H A D | docsh5.cxx | 451 PostPaint( 0,nStartRow,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID|PAINT_LEFT ); in AdjustRowHeight() 634 aDocument.CopyToDocument( 0,0,nDestTab, MAXCOL,MAXROW,nDestTab, in DoConsolidate() 638 aDocument.CopyToDocument( 0,0,0, MAXCOL,MAXROW,nTabCount-1, in DoConsolidate() 643 MAXCOL,aDestArea.nRowEnd,nDestTab, in DoConsolidate() 695 nPaintEndCol = MAXCOL; in DoConsolidate() 763 aDocument.CopyToDocument( 0,0,i, MAXCOL,MAXROW,i, in UseScenario() 779 PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID ); in UseScenario() 873 aDocument.ApplyPatternAreaTab( 0,0, MAXCOL,MAXROW, nNewTab, aProtPattern ); in MakeScenario() 887 PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID ); // Rahmen painten in MakeScenario()
|
/aoo4110/main/sc/source/filter/excel/ |
H A D | frmbase.cxx | 84 if( a.nCol > MAXCOL ) in Append() 85 a.nCol = MAXCOL; in Append() 124 if( rCol1 > MAXCOL ) in Append() 125 rCol1 = MAXCOL; in Append() 136 if( rCol2 > MAXCOL ) in Append() 137 rCol2 = MAXCOL; in Append()
|
/aoo4110/main/sc/source/ui/view/ |
H A D | tabview2.cxx | 71 if (!ValidCol(nStartCol)) nStartCol = MAXCOL; in PaintMarks() 73 if (!ValidCol(nEndCol)) nEndCol = MAXCOL; in PaintMarks() 76 sal_Bool bLeft = (nStartCol==0 && nEndCol==MAXCOL); in PaintMarks() 125 if (!ValidCol(nCurX)) nCurX = MAXCOL; in InitBlockMode() 167 nBlockEndX = MAXCOL; in InitBlockMode() 227 if (!ValidCol(nCurX)) nCurX = MAXCOL; in MarkCursor() 239 nCurX = MAXCOL; in MarkCursor() 366 nBlockEndX = nCurX + nCurXOffset > MAXCOL ? MAXCOL : nCurX + nCurXOffset; in MarkCursor() 558 if ( aMarkRange == ScRange( 0,0,nTab, MAXCOL,MAXROW,nTab ) ) in SelectAll() 564 MarkCursor( MAXCOL,MAXROW,nTab ); in SelectAll()
|
H A D | colrowba.cxx | 70 ScHeaderControl( pParent, pEng, MAXCOL+1, HDR_HORIZONTAL ), in ScColBar() 128 SCCOLROW* pRanges = new SCCOLROW[MAXCOL+1]; in SetEntrySize() 133 while (nStart<=MAXCOL) in SetEntrySize() 135 while (nStart<MAXCOL && !rMark.IsColumnMarked(nStart)) in SetEntrySize() 140 while (nEnd<MAXCOL && rMark.IsColumnMarked(nEnd)) in SetEntrySize() 150 nStart = MAXCOL+1; in SetEntrySize()
|
H A D | gridwin4.cxx | 204 if ( nX2 < MAXCOL ) ++nX2; in lcl_DrawScenarioFrames() 392 while ( nScrX <= aMirroredPixel.Left() && nX1 < MAXCOL ) in Paint() 398 while ( nScrX <= aMirroredPixel.Right() && nX2 < MAXCOL ) in Paint() 444 if (nXRight > MAXCOL) nXRight = MAXCOL; in Draw() 622 if(MAXCOL == nX2) in Draw() 679 if ( nX2==MAXCOL || nY2==MAXROW ) in Draw() 688 if ( nX2==MAXCOL ) in Draw() 702 if ( nX2==MAXCOL ) in Draw() 1387 sal_Bool bNextCell = ( nNextCol <= MAXCOL ); in GetListValButtonRect() 1513 if (nXRight > MAXCOL) nXRight = MAXCOL; in InvertSimple() [all …]
|
H A D | tabview4.cxx | 428 long nMaxXL = lcl_GetScrollRange( nUsedX, aViewData.GetPosX(SC_SPLIT_LEFT), nVisXL, MAXCOL, 0 ); in UpdateScrollBars() 438 …long nMaxXR = lcl_GetScrollRange( nUsedX, aViewData.GetPosX(SC_SPLIT_RIGHT), nVisXR, MAXCOL, nStar… in UpdateScrollBars() 478 if ( nEndX > MAXCOL ) nEndX = MAXCOL; in UpdateScrollBars() 547 if (nX2 > MAXCOL) nX2 = MAXCOL; in InterpretVisible()
|
/aoo4110/main/sc/source/ui/miscdlgs/ |
H A D | crnrdlg.cxx | 241 if ( (static_cast<SCCOLROW>(nCol2 - nCol1) >= nRow2 - nRow1) || (nCol1 == 0 && nCol2 == MAXCOL) ) in SetColRowData() 265 if ( nCol2 == MAXCOL ) in SetColRowData() 273 theCurData.aEnd.SetCol( MAXCOL ); in SetColRowData() 368 && (theCurData.aEnd.Col() < nCol2 || nCol2 == MAXCOL) ) in AdjustColRowData() 721 pDocShell->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID ); in IMPL_LINK() 1135 if ( theCurArea.aStart.Col() == 0 && theCurArea.aEnd.Col() == MAXCOL ) in IMPL_LINK() 1137 theCurArea.aEnd.SetCol( MAXCOL - 1 ); in IMPL_LINK() 1143 …aRange.aStart.SetCol( static_cast<SCCOL>(Min( (long)(theCurArea.aEnd.Col() + 1), (long)MAXCOL )) ); in IMPL_LINK() 1144 aRange.aEnd.SetCol( MAXCOL ); in IMPL_LINK()
|
/aoo4110/main/sc/source/filter/dif/ |
H A D | difimp.cxx | 104 if( aDifParser.nVal > MAXCOL + 1 ) in ScImportDif() 940 ppCols = new DifColumn *[ MAXCOL + 1 ]; in DifAttrCache() 941 for( SCCOL nCnt = 0 ; nCnt <= MAXCOL ; nCnt++ ) in DifAttrCache() 948 for( SCCOL nCnt = 0 ; nCnt <= MAXCOL ; nCnt++ ) in ~DifAttrCache() 974 for( SCCOL nCol = 0 ; nCol <= MAXCOL ; nCol++ ) in Apply() 994 for( SCCOL nCol = 0 ; nCol <= MAXCOL ; nCol++ ) in Apply()
|
/aoo4110/main/sc/source/core/tool/ |
H A D | refupdat.cxx | 286 bCut1 = lcl_MoveStart( theCol1, nCol1, nDx, MAXCOL ); in Update() 287 bCut2 = lcl_MoveEnd( theCol2, nCol1, nDx, MAXCOL ); in Update() 349 bCut1 = lcl_MoveItCut( theCol1, nDx, MAXCOL ); in Update() 350 bCut2 = lcl_MoveItCut( theCol2, nDx, MAXCOL ); in Update() 547 nCol1, nCol2, nDx, MAXCOL ) ) in Update() 726 lcl_MoveItWrap( rRef.Ref1.nCol, nDx, MAXCOL ); in Move() 728 bCut1 = lcl_MoveItCut( rRef.Ref1.nCol, nDx, MAXCOL ); in Move() 733 lcl_MoveItWrap( rRef.Ref2.nCol, nDx, MAXCOL ); in Move() 735 bCut2 = lcl_MoveItCut( rRef.Ref2.nCol, nDx, MAXCOL ); in Move()
|
H A D | address.cxx | 692 r.aEnd.SetCol( MAXCOL ); in lcl_ScRange_Parse_XL_R1C1() 781 while (nCol <= MAXCOL && CharClass::isAsciiAlpha(*p)) in lcl_a1_get_col() 783 if( nCol > MAXCOL || CharClass::isAsciiAlpha( *p ) ) in lcl_a1_get_col() 857 r.aStart.SetCol( 0 ); r.aEnd.SetCol( MAXCOL ); in lcl_ScRange_Parse_XL_A1() 1038 while (nCol < MAXCOL && CharClass::isAsciiAlpha(*p)) in lcl_ScAddress_Parse_OOo() 1044 if( nCol > MAXCOL || CharClass::isAsciiAlpha( *p ) ) in lcl_ScAddress_Parse_OOo() 1820 if( aStart.Col() == 0 && aEnd.Col() >= MAXCOL ) in Format() 1851 if( aStart.Col() == 0 && aEnd.Col() >= MAXCOL ) in Format() 1895 else if( dx > MAXCOL ) in Move() 1896 dx = MAXCOL, bValid =sal_False; in Move() [all …]
|
/aoo4110/main/sc/source/filter/xml/ |
H A D | xmlcoli.cxx | 148 if (nLastColumn > MAXCOL) in EndElement() 149 nLastColumn = MAXCOL; in EndElement() 150 if (nCurrentColumn > MAXCOL) in EndElement() 151 nCurrentColumn = MAXCOL; in EndElement()
|