Lines Matching refs:pViewSh
136 ScViewPaneBase::ScViewPaneBase(ScTabViewShell* pViewSh, sal_uInt16 nP) : in ScViewPaneBase() argument
137 pViewShell( pViewSh ), in ScViewPaneBase()
436 ScViewPaneObj::ScViewPaneObj(ScTabViewShell* pViewSh, sal_uInt16 nP) : in ScViewPaneObj() argument
437 ScViewPaneBase( pViewSh, nP ) in ScViewPaneObj()
481 ScTabViewObj::ScTabViewObj( ScTabViewShell* pViewSh ) : in ScTabViewObj() argument
482 ScViewPaneBase( pViewSh, SC_VIEWPANE_ACTIVE ), in ScTabViewObj()
483 SfxBaseController( pViewSh ), in ScTabViewObj()
490 if (pViewSh) in ScTabViewObj()
491 nPreviousTab = pViewSh->GetViewData()->GetTabNo(); in ScTabViewObj()
719 ScTabViewShell* pViewSh = GetViewShell(); in select() local
721 if ( !pViewSh ) in select()
730 ScDrawView* pDrawView = pViewSh->GetScDrawView(); in select()
737 pViewSh->Unmark(); in select()
743 pViewSh->SetDrawSelMode(sal_False); in select()
744 pViewSh->UpdateLayerLocks(); in select()
759 ScViewData* pViewData = pViewSh->GetViewData(); in select()
765 ScDrawView* pDrawView = pViewSh->GetScDrawView(); in select()
771 FuPoor* pFunc = pViewSh->GetDrawFuncPtr(); in select()
775 SfxDispatcher* pDisp = pViewSh->GetDispatcher(); in select()
779 pViewSh->SetDrawShell(sal_False); in select()
780 pViewSh->SetDrawSelMode(sal_False); // nach dem Dispatcher-Execute in select()
788 pViewSh->Unmark(); in select()
790 pViewSh->MarkRange( *rRanges.GetObject(0) ); in select()
797 pViewSh->SetTabNo( pFirst->aStart.Tab() ); in select()
798 pViewSh->DoneBlockMode(); in select()
799 pViewSh->InitOwnBlockMode(); in select()
801 pViewSh->MarkDataChanged(); in select()
805 pViewSh->AlignToCursor( pFirst->aStart.Col(), pFirst->aStart.Row(), in select()
807 pViewSh->SetCursor( pFirst->aStart.Col(), pFirst->aStart.Row() ); in select()
817 ScDrawView* pDrawView = pViewSh->GetScDrawView(); in select()
828 lcl_ShowObject( *pViewSh, *pDrawView, pObj ); in select()
861 pViewSh->SetDrawSelMode(sal_True); in select()
862 pViewSh->UpdateLayerLocks(); in select()
867 lcl_ShowObject( *pViewSh, *pDrawView, pObj ); in select()
889 pViewSh->SetDrawShell(sal_True); in select()
902 ScTabViewShell* pViewSh = GetViewShell(); in getSelection() local
904 if (pViewSh) in getSelection()
908 SdrView* pDrawView = pViewSh->GetSdrView(); in getSelection()
937 ScViewData* pViewData = pViewSh->GetViewData(); in getSelection()
1011 ScTabViewShell* pViewSh = GetViewShell();
1012 if (pViewSh)
1014 SfxPrinter* pPrinter = pViewSh->GetPrinter(sal_True);
1028 ScTabViewShell* pViewSh = GetViewShell();
1029 if (pViewSh)
1031 SfxPrinter* pPrinter = pViewSh->GetPrinter(sal_True);
1037 pViewSh->SetPrinter( pNewPrinter, SFX_PRINTER_PRINTER );
1053 ScTabViewShell* pViewSh = GetViewShell();
1054 if (pViewSh)
1058 SfxRequest aReq( SID_PRINTDOCDIRECT, SFX_CALLMODE_SYNCHRON, pViewSh->GetPool() );
1059 pViewSh->ExecuteSlot( aReq );
1078 ScTabViewShell* pViewSh = GetViewShell(); in getCount() local
1080 if (pViewSh) in getCount()
1083 ScViewData* pViewData = pViewSh->GetViewData(); in getCount()
1124 ScTabViewShell* pViewSh = GetViewShell(); in GetObjectByIndex_Impl() local
1125 if (pViewSh) in GetObjectByIndex_Impl()
1129 ScViewData* pViewData = pViewSh->GetViewData(); in GetObjectByIndex_Impl()
1160 return new ScViewPaneObj( pViewSh, sal::static_int_cast<sal_uInt16>(eWhich) ); in GetObjectByIndex_Impl()
1170 ScTabViewShell* pViewSh = GetViewShell(); in getActiveSheet() local
1171 if (pViewSh) in getActiveSheet()
1173 ScViewData* pData = pViewSh->GetViewData(); in getActiveSheet()
1185 ScTabViewShell* pViewSh = GetViewShell(); in setActiveSheet() local
1186 if ( pViewSh && xActiveSheet.is() ) in setActiveSheet()
1191 if ( pRangesImp && pViewSh->GetViewData()->GetDocShell() == pRangesImp->GetDocShell() ) in setActiveSheet()
1197 if ( pViewSh->GetViewData()->GetDocument()->HasTable(nNewTab) ) in setActiveSheet()
1198 pViewSh->SetTabNo( nNewTab ); in setActiveSheet()
1312 ScTabViewShell* pViewSh = GetViewShell(); in MousePressed() local
1313 ScViewData* pViewData = pViewSh->GetViewData(); in MousePressed()
1522 ScTabViewShell* pViewSh = GetViewShell();
1523 if (pViewSh)
1524 return pViewSh->GetViewData()->IsPagebreakMode();
1531 ScTabViewShell* pViewSh = GetViewShell();
1532 if (pViewSh)
1533 pViewSh->SetPagebreakMode(PagebreakMode);
1540 ScTabViewShell* pViewSh = GetViewShell(); in GetZoom() local
1541 if (pViewSh) in GetZoom()
1543 const Fraction& rZoomY = pViewSh->GetViewData()->GetZoomY(); // Y wird angezeigt in GetZoom()
1551 ScTabViewShell* pViewSh = GetViewShell(); in SetZoom() local
1552 if (pViewSh) in SetZoom()
1556 if (!pViewSh->GetViewData()->IsPagebreakMode()) in SetZoom()
1561 aNewOpt.SetZoomType( pViewSh->GetViewData()->GetView()->GetZoomType() ); in SetZoom()
1566 pViewSh->SetZoom( aFract, aFract, sal_True ); in SetZoom()
1567 pViewSh->PaintGrid(); in SetZoom()
1568 pViewSh->PaintTop(); in SetZoom()
1569 pViewSh->PaintLeft(); in SetZoom()
1570 pViewSh->GetViewFrame()->GetBindings().Invalidate( SID_ATTR_ZOOM ); in SetZoom()
1571 pViewSh->GetViewFrame()->GetBindings().Invalidate( SID_ATTR_ZOOMSLIDER ); in SetZoom()
1578 ScTabViewShell* pViewSh = GetViewShell(); in GetZoomType() local
1579 if (pViewSh) in GetZoomType()
1581 SvxZoomType eZoomType = pViewSh->GetViewData()->GetView()->GetZoomType(); in GetZoomType()
1606 ScTabViewShell* pViewSh = GetViewShell(); in SetZoomType() local
1607 if (pViewSh) in SetZoomType()
1609 ScDBFunc* pView = pViewSh->GetViewData()->GetView(); in SetZoomType()
1663 ScTabViewShell* pViewSh = GetViewShell(); in getIsWindowSplit() local
1664 if (pViewSh) in getIsWindowSplit()
1666 ScViewData* pViewData = pViewSh->GetViewData(); in getIsWindowSplit()
1679 ScTabViewShell* pViewSh = GetViewShell(); in hasFrozenPanes() local
1680 if (pViewSh) in hasFrozenPanes()
1682 ScViewData* pViewData = pViewSh->GetViewData(); in hasFrozenPanes()
1693 ScTabViewShell* pViewSh = GetViewShell(); in getSplitHorizontal() local
1694 if (pViewSh) in getSplitHorizontal()
1696 ScViewData* pViewData = pViewSh->GetViewData(); in getSplitHorizontal()
1706 ScTabViewShell* pViewSh = GetViewShell(); in getSplitVertical() local
1707 if (pViewSh) in getSplitVertical()
1709 ScViewData* pViewData = pViewSh->GetViewData(); in getSplitVertical()
1719 ScTabViewShell* pViewSh = GetViewShell(); in getSplitColumn() local
1720 if (pViewSh) in getSplitColumn()
1722 ScViewData* pViewData = pViewSh->GetViewData(); in getSplitColumn()
1744 ScTabViewShell* pViewSh = GetViewShell(); in getSplitRow() local
1745 if (pViewSh) in getSplitRow()
1747 ScViewData* pViewData = pViewSh->GetViewData(); in getSplitRow()
1767 ScTabViewShell* pViewSh = GetViewShell(); in splitAtPosition() local
1768 if (pViewSh) in splitAtPosition()
1770 pViewSh->SplitAtPixel( Point( nPixelX, nPixelY ), sal_True, sal_True ); in splitAtPosition()
1771 pViewSh->FreezeSplitters( sal_False ); in splitAtPosition()
1772 pViewSh->InvalidateSplit(); in splitAtPosition()
1780 ScTabViewShell* pViewSh = GetViewShell(); in freezeAtPosition() local
1781 if (pViewSh) in freezeAtPosition()
1785 pViewSh->RemoveSplit(); in freezeAtPosition()
1788 Window* pWin = pViewSh->GetWindowByPos( SC_SPLIT_BOTTOMLEFT ); in freezeAtPosition()
1792 ScViewData* pViewData = pViewSh->GetViewData(); in freezeAtPosition()
1796 pViewSh->SplitAtPixel( aSplit, sal_True, sal_True ); in freezeAtPosition()
1797 pViewSh->FreezeSplitters( sal_True ); in freezeAtPosition()
1798 pViewSh->InvalidateSplit(); in freezeAtPosition()
1837 ScTabViewShell* pViewSh = GetViewShell(); in SelectionChanged() local
1838 ScViewData* pViewData = pViewSh->GetViewData(); in SelectionChanged()
1894 ScTabViewShell* pViewSh = GetViewShell(); in setPropertyValue() local
1895 if (pViewSh) in setPropertyValue()
1897 ScViewData* pViewData = pViewSh->GetViewData(); in setPropertyValue()
1898 const ScViewOptions& rOldOpt = pViewSh->GetViewData()->GetOptions(); in setPropertyValue()
1992 pViewSh->UpdateFixPos(); in setPropertyValue()
1993 pViewSh->PaintGrid(); in setPropertyValue()
1994 pViewSh->PaintTop(); in setPropertyValue()
1995 pViewSh->PaintLeft(); in setPropertyValue()
1996 pViewSh->PaintExtras(); in setPropertyValue()
1997 pViewSh->InvalidateBorder(); in setPropertyValue()
1999 SfxBindings& rBindings = pViewSh->GetViewFrame()->GetBindings(); in setPropertyValue()
2014 ScTabViewShell* pViewSh = GetViewShell(); in getPropertyValue() local
2015 if (pViewSh) in getPropertyValue()
2017 const ScViewOptions& rOpt = pViewSh->GetViewData()->GetOptions(); in getPropertyValue()
2048 ScViewData* pViewData = pViewSh->GetViewData(); in getPropertyValue()
2123 ScTabViewShell* pViewSh = GetViewShell(); in startRangeSelection() local
2124 if (pViewSh) in startRangeSelection()
2157 pViewSh->StartSimpleRefDialog( aTitle, aInitVal, bCloseOnButtonUp, bSingleCell, bMultiSelection ); in startRangeSelection()
2164 ScTabViewShell* pViewSh = GetViewShell(); in abortRangeSelection() local
2165 if (pViewSh) in abortRangeSelection()
2166 pViewSh->StopSimpleRefDialog(); in abortRangeSelection()