Lines Matching refs:pDoc

104 	ScDocument* pDoc = pDocSh->GetDocument();  in AdjustBlockHeight()  local
127 SCTAB nTabCount = pDoc->GetTableCount(); in AdjustBlockHeight()
139 if (pDoc->SetOptimalHeight( nStartNo, nEndNo, nTab, 0, aProv.GetDevice(), in AdjustBlockHeight()
166 ScDocument* pDoc = pDocSh->GetDocument(); in AdjustRowHeight() local
174 nOldPixel = (sal_uInt16) (pDoc->GetRowHeight(nStartRow,nTab) * nPPTY); in AdjustRowHeight()
183 sal_Bool bChanged = pDoc->SetOptimalHeight( nStartRow, nEndRow, nTab, 0, aProv.GetDevice(), in AdjustRowHeight()
188 sal_uInt16 nNewPixel = (sal_uInt16) (pDoc->GetRowHeight(nStartRow,nTab) * nPPTY); in AdjustRowHeight()
211 ScAutoSum lcl_IsAutoSumData( ScDocument* pDoc, SCCOL nCol, SCROW nRow, in lcl_IsAutoSumData() argument
215 pDoc->GetCell( nCol, nRow, nTab, pCell ); in lcl_IsAutoSumData()
238 ScAutoSum lcl_SeekAutoSumData( ScDocument* pDoc, SCCOL& nCol, SCROW& nRow, in lcl_SeekAutoSumData() argument
260 pDoc, nCol, nRow, nTab, eDir, nExtend )) != ScAutoSumNone ) in lcl_SeekAutoSumData()
271 bool lcl_FindNextSumEntryInColumn( ScDocument* pDoc, SCCOL nCol, SCROW& nRow, in lcl_FindNextSumEntryInColumn() argument
276 …while ( ( eSkip = lcl_IsAutoSumData( pDoc, nCol, nRow, nTab, DIR_TOP, nExtend ) ) == ScAutoSumData… in lcl_FindNextSumEntryInColumn()
290 bool lcl_FindNextSumEntryInRow( ScDocument* pDoc, SCCOL& nCol, SCROW nRow, in lcl_FindNextSumEntryInRow() argument
295 …while ( ( eSkip = lcl_IsAutoSumData( pDoc, nCol, nRow, nTab, DIR_LEFT, nExtend ) ) == ScAutoSumDat… in lcl_FindNextSumEntryInRow()
309 bool lcl_GetAutoSumForColumnRange( ScDocument* pDoc, ScRangeList& rRangeList, const ScRange& rRange… in lcl_GetAutoSumForColumnRange() argument
323 const ScAutoSum eSum = lcl_IsAutoSumData( pDoc, nCol, nEndRow, nTab, DIR_TOP, nExtend /*out*/ ); in lcl_GetAutoSumForColumnRange()
332 …if ( ( bContinue = lcl_FindNextSumEntryInColumn( pDoc, nCol, nEndRow /*inout*/, nTab, nExtend /*ou… in lcl_GetAutoSumForColumnRange()
341 … lcl_IsAutoSumData( pDoc, nCol, nStartRow-1, nTab, DIR_TOP, nExtend /*out*/ ) != ScAutoSumSum ) in lcl_GetAutoSumForColumnRange()
353 bool lcl_GetAutoSumForRowRange( ScDocument* pDoc, ScRangeList& rRangeList, const ScRange& rRange ) in lcl_GetAutoSumForRowRange() argument
367 … const ScAutoSum eSum = lcl_IsAutoSumData( pDoc, nEndCol, nRow, nTab, DIR_LEFT, nExtend /*out*/ ); in lcl_GetAutoSumForRowRange()
376 …if ( ( bContinue = lcl_FindNextSumEntryInRow( pDoc, nEndCol /*inout*/, nRow, nTab, nExtend /*out*/… in lcl_GetAutoSumForRowRange()
385 … lcl_IsAutoSumData( pDoc, nStartCol-1, nRow, nTab, DIR_LEFT, nExtend /*out*/ ) != ScAutoSumSum ) in lcl_GetAutoSumForRowRange()
399 ScDocument* pDoc = GetViewData()->GetDocument(); in GetAutoSumArea() local
418 && ((eSum = lcl_IsAutoSumData( pDoc, nCol, nRow-1, nTab, in GetAutoSumArea()
420 && ((eSum = lcl_IsAutoSumData( pDoc, nCol, nRow-1, nTab, in GetAutoSumArea()
427 else if ( nCol != 0 && (eSum = lcl_IsAutoSumData( pDoc, nCol-1, nRow, nTab, in GetAutoSumArea()
433 …else if ( (eSum = lcl_SeekAutoSumData( pDoc, nCol, nSeekRow, nTab, DIR_TOP, nExtend /*out*/ )) != … in GetAutoSumArea()
435 …else if (( eSum = lcl_SeekAutoSumData( pDoc, nSeekCol, nRow, nTab, DIR_LEFT, nExtend /*out*/ )) !=… in GetAutoSumArea()
463 while ( nStartRow != 0 && lcl_IsAutoSumData( pDoc, nCol, in GetAutoSumArea()
469 while ( nStartCol != 0 && lcl_IsAutoSumData( pDoc, nStartCol-1, in GetAutoSumArea()
481 …if ( ( bContinue = lcl_FindNextSumEntryInColumn( pDoc, nCol, nEndRow /*inout*/, nTab, nExtend /*ou… in GetAutoSumArea()
489 …if ( ( bContinue = lcl_FindNextSumEntryInRow( pDoc, nEndCol /*inout*/, nRow, nTab, nExtend /*out*/… in GetAutoSumArea()
513 ScDocument* pDoc = GetViewData()->GetDocument(); in AutoSum() local
527 if ( lcl_IsAutoSumData( pDoc, nCol, nRow, nTab, DIR_TOP, nExtend ) != ScAutoSumNone ) in AutoSum()
550 if ( lcl_IsAutoSumData( pDoc, nCol, nRow, nTab, DIR_LEFT, nExtend ) != ScAutoSumNone ) in AutoSum()
567 const bool bEndRowEmpty = pDoc->IsBlockEmpty( nTab, nStartCol, nEndRow, nEndCol, nEndRow ); in AutoSum()
568 const bool bEndColEmpty = pDoc->IsBlockEmpty( nTab, nEndCol, nStartRow, nEndCol, nEndRow ); in AutoSum()
579 while ( !pDoc->IsBlockEmpty( nTab, nStartCol, nInsRow, nEndCol, nInsRow ) ) in AutoSum()
605 while ( !pDoc->IsBlockEmpty( nTab, nInsCol, nStartRow, nInsCol, nEndRow ) ) in AutoSum()
652 if ( !pDoc->IsBlockEmpty( nTab, nCol, nStartRow, nCol, nSumEndRow ) ) in AutoSum()
656 if ( lcl_GetAutoSumForColumnRange( pDoc, aRangeList, aRange ) ) in AutoSum()
685 if ( !pDoc->IsBlockEmpty( nTab, nStartCol, nRow, nSumEndCol, nRow ) ) in AutoSum()
689 if ( lcl_GetAutoSumForRowRange( pDoc, aRangeList, aRange ) ) in AutoSum()
735 ScDocument* pDoc = GetViewData()->GetDocument(); in GetAutoSumFormula() local
737 rRangeList.Format( aRef, SCA_VALID, pDoc ); in GetAutoSumFormula()
770 ScDocument* pDoc = GetViewData()->GetDocument(); in EnterBlock() local
774 const ScPatternAttr* pOldPattern = pDoc->GetPattern( nCol, nRow, nTab ); in EnterBlock()
775 ScTabEditEngine aEngine( *pOldPattern, pDoc->GetEnginePool() ); in EnterBlock()
793 pInsDoc->ResetClip( pDoc, nTab ); in EnterBlock()
798 ScFormulaCell* pFCell = new ScFormulaCell( pDoc, aPos, aNewStr ); in EnterBlock()
802 pInsDoc->PutCell( nCol, nRow, nTab, new ScEditCell( pData, pDoc, NULL ) ); in EnterBlock()
818 ScPatternAttr* pPattern = new ScPatternAttr( pDoc->GetPool() ); in EnterBlock()
820 short nNewType = pDoc->GetFormatTable()->GetType( pItem->GetValue() ); in EnterBlock()
821 pDoc->ApplyPatternIfNumberformatIncompatible( aRange, rMark, in EnterBlock()
910 ScDocument* pDoc = pDocSh->GetDocument(); in RemoveManualBreaks() local
912 sal_Bool bUndo(pDoc->IsUndoEnabled()); in RemoveManualBreaks()
917 pUndoDoc->InitUndo( pDoc, nTab, nTab, sal_True, sal_True ); in RemoveManualBreaks()
918 pDoc->CopyToDocument( 0,0,nTab, MAXCOL,MAXROW,nTab, IDF_NONE, sal_False, pUndoDoc ); in RemoveManualBreaks()
923 pDoc->RemoveManualBreaks(nTab); in RemoveManualBreaks()
924 pDoc->UpdatePageBreaks(nTab); in RemoveManualBreaks()
957 ScDocument* pDoc = pDocSh->GetDocument(); in SetPrintRanges() local
958 SCTAB nTabCount = pDoc->GetTableCount(); in SetPrintRanges()
961 sal_Bool bUndo (pDoc->IsUndoEnabled()); in SetPrintRanges()
963 ScPrintRangeSaver* pOldRanges = pDoc->CreatePrintRangeSaver(); in SetPrintRanges()
965 ScAddress::Details aDetails(pDoc->GetAddressConvention(), 0, 0); in SetPrintRanges()
975 pDoc->ClearPrintRanges( nTab ); in SetPrintRanges()
979 pDoc->SetPrintEntireSheet( nTab ); in SetPrintRanges()
990 if ( aRange.ParseAny( aToken, pDoc, aDetails ) & SCA_VALID ) in SetPrintRanges()
991 pDoc->AddPrintRange( nTab, aRange ); in SetPrintRanges()
999 pDoc->AddPrintRange( nTab, aRange ); in SetPrintRanges()
1014 pDoc->AddPrintRange( nTab, *pR ); in SetPrintRanges()
1025 pDoc->SetRepeatColRange( nTab, NULL ); in SetPrintRanges()
1027 if ( aRange.ParseAny( *pRepCol, pDoc, aDetails ) & SCA_VALID ) in SetPrintRanges()
1028 pDoc->SetRepeatColRange( nTab, &aRange ); in SetPrintRanges()
1036 pDoc->SetRepeatRowRange( nTab, NULL ); in SetPrintRanges()
1038 if ( aRange.ParseAny( *pRepRow, pDoc, aDetails ) & SCA_VALID ) in SetPrintRanges()
1039 pDoc->SetRepeatRowRange( nTab, &aRange ); in SetPrintRanges()
1047 ScPrintRangeSaver* pNewRanges = pDoc->CreatePrintRangeSaver(); in SetPrintRanges()
1104 ScDocument* pDoc = pDocSh->GetDocument(); in MergeCells() local
1120 if ( pDoc->HasAttrib( nStartCol, nStartRow, nStartTab, nEndCol, nEndRow, nEndTab, in MergeCells()
1129 if ( !pDoc->IsBlockEmpty( nStartTab, nStartCol,nStartRow+1, nStartCol,nEndRow, true ) || in MergeCells()
1130 !pDoc->IsBlockEmpty( nStartTab, nStartCol+1,nStartRow, nEndCol,nEndRow, true ) ) in MergeCells()
1176 ScDocument* pDoc = GetViewData()->GetDocument(); in TestRemoveMerge() local
1177 if ( pDoc->HasAttrib( aRange, HASATTR_MERGED ) ) in TestRemoveMerge()
1335 ScDocument* pDoc = pDocSh->GetDocument(); in FillTab() local
1338 sal_Bool bUndo(pDoc->IsUndoEnabled()); in FillTab()
1355 pUndoDoc->InitUndo( pDoc, nTab, nTab ); in FillTab()
1358 SCTAB nTabCount = pDoc->GetTableCount(); in FillTab()
1365 pDoc->CopyToDocument( aMarkRange, IDF_ALL, bMulti, pUndoDoc ); in FillTab()
1371 pDoc->FillTabMarked( nTab, rMark, nFlags, nFunction, bSkipEmpty, bAsLink ); in FillTab()
1376 pDoc->FillTab( aMarkRange, rMark, nFlags, nFunction, bSkipEmpty, bAsLink ); in FillTab()
1420 ScDocument* pDoc = GetViewData()->GetDocument(); in FillCrossDblClick() local
1423 if ( pDoc->IsBlockEmpty( nTab, nStartX, nStartY, nEndX, nEndY ) ) in FillCrossDblClick()
1433 if ( pDoc->HasData( nMovX, nStartY, nTab ) && in FillCrossDblClick()
1434 pDoc->HasData( nMovX, nStartY + 1, nTab ) ) in FillCrossDblClick()
1436 pDoc->FindAreaPos( nMovX, nMovY, nTab, 0, 1 ); in FillCrossDblClick()
1452 if ( pDoc->HasData( nMovX, nStartY, nTab ) && in FillCrossDblClick()
1453 pDoc->HasData( nMovX, nStartY + 1, nTab ) ) in FillCrossDblClick()
1455 pDoc->FindAreaPos( nMovX, nMovY, nTab, 0, 1 ); in FillCrossDblClick()
1505 ScDocument* pDoc = GetViewData()->GetDocument(); in CreateAutoFormatData() local
1507 pDoc->GetAutoFormatData( nStartTab, nStartCol,nStartRow,nEndCol,nEndRow, *pData ); in CreateAutoFormatData()
1553 ScDocument* pDoc = pDocSh->GetDocument(); in AutoFormat()
1556 if (bRecord && !pDoc->IsUndoEnabled()) in AutoFormat()
1563 pUndoDoc->InitUndo( pDoc, nStartTab, nEndTab, bSize, bSize ); in AutoFormat()
1564 pDoc->CopyToDocument( nStartCol, nStartRow, nStartTab, nEndCol, nEndRow, nEndTab, in AutoFormat()
1568 pDoc->CopyToDocument( nStartCol,0,nStartTab, nEndCol,MAXROW,nEndTab, in AutoFormat()
1570 pDoc->CopyToDocument( 0,nStartRow,nStartTab, MAXCOL,nEndRow,nEndTab, in AutoFormat()
1573 pDoc->BeginDrawUndo(); in AutoFormat()
1577 pDoc->AutoFormat( nStartCol, nStartRow, nEndCol, nEndRow, nFormatNo, rMark ); in AutoFormat()
1623 ScDocument* pDoc = pDocSh->GetDocument(); in SearchAndReplace() local
1625 if (bAddUndo && !pDoc->IsUndoEnabled()) in SearchAndReplace()
1637 SCTAB nLastTab = pDoc->GetTableCount() - 1; in SearchAndReplace()
1667 pDoc->IsTabProtected( j ) ) in SearchAndReplace()
1692 pUndoDoc->InitUndo( pDoc, nStartTab, nEndTab ); in SearchAndReplace()
1716 if (pDoc->SearchAndReplace( *pSearchItem, nCol, nRow, nTab, rMark, aUndoStr, pUndoDoc ) ) in SearchAndReplace()
1855 ScDocument* pDoc = GetViewData()->GetDocument(); in Solve() local
1861 ScEditableTester aTester( pDoc, nDestTab, nDestCol,nDestRow, nDestCol,nDestRow ); in Solve()
1868 if ( pDoc ) in Solve()
1881 pDoc->Solver( in Solve()
1891 SvNumberFormatter* pFormatter = pDoc->GetFormatTable(); in Solve()
1893 const ScPatternAttr* pPattern = pDoc->GetPattern( nDestCol, nDestRow, nDestTab ); in Solve()
1981 ScDocument* pDoc = GetViewData()->GetDocument(); in ExtendScenario() local
1982 ScPatternAttr aPattern( pDoc->GetPool() ); in ExtendScenario()
2023 ScDocument* pDoc = pDocSh->GetDocument(); in InsertTables() local
2024 if (bRecord && !pDoc->IsUndoEnabled()) in InsertTables()
2034 pDoc->BeginDrawUndo(); // InsertTab erzeugt ein SdrUndoNewPage in InsertTables()
2051 pDoc->CreateValidTabName( aValTabName); in InsertTables()
2055 if(pDoc->InsertTab( nTab+i,*pStr)) in InsertTables()
2096 ScDocument* pDoc = pDocSh->GetDocument(); in AppendTable() local
2097 if (bRecord && !pDoc->IsUndoEnabled()) in AppendTable()
2103 pDoc->BeginDrawUndo(); // InsertTab erzeugt ein SdrUndoNewPage in AppendTable()
2105 if (pDoc->InsertTab( SC_TAB_APPEND, rName )) in AppendTable()
2107 SCTAB nTab = pDoc->GetTableCount()-1; in AppendTable()
2130 ScDocument* pDoc = pDocSh->GetDocument(); in DeleteTable() local
2136 if ( nNewTab >= pDoc->GetTableCount() ) in DeleteTable()
2146 ScDocument* pDoc = pDocSh->GetDocument(); in DeleteTables() local
2147 sal_Bool bVbaEnabled = pDoc ? pDoc->IsInVBAMode() : sal_False; in DeleteTables()
2150 if (bRecord && !pDoc->IsUndoEnabled()) in DeleteTables()
2153 while ( nNewTab > 0 && !pDoc->IsVisible( nNewTab ) ) in DeleteTables()
2163 SCTAB nCount = pDoc->GetTableCount(); in DeleteTables()
2172 pUndoDoc->InitUndo( pDoc, nTab,nTab, sal_True,sal_True ); // incl. Spalten/Zeilenflags in DeleteTables()
2176 pDoc->CopyToDocument(0,0,nTab, MAXCOL,MAXROW,nTab, IDF_ALL,sal_False, pUndoDoc ); in DeleteTables()
2177 pDoc->GetName( nTab, aOldName ); in DeleteTables()
2179 if (pDoc->IsLinked(nTab)) in DeleteTables()
2182 pUndoDoc->SetLink( nTab, pDoc->GetLinkMode(nTab), pDoc->GetLinkDoc(nTab), in DeleteTables()
2183 pDoc->GetLinkFlt(nTab), pDoc->GetLinkOpt(nTab), in DeleteTables()
2184 pDoc->GetLinkTab(nTab), in DeleteTables()
2185 pDoc->GetLinkRefreshDelay(nTab) ); in DeleteTables()
2187 if ( pDoc->IsScenario(nTab) ) in DeleteTables()
2193 pDoc->GetScenarioData( nTab, aComment, aColor, nScenFlags ); in DeleteTables()
2195 sal_Bool bActive = pDoc->IsActiveScenario( nTab ); in DeleteTables()
2198 pUndoDoc->SetVisible( nTab, pDoc->IsVisible( nTab ) ); in DeleteTables()
2199 pUndoDoc->SetTabBgColor( nTab, pDoc->GetTabBgColor(nTab) ); in DeleteTables()
2200 pUndoDoc->SetSheetEvents( nTab, pDoc->GetSheetEvents( nTab ) ); in DeleteTables()
2202 if ( pDoc->IsTabProtected( nTab ) ) in DeleteTables()
2203 pUndoDoc->SetTabProtection(nTab, pDoc->GetTabProtection(nTab)); in DeleteTables()
2211 pDoc->BeginDrawUndo(); // DeleteTab erzeugt ein SdrUndoDelPage in DeleteTables()
2213 pUndoData = new ScRefUndoData( pDoc ); in DeleteTables()
2221 sal_Bool bHasCodeName = pDoc->GetCodeName( TheTabs[i-1], sCodeName ); in DeleteTables()
2222 if (pDoc->DeleteTab( TheTabs[i-1], pUndoDoc )) in DeleteTables()
2245 if ( nNewTab >= pDoc->GetTableCount() ) in DeleteTables()
2246 nNewTab = pDoc->GetTableCount() - 1; in DeleteTables()
2371 ScDocument* pDoc = pDocSh->GetDocument(); in ImportTables() local
2372 sal_Bool bUndo(pDoc->IsUndoEnabled()); in ImportTables()
2383 pDoc->BeginDrawUndo(); // drawing layer must do its own undo actions in ImportTables()
2391 pDoc->CreateValidTabName( aName ); in ImportTables()
2392 if ( !pDoc->InsertTab( nTab+i, aName ) ) in ImportTables()
2403 sal_uLong nErrVal = pDoc->TransferTab( pSrcDoc, nSrcTab, nDestTab1, in ImportTables()
2424 pDoc->TransferDrawPage( pSrcDoc, nSrcTab, nDestTab1 ); in ImportTables()
2433 pDoc->SetScenario( nDestTab1,sal_True); in ImportTables()
2434 pDoc->SetScenarioData( nTab+i,aComment,aColor,nFlags); in ImportTables()
2436 pDoc->SetActiveScenario( nDestTab1, bActive ); in ImportTables()
2438 pDoc->SetVisible(nDestTab1,bVisible ); in ImportTables()
2445 sfx2::LinkManager* pLinkManager = pDoc->GetLinkManager(); in ImportTables()
2454 sal_Bool bWasThere = pDoc->HasLink( aFileName, aFilterName, aOptions ); in ImportTables()
2461 pDoc->SetLink( nTab+i, SC_LINK_NORMAL, in ImportTables()
2511 ScDocument* pDoc = GetViewData()->GetDocument(); in MoveTable() local
2516 sal_Bool bUndo (pDoc->IsUndoEnabled()); in MoveTable()
2559 if (pDestDoc != pDoc) in MoveTable()
2571 SCTAB nTabCount = pDoc->GetTableCount(); in MoveTable()
2581 pDoc->GetName( i, aTabName); in MoveTable()
2585 if((!pDoc->IsVisible(j))&&(pDoc->IsScenario(j))) in MoveTable()
2587 pDoc->GetName( j, aTabName); in MoveTable()
2598 if (pDoc->GetDrawLayer()) in MoveTable()
2611 pDoc->GetName( TheTabs[j], aName ); in MoveTable()
2624 nErrVal = pDestDoc->TransferTab( pDoc, TheTabs[i], nDestTab1, in MoveTable()
2629 pDestDoc->TransferDrawPage( pDoc, TheTabs[i], nDestTab1 ); in MoveTable()
2631 if(nErrVal>0 && pDoc->IsScenario(TheTabs[i])) in MoveTable()
2637 pDoc->GetScenarioData(TheTabs[i], aComment,aColor, nFlags); in MoveTable()
2640 sal_Bool bActive = pDoc->IsActiveScenario(TheTabs[i]); in MoveTable()
2643 sal_Bool bVisible=pDoc->IsVisible(TheTabs[i]); in MoveTable()
2648 if ( nErrVal > 0 && pDoc->IsTabProtected( TheTabs[i] ) ) in MoveTable()
2649 pDestDoc->SetTabProtection(nDestTab1, pDoc->GetTabProtection(TheTabs[i])); in MoveTable()
2738 SCTAB nTabCount = pDoc->GetTableCount(); in MoveTable()
2751 pDoc->GetName( i, aTabName); in MoveTable()
2756 if((!pDoc->IsVisible(j))&&(pDoc->IsScenario(j))) in MoveTable()
2758 pDoc->GetName( j, aTabName); in MoveTable()
2769 pDoc->BeginDrawUndo(); // drawing layer must do its own undo actions in MoveTable()
2771 pDoc->GetName( nDestTab, aDestName); in MoveTable()
2776 nTabCount = pDoc->GetTableCount(); in MoveTable()
2778 if(!pDoc->GetTable(*pString,nMovTab)) in MoveTable()
2782 if(!pDoc->GetTable(aDestName,nDestTab1)) in MoveTable()
2788 if(bCopy && pDoc->IsScenario(nMovTab)) in MoveTable()
2794 pDoc->GetScenarioData(nMovTab, aComment,aColor, nFlags); in MoveTable()
2795 pDoc->SetScenario(nDestTab1,sal_True); in MoveTable()
2796 pDoc->SetScenarioData(nDestTab1,aComment,aColor,nFlags); in MoveTable()
2797 sal_Bool bActive = pDoc->IsActiveScenario(nMovTab ); in MoveTable()
2798 pDoc->SetActiveScenario( nDestTab1, bActive ); in MoveTable()
2799 sal_Bool bVisible=pDoc->IsVisible(nMovTab); in MoveTable()
2800 pDoc->SetVisible(nDestTab1,bVisible ); in MoveTable()
2807 if(!pDoc->GetTable(*pString,nDestTab1)) in MoveTable()
2835 nNewTab = pDoc->GetTableCount()-1; in MoveTable()
2843 ScChartHelper::AdjustRangesOfChartsOnDestinationPage( pDoc, pDestDoc, nTab, nNewTab ); in MoveTable()
2853 ScDocument* pDoc = pDocSh->GetDocument(); in ShowTable() local
2854 sal_Bool bUndo(pDoc->IsUndoEnabled()); in ShowTable()
2858 SCTAB nCount = pDoc->GetTableCount(); in ShowTable()
2861 pDoc->GetName( i, aTabName ); in ShowTable()
2871 pDoc->SetVisible( nPos, sal_True ); in ShowTable()
2891 ScDocument* pDoc = pDocSh->GetDocument(); in HideTable() local
2892 sal_Bool bUndo(pDoc->IsUndoEnabled()); in HideTable()
2894 SCTAB nCount = pDoc->GetTableCount(); in HideTable()
2897 if (pDoc->IsVisible(i)) in HideTable()
2903 pDoc->SetVisible( nTab, sal_False ); in HideTable()
2944 ScDocument* pDoc = GetViewData()->GetDocument(); in InsertSpecialChar() local
2945 if ( pDoc->HasStringWeakCharacters( rStr ) ) in InsertSpecialChar()
2948 nScript = pDoc->GetStringScriptType( rStr ); in InsertSpecialChar()
3013 ScDocument* pDoc = GetViewData()->GetDocument(); in SetSelectionFrameLines() local
3015 ScViewUtil::UnmarkFiltered( aFuncMark, pDoc ); in SetSelectionFrameLines()
3036 *(pDoc->GetPool()), in SetSelectionFrameLines()
3040 *(pDoc->GetPool()), in SetSelectionFrameLines()
3095 pDoc->ApplySelectionLineStyle( aFuncMark, pLine, bColorOnly ); in SetSelectionFrameLines()
3122 ScDocument* pDoc = GetViewData()->GetDocument(); in SetConditionalFormat() local
3123 sal_uLong nIndex = pDoc->AddCondFormat(rNew); // dafuer gibt's kein Undo in SetConditionalFormat()
3134 ScDocument* pDoc = GetViewData()->GetDocument(); in SetValidation() local
3135 sal_uLong nIndex = pDoc->AddValidationEntry(rNew); // dafuer gibt's kein Undo in SetValidation()