/aoo41x/main/sc/source/core/data/ |
H A D | dociter.cxx | 75 nTab = nStartTab; in ScDocumentIterator() 96 ++nTab; in GetThisCol() 163 ++nTab; in GetThis() 179 nTab = nStartTab; in GetFirst() 211 rTab = nTab; in GetPos() 326 nTab++; in GetThis() 545 nTab = mpParam->nTab; in DataAccessInternal() 1062 nTab++; in GetThis() 1704 nTab = nTabP; in SetTab() 2203 if ( ValidTab(nTab) && pDoc->pTab[nTab] ) in ScDocAttrIterator() [all …]
|
H A D | drwlayer.cxx | 148 nTab( nTabNo ) in ScTabDeletedHint() 157 nTab( nTabNo ) in ScTabSizeChangedHint() 398 Broadcast( ScTabDeletedHint( nTab ) ); in ScRemovePage() 721 SCTAB nTab = rRange.aStart.Tab(); in GetPrintArea() local 740 nStartX +=pDoc->GetColWidth(i,nTab); in GetPrintArea() 744 nEndX += pDoc->GetColWidth(i,nTab); in GetPrintArea() 1318 for (SCTAB nTab=0; nTab<=nTabCount; nTab++) in DeleteObjectsInSelection() local 1319 if ( rMark.GetTableSelect( nTab ) ) in DeleteObjectsInSelection() 1798 for (sal_uInt16 nTab=0; nTab<nTabCount; nTab++) in GetNamedObject() local 1851 for (sal_uInt16 nTab=0; nTab<nTabCount; nTab++) in EnsureGraphicNames() local [all …]
|
H A D | documen5.cxx | 139 for (SCTAB nTab=0; nTab<=MAXTAB; nTab++) in UpdateAllCharts() local 141 if (pTab[nTab]) in UpdateAllCharts() 209 if (pDrawLayer && pTab[nTab]) in HasChartAtPoint() 255 for (sal_uInt16 nTab=0; nTab<nCount; nTab++) in GetChartByName() local 320 for (sal_uInt16 nTab=0; nTab<nCount; nTab++) in GetOldChartParameters() local 367 for (SCTAB nTab=0; nTab<=MAXTAB && pTab[nTab]; nTab++) in UpdateChartArea() local 617 for (SCTAB nTab=0; nTab<=MAXTAB && pTab[nTab]; nTab++) in SetChartRangeList() local 657 if (pTab[nTab]) in HasData() 674 for (sal_uInt16 nTab=0; nTab<nCount; nTab++) in FindOleObjectByName() local 719 for (SCTAB nTab=0; nTab<=MAXTAB; nTab++) in UpdateChartListenerCollection() local [all …]
|
H A D | fillinfo.cxx | 141 !pDoc->ColHidden(rStartX, nTab, nLastCol) && in lcl_GetMergeRange() 142 !pDoc->RowHidden(rStartY, nTab, nLastRow) && in lcl_GetMergeRange() 158 SCTAB nTab, double nScaleX, double nScaleY, in FillInfo() argument 161 DBG_ASSERT( pTab[nTab], "Tabelle existiert nicht" ); in FillInfo() 163 sal_Bool bLayoutRTL = IsLayoutRTL( nTab ); in FillInfo() 188 sal_Bool bTabProtect = IsTabProtected(nTab); in FillInfo() 200 if ( nTab >= aTmpRange.aStart.Tab() && nTab <= aTmpRange.aEnd.Tab() ) in FillInfo() 280 if ( bAnyItem && HasAttrib( 0,nY1,nTab, MAXCOL,nY2+1,nTab, in FillInfo() 354 if (!ColHidden(nX, nTab)) in FillInfo() 375 if (!ColHidden(nX, nTab)) in FillInfo() [all …]
|
H A D | documen2.cxx | 594 pTab[nTab] = new ScTable(this, nTab, in ResetClip() 623 pTab[nTab] = new ScTable(this, nTab, in PutCell() 628 if (pTab[nTab]) in PutCell() 653 if (ValidTab(nTab) && pTab[nTab]) in GetPrintArea() 658 ScRange aDrawRange(0,0,nTab, MAXCOL,MAXROW,nTab); in GetPrintArea() 677 if (ValidTab(nTab) && pTab[nTab]) in GetPrintAreaHor() 682 ScRange aDrawRange(0,nStartRow,nTab, MAXCOL,nEndRow,nTab); in GetPrintAreaHor() 699 if (ValidTab(nTab) && pTab[nTab]) in GetPrintAreaVer() 704 ScRange aDrawRange(nStartCol,0,nTab, nEndCol,MAXROW,nTab); in GetPrintAreaVer() 720 if (ValidTab(nTab) && pTab[nTab]) in GetDataStart() [all …]
|
/aoo41x/main/sc/source/ui/view/ |
H A D | viewfun4.cxx | 131 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in PasteRTF() 149 pRedoDoc->InitUndo( pDoc, nTab, nTab ); in PasteRTF() 155 new ScUndoPaste( pDocSh, nStartCol,nStartRow,nTab, nStartCol,nEndRow,nTab, in PasteRTF() 221 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in DoRefConversion() 281 pRedoDoc->InitUndo( pDoc, nTab, nTab ); in DoRefConversion() 312 SCTAB nTab; in DoThesaurus() local 446 nCol, nRow, nTab, in DoThesaurus() 475 SCTAB nTab; in DoSheetConversion() local 499 nTab = rViewData.GetTabNo(); in DoSheetConversion() 519 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in DoSheetConversion() [all …]
|
H A D | select.cxx | 86 SCTAB nTab = pViewData->GetTabNo(); in BeginDrag() local 137 pTransferObj->SetVisibleTab( nTab ); in BeginDrag() 175 SCTAB nTab = pViewData->GetTabNo(); in SetAnchor() local 180 aAnchorPos.Set( nPosX, nPosY, nTab ); in SetAnchor() 187 aAnchorPos.Set( nPosX, nPosY, nTab ); in SetAnchor() 200 aAnchorPos.Set( nPosX, nPosY, nTab ); in SetAnchor() 272 SCTAB nTab = pViewData->GetTabNo(); in SetCursorAtPoint() local 318 SCTAB nTab = pViewData->GetTabNo(); in SetCursorAtCell() local 321 if ( pDoc->IsTabProtected(nTab) ) in SetCursorAtCell() 333 … bool bCellProtected = pDoc->HasAttrib(nPosX, nPosY, nTab, nPosX, nPosY, nTab, HASATTR_PROTECTED); in SetCursorAtCell() [all …]
|
H A D | tabview2.cxx | 94 && nBlockStartZ == nTab; in IsMarking() 170 rMark.SetMarkArea( ScRange( nBlockStartX,nBlockStartY, nTab, nBlockEndX,nBlockEndY, nTab ) ); in InitBlockMode() 211 if ( pDoc->HasTable(nTab) ) in DoneBlockMode() 269 SCTAB nTab = nCurZ; in MarkCursor() local 378 rMark.SetMarkArea( ScRange( nBlockStartX, nBlockStartY, nTab, nBlockEndX, nBlockEndY, nTab ) ); in MarkCursor() 472 if ( nTab>=nBlockStartZ && nTab<=nBlockEndZ ) in PaintBlock() 558 if ( aMarkRange == ScRange( 0,0,nTab, MAXCOL,MAXROW,nTab ) ) in SelectAll() 563 InitBlockMode( 0,0,nTab ); in SelectAll() 700 if ( nTab < nStartTab && nTab > nEndTab ) in CalcZoom() 701 nTab = nStartTab; in CalcZoom() [all …]
|
H A D | scextopt.cxx | 73 const ScExtTabSettings* GetTabSettings( SCTAB nTab ) const; 74 ScExtTabSettings& GetOrCreateTabSettings( SCTAB nTab ); 105 ScExtTabSettingsMap::const_iterator aIt = maMap.find( nTab ); in GetTabSettings() 111 ScExtTabSettingsRef& rxTabSett = maMap[ nTab ]; in GetOrCreateTabSettings() 188 return mxImpl->maTabSett.GetTabSettings( nTab ); in GetTabSettings() 193 return mxImpl->maTabSett.GetOrCreateTabSettings( nTab ); in GetOrCreateTabSettings() 201 const String& ScExtDocOptions::GetCodeName( SCTAB nTab ) const in GetCodeName() 203 …DBG_ASSERT( (0 <= nTab) && (nTab < GetCodeNameCount()), "ScExtDocOptions::GetCodeName - invalid sh… in GetCodeName() 204 …return ((0 <= nTab) && (nTab < GetCodeNameCount())) ? mxImpl->maCodeNames[ static_cast< size_t >( … in GetCodeName() 210 if( nTab >= 0 ) in SetCodeName() [all …]
|
H A D | tabvwshf.cxx | 514 if ( nTab >= nTableCount ) in ExecuteTable() 515 nTab = SC_TAB_APPEND; in ExecuteTable() 555 nTab = SC_TAB_APPEND; in ExecuteTable() 599 SCTAB nBasicTab = ( nTab <= MAXTAB ) ? (nTab+1) : nTab; in ExecuteTable() 610 MoveTable( nDoc, nTab, bCpy ); in ExecuteTable() 678 for (SCTAB nTab=0; nTab<nTabCount; nTab++) in ExecuteTable() local 718 for (SCTAB nTab=0; nTab<nTabCount; nTab++) in ExecuteTable() local 720 if ( rMark.GetTableSelect(nTab) && !pDoc->IsTabProtected(nTab) ) in ExecuteTable() 766 for (SCTAB nTab=0; nTab<nTabCount; nTab++) in ExecuteTable() local 768 if ( rMark.GetTableSelect(nTab) && !pDoc->IsTabProtected(nTab) ) in ExecuteTable() [all …]
|
H A D | gridwin4.cxx | 197 SCTAB nTab = pViewData->GetTabNo(); in lcl_DrawScenarioFrames() local 199 if ( nTab+1<nTabCount && pDoc->IsScenario(nTab+1) && !pDoc->IsScenario(nTab) ) in lcl_DrawScenarioFrames() 207 ScRange aViewRange( nX1,nY1,nTab, nX2,nY2,nTab ); in lcl_DrawScenarioFrames() 274 SCTAB nTab = pViewData->GetTabNo(); in lcl_DrawHighlight() local 282 if ( nTab >= aRange.aStart.Tab() && nTab <= aRange.aEnd.Tab() ) in lcl_DrawHighlight() 377 SCTAB nTab = pViewData->GetTabNo(); in Paint() local 383 if ( pDoc->IsLayoutRTL( nTab ) ) in Paint() 469 SCTAB nTab = pViewData->GetTabNo(); in Draw() local 780 …sal_Bool bHasScenario = ( nTab+1<nTabCount && pDoc->IsScenario(nTab+1) && !pDoc->IsScenario(nTab) … in Draw() 840 …if ( pViewData->IsRefMode() && nTab >= pViewData->GetRefStartZ() && nTab <= pViewData->GetRefEndZ(… in Draw() [all …]
|
H A D | tabvwsh3.cxx | 292 aScRange.aStart.SetTab( nTab ); in Execute() 293 aScRange.aEnd.SetTab( nTab ); in Execute() 301 if( aScAddress.Tab() != nTab ) in Execute() 305 aScAddress.SetTab( nTab ); in Execute() 335 aScAddress.SetTab( nTab ); in Execute() 421 if ( nNameTab != nTab ) in Execute() 452 if ( nTab < pDoc->GetTableCount() ) in Execute() 454 SetTabNo( nTab ); in Execute() 800 SCTAB nTab; in Execute() local 821 for( nTab = 0; nTab < nTabCount; ++nTab ) in Execute() [all …]
|
H A D | dbfunc.cxx | 82 SCTAB nTab = 0; in GotoDBArea() local 89 SetTabNo( nTab ); in GotoDBArea() 94 InitBlockMode( nStartCol, nStartRow, nTab ); in GotoDBArea() 95 MarkCursor( nEndCol, nEndRow, nTab ); in GotoDBArea() 251 SCTAB nTab = GetViewData()->GetTabNo(); in UISort() local 277 SCTAB nTab = GetViewData()->GetTabNo(); in Sort() local 296 SCTAB nTab = GetViewData()->GetTabNo(); in Query() local 403 nTab, in ToggleAutoFilter() 433 pDocSh->PostPaint( aParam.nCol1, nRow, nTab, aParam.nCol2, nRow, nTab, PAINT_GRID ); in ToggleAutoFilter() 466 SCTAB nTab; in HideAutoFilter() local [all …]
|
H A D | dbfunc3.cxx | 151 SCTAB nTab = nStartTab; in TestRemoveOutline() local 218 ScRange aRange( 0,0,nTab, MAXCOL,MAXROW,nTab ); // ganze Tabelle, wenn nichts markiert in AutoOutline() 474 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in DoSubTotals() 479 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, bOldFilter ); in DoSubTotals() 482 pDoc->CopyToDocument( 0,rParam.nRow1+1,nTab, MAXCOL,rParam.nRow2,nTab, in DoSubTotals() 555 pDocSh->PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, in DoSubTotals() 2278 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in RepeatDB() 2283 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_False, sal_True ); in RepeatDB() 2286 pDoc->CopyToDocument( 0,nStartRow,nTab, MAXCOL,nEndRow,nTab, IDF_ALL, sal_False, pUndoDoc ); in RepeatDB() 2330 SetTabNo( nTab ); in RepeatDB() [all …]
|
/aoo41x/main/sc/source/filter/qpro/ |
H A D | qpro.cxx | 54 fprintf( stderr, "Read sheet (%d)\n", nTab ); in readSheet() 84 pStyle->SetFormat( pDoc, nCol, nRow, nTab, nStyle ); in readSheet() 111 ScAddress aAddr( nCol, nRow, nTab ); in readSheet() 149 SCTAB nTab = 0; in import() local 166 if( nTab <= MAXTAB ) in import() 168 if( nTab < 26 ) in import() 171 aName.Append( sal_Unicode( 'A' + nTab ) ); in import() 172 if (!nTab) in import() 175 pDoc->InsertTab( nTab, aName ); in import() 177 eRet = readSheet( nTab, pDoc, pStyleElement ); in import() [all …]
|
/aoo41x/main/sc/source/filter/xml/ |
H A D | sheetdata.cxx | 102 void ScSheetSaveData::BlockSheet( sal_Int32 nTab ) in BlockSheet() argument 104 if ( nTab >= (sal_Int32)maBlocked.size() ) in BlockSheet() 107 maBlocked[nTab] = true; in BlockSheet() 112 if ( nTab < (sal_Int32)maBlocked.size() ) in IsSheetBlocked() 113 return maBlocked[nTab]; in IsSheetBlocked() 121 maStreamEntries.resize( nTab + 1 ); in AddStreamPos() 130 mnStartTab = nTab; in StartStreamPos() 146 if ( nTab < (sal_Int32)maStreamEntries.size() ) in GetStreamPos() 160 GetStreamPos( nTab, nStartOffset, nEndOffset ); in HasStreamPos() 171 if ( nTab >= (sal_Int32)maSaveEntries.size() ) in AddSavePos() [all …]
|
/aoo41x/main/sc/source/ui/undo/ |
H A D | undoblk3.cxx | 629 for (SCTAB nTab=0; nTab<nTabCount; nTab++) in Undo() local 1016 for (SCTAB nTab=nStartZ; nTab<=nEndZ; nTab++) in Redo() local 1659 for (SCTAB nTab=0; nTab<nCount; nTab++) in Undo() local 1662 ScRange aRange(0,0,nTab,MAXCOL,MAXROW,nTab); in Undo() 1668 pRedoDoc->AddUndoTab( nTab, nTab, sal_True, sal_True ); in Undo() 1679 pRedoDoc->SetTabBgColor( nTab, pDoc->GetTabBgColor(nTab) ); in Undo() 1685 pDoc->SetLink( nTab, pUndoDoc->GetLinkMode(nTab), pUndoDoc->GetLinkDoc(nTab), in Undo() 1689 pDoc->SetTabBgColor( nTab, pUndoDoc->GetTabBgColor(nTab) ); in Undo() 1709 for (SCTAB nTab=0; nTab<nCount; nTab++) in Redo() local 1712 ScRange aRange(0,0,nTab,MAXCOL,MAXROW,nTab); in Redo() [all …]
|
H A D | undoblk.cxx | 581 nTab( nNewTab ), in ScUndoDeleteMulti() 641 ScRange aRange( 0, 0, nTab, 0, 0, nTab ); in SetChangeTrack() 987 SCTAB nTab; in DoChange() local 994 for (nTab=0; nTab<nTabCount; nTab++) in DoChange() 1018 for (nTab=0; nTab<nTabCount; nTab++) in DoChange() 1307 SCTAB nTab; in Redo() local 1309 for (nTab=aSrcRange.aStart.Tab(); nTab<=aSrcRange.aEnd.Tab(); nTab++) in Redo() 1327 for (nTab=aDestRange.aStart.Tab(); nTab<=aDestRange.aEnd.Tab(); nTab++) in Redo() 1335 for (nTab=aSrcRange.aStart.Tab(); nTab<=aSrcRange.aEnd.Tab(); nTab++) in Redo() 1343 for (nTab=aDestRange.aStart.Tab(); nTab<=aDestRange.aEnd.Tab(); nTab++) in Redo() [all …]
|
H A D | undoblk2.cxx | 126 SCTAB nTab; in Undo() local 127 for (nTab=0; nTab<nTabCount; nTab++) in Undo() 128 if (aMarkData.GetTableSelect(nTab)) in Undo() 133 static_cast<SCCOL>(nEnd), MAXROW, nTab, IDF_NONE, in Undo() 135 pDoc->UpdatePageBreaks( nTab ); in Undo() 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() 142 pDoc->UpdatePageBreaks( nTab ); in Undo() 143 pDocShell->PostPaint( 0, nPaintStart, nTab, MAXCOL, MAXROW, nTab, PAINT_GRID | PAINT_LEFT ); in Undo() 176 SCTAB nTab = pViewShell->GetViewData()->GetTabNo(); in Redo() local [all …]
|
/aoo41x/main/idl/inc/ |
H A D | types.hxx | 55 SvStream & rOutStm, sal_uInt16 nTab, 60 SvStream & rOutStm, sal_uInt16 nTab ); 113 SvStream & rOutStm, sal_uInt16 nTab, 115 virtual void Write( SvIdlDataBase & rBase, SvStream & rOutStm, sal_uInt16 nTab, 165 sal_uInt16 nTab ); 168 sal_uInt16 nTab, 174 sal_uInt16 nTab ); 237 SvStream & rOutStm, sal_uInt16 nTab ); 238 virtual void Write( SvIdlDataBase & rBase, SvStream & rOutStm, sal_uInt16 nTab, 302 sal_uInt16 nTab ); [all …]
|
/aoo41x/main/sc/source/core/tool/ |
H A D | consoli.cxx | 93 pData[nCount].nTab = SC_CONS_NOTFOUND; in AddEntry() 98 pData[nCount].nTab = nTab; in AddEntry() 298 pSrcDoc->GetString( nCol, nRow1, nTab, aTitle ); in AddFields() 315 pSrcDoc->GetString( nCol1, nRow, nTab, aTitle ); in AddFields() 570 pSrcDoc->GetString(nCol,nRow1,nTab,aTitle); in AddData() 591 pSrcDoc->GetString(nCol1,nRow,nTab,aTitle); in AddData() 641 pSrcDoc->GetValue( nCol, nRow, nTab, nVal ); in AddData() 760 pDestDoc->InsertRow( 0,nTab, MAXCOL,nTab, nRow+nArrY, nNeeded ); in OutputToDocument() 772 if (aRef.nTab != SC_CONS_NOTFOUND) in OutputToDocument() 778 aSRef.nTab = aRef.nTab; in OutputToDocument() [all …]
|
H A D | refdata.cxx | 36 nRelTab = nTab - rPos.Tab(); in CalcRelFromAbs() 76 if ( !VALIDTAB( nTab ) ) in CalcAbsIfRel() 192 (Flags.bTabRel ? nRelTab == r.nRelTab : nTab == r.nTab); in operator ==() 265 if ( (nTab1 = rRef1.nTab) > (nTab2 = rRef2.nTab) ) in lcl_putInOrder() 267 rRef1.nTab = nTab2; in lcl_putInOrder() 268 rRef2.nTab = nTab1; in lcl_putInOrder() 307 r2.nTab = r1.nTab; in lcl_adjustInOrder() 322 if (aRef.nCol < Ref1.nCol || aRef.nRow < Ref1.nRow || aRef.nTab < Ref1.nTab) in Extend() 328 if (aRef.nCol > Ref2.nCol || aRef.nRow > Ref2.nRow || aRef.nTab > Ref2.nTab) in Extend() 348 if (Ref2.nTab == aRef.nTab) in Extend() [all …]
|
/aoo41x/main/sc/source/ui/unoobj/ |
H A D | cellsuno.cxx | 1027 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in ApplyBorder() 1029 pUndoDoc->AddUndoTab( nTab, nTab ); in ApplyBorder() 1091 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in lcl_PutDataArray() 1235 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in lcl_PutFormulaArray() 3644 aCmpRange = ScRange( 0,nCmpPos,nTab, MAXCOL,nCmpPos,nTab ); in QueryDifferences_Impl() 4050 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in replaceAll() 7496 ScRange aNew( 0, 0, nTab, 0, 0, nTab ); // Default in setPrintTitleColumns() 7577 ScRange aNew( 0, 0, nTab, 0, 0, nTab ); // Default in setPrintTitleRows() 9424 ScRange aNext( nCol1, nRow1, nTab, nCol2, nRow2, nTab ); in GetObjectByIndex_Impl() 9540 aNext = ScRange( nCol1, nRow1, nTab, nCol2, nRow2, nTab ); in Advance_Impl() [all …]
|
/aoo41x/main/sc/source/filter/html/ |
H A D | htmlexp.cxx | 268 for ( SCTAB nTab = 0; nTab < nCount; nTab++ ) in ScHTMLExport() local 270 if ( !IsEmptyTable( nTab ) ) in ScHTMLExport() 444 for ( SCTAB nTab = 0; nTab < nCount; nTab++ ) in WriteOverview() local 446 if ( !IsEmptyTable( nTab ) ) in WriteOverview() 448 pDoc->GetName( nTab, aStr ); in WriteOverview() 648 for ( SCTAB nTab=nStartTab; nTab<=nEndTab; nTab++ ) in WriteTables() local 650 if ( !pDoc->IsVisible( nTab ) ) in WriteTables() 675 pDoc->GetName( nTab, aStr ); in WriteTables() 717 if ( !pDoc->ColHidden(nCol, nTab) ) in WriteTables() 738 if ( pDoc->ColHidden(nCol, nTab) ) in WriteTables() [all …]
|
/aoo41x/main/sc/source/ui/docshell/ |
H A D | docsh4.cxx | 390 ScRange aNewRange( nCol1,nRow1,nTab, nCol2,nRow2,nTab ); in Execute() 833 SCTAB nTab; in Execute() local 843 pSh->DeleteTable( nTab ); in Execute() 861 SCTAB nTab; in Execute() local 1261 SCTAB nTab; in DoHardRecalc() local 1263 for (nTab=0; nTab<nTabCount; nTab++) in DoHardRecalc() 1273 for (nTab=0; nTab<nTabCount; nTab++) in DoHardRecalc() 1301 PostPaint( nStartCol, nStartRow, nTab, nEndCol, nEndRow, nTab, PAINT_GRID ); in DoAutoStyle() 1330 for (SCTAB nTab=0; nTab<nTabCount; nTab++) in NotifyStyle() local 1498 for (SCTAB nTab=0; nTab<nTabCount && nUseTab>MAXTAB; nTab++) in PageStyleModified() local [all …]
|