Lines Matching refs:pDocSh

203 	ScDocShell* pDocSh = GetViewData()->GetDocShell();  in DoAutoAttributes()  local
204 ScDocument* pDoc = pDocSh->GetDocument(); in DoAutoAttributes()
229 pDocSh->GetUndoManager()->AddUndoAction( in DoAutoAttributes()
230 new ScUndoCursorAttr( pDocSh, nCol, nRow, nTab, in DoAutoAttributes()
248 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in GetOptimalColWidth() local
249 ScDocument* pDoc = pDocSh->GetDocument(); in GetOptimalColWidth()
257 ScSizeDeviceProvider aProv(pDocSh); in GetOptimalColWidth()
353 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in EnterData() local
354 ScDocShellModificator aModificator( *pDocSh ); in EnterData()
641 pDocSh->GetUndoManager()->AddUndoAction( in EnterData()
642 new ScUndoEnterData( pDocSh, nCol, nRow, nTab, nUndoPos, pTabs, in EnterData()
649 pDocSh->PostPaintCell( nCol, nRow, i ); in EnterData()
653 pDocSh->UpdateOle(GetViewData()); in EnterData()
656 ScModelObj* pModelObj = ScModelObj::getImplementation( pDocSh->GetModel() ); in EnterData()
684 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in EnterValue() local
687 if ( pDoc && pDocSh ) in EnterValue()
689 ScDocShellModificator aModificator( *pDocSh ); in EnterValue()
708 pDocSh->GetUndoManager()->AddUndoAction( in EnterValue()
709 new ScUndoEnterValue( pDocSh, aPos, pUndoCell, rValue, bNeedHeight ) ); in EnterValue()
717 pDocSh->PostPaintCell( aPos ); in EnterValue()
718 pDocSh->UpdateOle(GetViewData()); in EnterValue()
729 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in EnterData() local
731 ScDocument* pDoc = pDocSh->GetDocument(); in EnterData()
735 ScDocShellModificator aModificator( *pDocSh ); in EnterData()
834 pDocSh->GetUndoManager()->AddUndoAction( in EnterData()
835 new ScUndoEnterData( pDocSh, nCol, nRow, nTab, nPos, pTabs, in EnterData()
846 pDocSh->PostPaintCell( nCol, nRow, i ); in EnterData()
850 pDocSh->UpdateOle(GetViewData()); in EnterData()
853 ScModelObj* pModelObj = ScModelObj::getImplementation( pDocSh->GetModel() ); in EnterData()
921 ScDocShell* pDocSh = pData->GetDocShell(); in EnterMatrix() local
922 …sal_Bool bSuccess = pDocSh->GetDocFunc().EnterMatrix( aRange, &rMark, NULL, rString, sal_False, sa… in EnterMatrix()
924 pDocSh->UpdateOle(GetViewData()); in EnterMatrix()
1199 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in ApplyPatternLines() local
1201 ScDocShellModificator aModificator( *pDocSh ); in ApplyPatternLines()
1218 pDocSh->GetUndoManager()->AddUndoAction( in ApplyPatternLines()
1220 pDocSh, aFuncMark, in ApplyPatternLines()
1227 pDocSh->UpdatePaintExt( nExt, aMarkRange ); // content before the change in ApplyPatternLines()
1231 pDocSh->UpdatePaintExt( nExt, aMarkRange ); // content after the change in ApplyPatternLines()
1236 pDocSh->PostPaint( aMarkRange, PAINT_GRID, nExt ); in ApplyPatternLines()
1237 pDocSh->UpdateOle(GetViewData()); in ApplyPatternLines()
1250 ScDocShell* pDocSh = pViewData->GetDocShell(); in ApplySelectionPattern() local
1251 ScDocument* pDoc = pDocSh->GetDocument(); in ApplySelectionPattern()
1273 ScDocShellModificator aModificator( *pDocSh ); in ApplySelectionPattern()
1327 pDocSh->GetUndoManager()->AddUndoAction( in ApplySelectionPattern()
1329 pDocSh, aFuncMark, in ApplySelectionPattern()
1337 pDocSh->PostPaint( nStartCol, nStartRow, nStartTab, in ApplySelectionPattern()
1340 pDocSh->UpdateOle(GetViewData()); in ApplySelectionPattern()
1358 pDocSh->GetUndoManager()->AddUndoAction( in ApplySelectionPattern()
1359 new ScUndoCursorAttr( pDocSh, in ApplySelectionPattern()
1366 pDocSh->PostPaint( nCol,nRow,nTab, nCol,nRow,nTab, PAINT_GRID, nExtFlags | SC_PF_TESTMERGE ); in ApplySelectionPattern()
1367 pDocSh->UpdateOle(GetViewData()); in ApplySelectionPattern()
1373 ScModelObj* pModelObj = ScModelObj::getImplementation( pDocSh->GetModel() ); in ApplySelectionPattern()
1460 ScDocShell* pDocSh = pViewData->GetDocShell(); in SetStyleSheetToMarked() local
1461 ScDocument* pDoc = pDocSh->GetDocument(); in SetStyleSheetToMarked()
1468 ScDocShellModificator aModificator( *pDocSh ); in SetStyleSheetToMarked()
1492 pDocSh->GetUndoManager()->AddUndoAction( in SetStyleSheetToMarked()
1493 new ScUndoSelectionStyle( pDocSh, aFuncMark, aMarkRange, aName, pUndoDoc ) ); in SetStyleSheetToMarked()
1525 pDocSh->GetUndoManager()->AddUndoAction( in SetStyleSheetToMarked()
1526 new ScUndoSelectionStyle( pDocSh, aUndoMark, aMarkRange, aName, pUndoDoc ) ); in SetStyleSheetToMarked()
1551 ScDocShell* pDocSh = pViewData->GetDocShell(); in RemoveStyleSheetInUse() local
1553 ScDocShellModificator aModificator( *pDocSh ); in RemoveStyleSheetInUse()
1563 pDocSh->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID|PAINT_LEFT ); in RemoveStyleSheetInUse()
1578 ScDocShell* pDocSh = pViewData->GetDocShell(); in UpdateStyleSheetInUse() local
1580 ScDocShellModificator aModificator( *pDocSh ); in UpdateStyleSheetInUse()
1590 pDocSh->PostPaint( 0,0,0, MAXCOL,MAXROW,MAXTAB, PAINT_GRID|PAINT_LEFT ); in UpdateStyleSheetInUse()
1605 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in InsertCells() local
1607 …sal_Bool bSuccess = pDocSh->GetDocFunc().InsertCells( aRange, &rMark, eCmd, bRecord, sal_False, bP… in InsertCells()
1610 pDocSh->UpdateOle(GetViewData()); in InsertCells()
1614 ScModelObj* pModelObj = ScModelObj::getImplementation( pDocSh->GetModel() ); in InsertCells()
1644 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in DeleteCells() local
1648 if ( pDocSh->IsDocShared() && ( eCmd == DEL_DELROWS || eCmd == DEL_DELCOLS ) ) in DeleteCells()
1662 pDocSh->GetDocFunc().DeleteCells( aDelRange, &rMark, eCmd, bRecord, sal_False ); in DeleteCells()
1668 pDocSh->GetDocFunc().DeleteCells( aRange, &rMark, eCmd, bRecord, sal_False ); in DeleteCells()
1671 pDocSh->UpdateOle(GetViewData()); in DeleteCells()
1675 ScModelObj* pModelObj = ScModelObj::getImplementation( pDocSh->GetModel() ); in DeleteCells()
1713 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in DeleteMulti() local
1714 ScDocShellModificator aModificator( *pDocSh ); in DeleteMulti()
1716 ScDocument* pDoc = pDocSh->GetDocument(); in DeleteMulti()
1858 pDocSh->GetUndoManager()->AddUndoAction( in DeleteMulti()
1859 new ScUndoDeleteMulti( pDocSh, bRows, bNeedRefresh, nTab, pRanges, nRangeCnt, in DeleteMulti()
1866 pDocSh->PostPaint( 0,pRanges[0],nTab, MAXCOL,MAXROW,nTab, PAINT_GRID | PAINT_LEFT ); in DeleteMulti()
1868 pDocSh->PostPaint( static_cast<SCCOL>(pRanges[0]),0,nTab, in DeleteMulti()
1910 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in DeleteContents() local
1917 ScDocShellModificator aModificator( *pDocSh ); in DeleteContents()
1966 pDocSh->UpdatePaintExt( nExtFlags, aMarkRange ); in DeleteContents()
2029 pDocSh->GetUndoManager()->AddUndoAction( in DeleteContents()
2030 new ScUndoDeleteContents( pDocSh, aFuncMark, aExtendedRange, in DeleteContents()
2035 pDocSh->PostPaint( aExtendedRange, PAINT_GRID, nExtFlags ); in DeleteContents()
2037 pDocSh->UpdateOle(GetViewData()); in DeleteContents()
2040 ScModelObj* pModelObj = ScModelObj::getImplementation( pDocSh->GetModel() ); in DeleteContents()
2081 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in SetWidthOrHeight() local
2082 ScDocument* pDoc = pDocSh->GetDocument(); in SetWidthOrHeight()
2090 ScDocShellModificator aModificator( *pDocSh ); in SetWidthOrHeight()
2214 ScSizeDeviceProvider aProv(pDocSh); in SetWidthOrHeight()
2285 pDocSh->GetUndoManager()->AddUndoAction( in SetWidthOrHeight()
2286 new ScUndoWidthOrHeight( pDocSh, *pMarkData, in SetWidthOrHeight()
2313 pDocSh->PostPaint( static_cast<SCCOL>(nStart), 0, nTab, in SetWidthOrHeight()
2322 pDocSh->PostPaint( 0, nStart, nTab, MAXCOL, MAXROW, nTab, PAINT_GRID | PAINT_LEFT ); in SetWidthOrHeight()
2326 pDocSh->UpdateOle(GetViewData()); in SetWidthOrHeight()
2335 ScModelObj* pModelObj = ScModelObj::getImplementation( pDocSh->GetModel() ); in SetWidthOrHeight()
2405 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in ModifyCellSize() local
2406 ScDocument* pDoc = pDocSh->GetDocument(); in ModifyCellSize()
2445 nWidth = (sal_uInt16)(nEdit * pDocSh->GetOutputFactor() / HMM_PER_TWIPS) in ModifyCellSize()
2456 ScSizeDeviceProvider aProv(pDocSh); in ModifyCellSize()
2541 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in ProtectSheet() local
2542 ScDocument* pDoc = pDocSh->GetDocument(); in ProtectSheet()
2543 ScDocFunc aFunc(*pDocSh); in ProtectSheet()
2551 pDocSh->GetUndoManager()->EnterListAction( aUndo, aUndo ); in ProtectSheet()
2554 SCTAB nCount = pDocSh->GetDocument()->GetTableCount(); in ProtectSheet()
2560 pDocSh->GetUndoManager()->LeaveListAction(); in ProtectSheet()
2568 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in Protect() local
2569 ScDocument* pDoc = pDocSh->GetDocument(); in Protect()
2570 ScDocFunc aFunc(*pDocSh); in Protect()
2582 pDocSh->GetUndoManager()->EnterListAction( aUndo, aUndo ); in Protect()
2585 SCTAB nCount = pDocSh->GetDocument()->GetTableCount(); in Protect()
2591 pDocSh->GetUndoManager()->LeaveListAction(); in Protect()
2600 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in Unprotect() local
2601 ScDocument* pDoc = pDocSh->GetDocument(); in Unprotect()
2602 ScDocFunc aFunc(*pDocSh); in Unprotect()
2615 pDocSh->GetUndoManager()->EnterListAction( aUndo, aUndo ); in Unprotect()
2618 SCTAB nCount = pDocSh->GetDocument()->GetTableCount(); in Unprotect()
2625 pDocSh->GetUndoManager()->LeaveListAction(); in Unprotect()
2852 ScDocShell* pDocSh = pViewData->GetDocShell(); in ChangeIndent() local
2856 ScViewUtil::UnmarkFiltered( aWorkMark, pDocSh->GetDocument() ); in ChangeIndent()
2866 sal_Bool bSuccess = pDocSh->GetDocFunc().ChangeIndent( aWorkMark, bIncrement, sal_False ); in ChangeIndent()
2869 pDocSh->UpdateOle(pViewData); in ChangeIndent()
2886 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in InsertName() local
2887 ScDocument* pDoc = pDocSh->GetDocument(); in InsertName()
2909 ScDocShellModificator aModificator( *pDocSh ); in InsertName()
3012 ScDocShell* pDocSh = GetViewData()->GetDocShell(); in InsertNameList() local
3013 if ( pDocSh->GetDocFunc().InsertNameList( aPos, sal_False ) ) in InsertNameList()
3014 pDocSh->UpdateOle(GetViewData()); in InsertNameList()