Lines Matching refs:pDocSh
100 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in AdjustBlockHeight() local
104 ScDocument* pDoc = pDocSh->GetDocument(); in AdjustBlockHeight()
118 ScSizeDeviceProvider aProv(pDocSh); in AdjustBlockHeight()
148 pDocSh->PostPaint( 0, nPaintY, nTab, MAXCOL, MAXROW, nTab, in AdjustBlockHeight()
155 pDocSh->UpdateOle(GetViewData()); in AdjustBlockHeight()
165 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in AdjustRowHeight() local
166 ScDocument* pDoc = pDocSh->GetDocument(); in AdjustRowHeight()
176 ScSizeDeviceProvider aProv(pDocSh); in AdjustRowHeight()
194 pDocSh->PostPaint( 0, nStartRow, nTab, MAXCOL, MAXROW, nTab, in AdjustRowHeight()
909 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in RemoveManualBreaks() local
910 ScDocument* pDoc = pDocSh->GetDocument(); in RemoveManualBreaks()
919 pDocSh->GetUndoManager()->AddUndoAction( in RemoveManualBreaks()
920 new ScUndoRemoveBreaks( pDocSh, nTab, pUndoDoc ) ); in RemoveManualBreaks()
927 pDocSh->SetDocumentModified(); in RemoveManualBreaks()
928 pDocSh->PostPaint( 0,0,nTab, MAXCOL,MAXROW,nTab, PAINT_GRID ); in RemoveManualBreaks()
935 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in SetPrintZoom() local
937 pDocSh->SetPrintZoom( nTab, nScale, nPages ); in SetPrintZoom()
956 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in SetPrintRanges() local
957 ScDocument* pDoc = pDocSh->GetDocument(); in SetPrintRanges()
1048 pDocSh->GetUndoManager()->AddUndoAction( in SetPrintRanges()
1049 new ScUndoPrintRange( pDocSh, nCurTab, pOldRanges, pNewRanges ) ); in SetPrintRanges()
1056 ScPrintFunc( pDocSh, pDocSh->GetPrinter(), nTab ).UpdatePages(); in SetPrintRanges()
1061 pDocSh->SetDocumentModified(); in SetPrintRanges()
1103 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in MergeCells() local
1104 ScDocument* pDoc = pDocSh->GetDocument(); in MergeCells()
1150 bOk = pDocSh->GetDocFunc().MergeCells( aMarkRange, rDoContents, bRecord, bApi ); in MergeCells()
1159 pDocSh->UpdateOle(GetViewData()); in MergeCells()
1199 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in RemoveMerge() local
1202 sal_Bool bOk = pDocSh->GetDocFunc().UnmergeCells( aRange, bRecord, sal_False ); in RemoveMerge()
1207 pDocSh->UpdateOle(GetViewData()); in RemoveMerge()
1219 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in FillSimple() local
1221 sal_Bool bSuccess = pDocSh->GetDocFunc().FillSimple( aRange, &rMark, eDir, bRecord, sal_False ); in FillSimple()
1224 pDocSh->UpdateOle(GetViewData()); in FillSimple()
1240 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in FillSeries() local
1242 sal_Bool bSuccess = pDocSh->GetDocFunc(). in FillSeries()
1247 pDocSh->UpdateOle(GetViewData()); in FillSeries()
1251 ScModelObj* pModelObj = ScModelObj::getImplementation( pDocSh->GetModel() ); in FillSeries()
1272 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in FillAuto() local
1274 sal_Bool bSuccess = pDocSh->GetDocFunc(). in FillAuto()
1279 pDocSh->UpdateOle(GetViewData()); in FillAuto()
1283 ScModelObj* pModelObj = ScModelObj::getImplementation( pDocSh->GetModel() ); in FillAuto()
1334 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in FillTab() local
1335 ScDocument* pDoc = pDocSh->GetDocument(); in FillTab()
1382 pDocSh->GetUndoManager()->AddUndoAction( in FillTab()
1383 new ScUndoFillTable( pDocSh, rMark, in FillTab()
1389 pDocSh->PostPaintGridAll(); in FillTab()
1390 pDocSh->PostDataChanged(); in FillTab()
1523 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in AutoFormat() local
1526 …sal_Bool bSuccess = pDocSh->GetDocFunc().AutoFormat( aRange, &rMark, nFormatNo, bRecord, sal_False… in AutoFormat()
1528 pDocSh->UpdateOle(GetViewData()); in AutoFormat()
1552 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in AutoFormat()
1553 ScDocument* pDoc = pDocSh->GetDocument(); in AutoFormat()
1584 pDocSh->PostPaint( 0,0,nStartTab, MAXCOL,MAXROW,nStartTab, in AutoFormat()
1591 pDocSh->PostPaint( 0,nStartRow,nStartTab, MAXCOL,MAXROW,nStartTab, in AutoFormat()
1594 pDocSh->PostPaint( nStartCol, nStartRow, nStartTab, in AutoFormat()
1600 pDocSh->GetUndoManager()->AddUndoAction( in AutoFormat()
1601 new ScUndoAutoFormat( pDocSh, in AutoFormat()
1606 pDocSh->UpdateOle(GetViewData()); in AutoFormat()
1607 pDocSh->SetDocumentModified(); in AutoFormat()
1622 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in SearchAndReplace() local
1623 ScDocument* pDoc = pDocSh->GetDocument(); in SearchAndReplace()
1781 pDocSh->PostPaintGridAll(); // Markierung in SearchAndReplace()
1834 pDocSh->PostPaint( nCol,nRow,nTab, nCol,nRow,nTab, PAINT_GRID ); in SearchAndReplace()
1836 pDocSh->PostPaintGridAll(); in SearchAndReplace()
1837 pDocSh->SetDocumentModified(); in SearchAndReplace()
1840 pDocSh->PostPaintGridAll(); // Markierung in SearchAndReplace()
1936 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in TabOp() local
1938 pDocSh->GetDocFunc().TabOp( aRange, &rMark, rParam, bRecord, sal_False ); in TabOp()
1950 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in MakeScenario() local
1954 SCTAB nNewTab = pDocSh->MakeScenario( nTab, rName, rComment, rColor, nFlags, rMark ); in MakeScenario()
1993 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in UseScenario() local
1998 pDocSh->UseScenario( nTab, rName ); in UseScenario()
2022 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in InsertTables() local
2023 ScDocument* pDoc = pDocSh->GetDocument(); in InsertTables()
2058 pDocSh->Broadcast( ScTablesHint( SC_TAB_INSERTED, nTab+i ) ); in InsertTables()
2073 pDocSh->GetUndoManager()->AddUndoAction( in InsertTables()
2074 new ScUndoInsertTables( pDocSh, nTab, sal_False, pNameList)); in InsertTables()
2079 pDocSh->PostPaintExtras(); in InsertTables()
2080 pDocSh->SetDocumentModified(); in InsertTables()
2095 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in AppendTable() local
2096 ScDocument* pDoc = pDocSh->GetDocument(); in AppendTable()
2109 pDocSh->GetUndoManager()->AddUndoAction( in AppendTable()
2110 new ScUndoInsertTab( pDocSh, nTab, sal_True, rName)); in AppendTable()
2113 pDocSh->PostPaintExtras(); in AppendTable()
2114 pDocSh->SetDocumentModified(); in AppendTable()
2129 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in DeleteTable() local
2130 ScDocument* pDoc = pDocSh->GetDocument(); in DeleteTable()
2132 sal_Bool bSuccess = pDocSh->GetDocFunc().DeleteTable( nTab, bRecord, sal_False ); in DeleteTable()
2145 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in DeleteTables() local
2146 ScDocument* pDoc = pDocSh->GetDocument(); in DeleteTables()
2229 VBA_DeleteModule( *pDocSh, sCodeName ); in DeleteTables()
2232 pDocSh->Broadcast( ScTablesHint( SC_TAB_DELETED, TheTabs[i-1] ) ); in DeleteTables()
2237 pDocSh->GetUndoManager()->AddUndoAction( in DeleteTables()
2252 pDocSh->UpdateLinks(); // Link-Manager updaten in DeleteTables()
2256 pDocSh->PostPaintExtras(); in DeleteTables()
2257 pDocSh->SetDocumentModified(); in DeleteTables()
2317 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in InsertAreaLink() local
2323 …pDocSh->GetDocFunc().InsertAreaLink( rFile, rFilter, rOptions, rSource, aPos, nRefresh, sal_False,… in InsertAreaLink()
2370 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in ImportTables() local
2371 ScDocument* pDoc = pDocSh->GetDocument(); in ImportTables()
2380 pDocSh->MakeDrawLayer(); in ImportTables()
2467 ScTableLink* pLink = new ScTableLink( pDocSh, aFileName, aFilterName, aOptions, nRefresh ); in ImportTables()
2481 pDocSh->GetUndoManager()->AddUndoAction( in ImportTables()
2482 new ScUndoImportTab( pDocSh, nTab, nCount, bLink ) ); in ImportTables()
2488 pDocSh->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, in ImportTables()
2495 pDocSh->PostPaintExtras(); in ImportTables()
2496 pDocSh->PostPaintGridAll(); in ImportTables()
2497 pDocSh->SetDocumentModified(); in ImportTables()
2852 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in ShowTable() local
2853 ScDocument* pDoc = pDocSh->GetDocument(); in ShowTable()
2874 pDocSh->GetUndoManager()->AddUndoAction( new ScUndoShowHideTab( pDocSh, nPos, sal_True ) ); in ShowTable()
2878 pDocSh->PostPaint(0,0,0,MAXCOL,MAXROW,MAXTAB, PAINT_EXTRAS); in ShowTable()
2879 pDocSh->SetDocumentModified(); in ShowTable()
2890 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in HideTable() local
2891 ScDocument* pDoc = pDocSh->GetDocument(); in HideTable()
2906 pDocSh->GetUndoManager()->AddUndoAction( new ScUndoShowHideTab( pDocSh, nTab, sal_False ) ); in HideTable()
2910 pDocSh->Broadcast( ScTablesHint( SC_TAB_HIDDEN, nTab ) ); in HideTable()
2914 pDocSh->PostPaint(0,0,0,MAXCOL,MAXROW,MAXTAB, PAINT_EXTRAS); in HideTable()
2915 pDocSh->SetDocumentModified(); in HideTable()
3016 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in SetSelectionFrameLines() local
3106 pDocSh->PostPaint( nStartCol, nStartRow, nStartTab, in SetSelectionFrameLines()
3110 pDocSh->UpdateOle( GetViewData() ); in SetSelectionFrameLines()
3111 pDocSh->SetDocumentModified(); in SetSelectionFrameLines()