Lines Matching refs:pViewWin
718 pViewWin->Invalidate(); in _ExecPgUpAndPgDown()
724 const sal_uInt16 nVisPages = pViewWin->GetRow() * pViewWin->GetCol(); in _ExecPgUpAndPgDown()
730 if ( (pViewWin->SelectedPage() - nVisPages) > 0 ) in _ExecPgUpAndPgDown()
731 nNewSelectedPageNum = pViewWin->SelectedPage() - nVisPages; in _ExecPgUpAndPgDown()
736 nScrollAmount = - Min( pViewWin->GetOutputSize().Height(), in _ExecPgUpAndPgDown()
737 pViewWin->GetPaintedPreviewDocRect().Top() ); in _ExecPgUpAndPgDown()
744 if ( (pViewWin->SelectedPage() + nVisPages) <= mnPageCount ) in _ExecPgUpAndPgDown()
745 nNewSelectedPageNum = pViewWin->SelectedPage() + nVisPages; in _ExecPgUpAndPgDown()
750 nScrollAmount = Min( pViewWin->GetOutputSize().Height(), in _ExecPgUpAndPgDown()
752 pViewWin->GetPaintedPreviewDocRect().Bottom() ) ); in _ExecPgUpAndPgDown()
754 pViewWin->Scroll( 0, nScrollAmount ); in _ExecPgUpAndPgDown()
757 pViewWin->SetSelectedPage( nNewSelectedPageNum ); in _ExecPgUpAndPgDown()
768 pViewWin->Invalidate(); in _ExecPgUpAndPgDown()
803 pViewWin->CalcWish( nRows, nCols ); in Execute()
807 SwPreViewZoomDlg( *pViewWin ).Execute(); in Execute()
822 if ( pViewWin->SetBookPreviewMode( bBookPreview ) ) in Execute()
834 pViewWin->Invalidate(); in Execute()
840 pViewWin->CalcWish( nRow, 2 ); in Execute()
934 if ( pViewWin->SelectedPage() != nNewSelectedPage ) in Execute()
945 pViewWin->SetSelectedPage( nNewSelectedPage ); in Execute()
946 pViewWin->SetSttPage( nNewStartPage ); in Execute()
974 pViewWin->SetSelectedPage( 1 ); in Execute()
978 pViewWin->SetSelectedPage( mnPageCount ); in Execute()
994 const SwPagePreViewPrtData* pPPVPD = pViewWin->GetViewShell()->GetDoc()->GetPreViewPrtData(); in Execute()
1003 ::SetAppPrintOptions( pViewWin->GetViewShell(), sal_False ); in Execute()
1013 ::SetAppPrintOptions( pViewWin->GetViewShell(), sal_False ); in Execute()
1026 sal_uInt16 nSelPage = pViewWin->SelectedPage(); in Execute()
1043 pViewWin->Invalidate(); in Execute()
1098 pViewWin->GetStatusStr( aStr, mnPageCount ); in GetState()
1170 if( 2 == pViewWin->GetCol() && nRow == pViewWin->GetRow() ) in GetState()
1296 pViewWin( new SwPagePreViewWin(&(GetViewFrame())->GetWindow(), *this ) ), in SwPagePreView()
1310 SetWindow( pViewWin ); in SwPagePreView()
1345 if( 1 != pViewWin->GetCol() && 1 == nPhysPg ) in SwPagePreView()
1347 pViewWin->SetSttPage( nPhysPg ); in SwPagePreView()
1360 pNew = new ViewShell( *pVS, pViewWin, 0, VSHELLFLAG_ISPREVIEW ); in SwPagePreView()
1364 pViewWin, 0, 0, VSHELLFLAG_ISPREVIEW ); in SwPagePreView()
1366 pViewWin->SetViewShell( pNew ); in SwPagePreView()
1380 ViewShell* pVShell = pViewWin->GetViewShell(); in ~SwPagePreView()
1385 delete pViewWin; in ~SwPagePreView()
1485 Rectangle aPixVisArea( pViewWin->LogicToPixel( aVisArea ) ); in IMPL_LINK_INLINE_END()
1486 int bChg = pViewWin->MovePage( eMvMode ) || in IMPL_LINK_INLINE_END()
1489 aVisArea = pViewWin->PixelToLogic( aPixVisArea ); in IMPL_LINK_INLINE_END()
1495 pViewWin->GetStatusStr( aStr, mnPageCount ); in IMPL_LINK_INLINE_END()
1527 const StyleSettings &rSet = pViewWin->GetSettings().GetStyleSettings(); in CalcAndSetBorderPixel()
1547 ViewResizePixel( *pViewWin, aRect.TopLeft(), aRect.GetSize(), in InnerResizePixel()
1548 pViewWin->GetOutputSizePixel(), in InnerResizePixel()
1566 ViewResizePixel( *pViewWin, rOfst, rSize, pViewWin->GetOutputSizePixel(), in OuterResizePixel()
1572 Size aTmpSize( pViewWin->GetOutputSizePixel() ); in OuterResizePixel()
1573 Point aBottomRight( pViewWin->PixelToLogic( Point( aTmpSize.Width(), aTmpSize.Height() ) ) ); in OuterResizePixel()
1628 pViewWin->Update(); in SetVisArea()
1632 pViewWin->SetWinSize( aLR.GetSize() ); in SetVisArea()
1636 pViewWin->Invalidate(); in SetVisArea()
1656 if( 1 == pViewWin->GetCol() || !nThmbPos ) in IMPL_LINK()
1700 if( nThmbPos != pViewWin->SelectedPage() ) in IMPL_LINK()
1717 pViewWin->SetSttPage( nThmbPos ); in IMPL_LINK()
1718 pViewWin->SetSelectedPage( nThmbPos ); in IMPL_LINK()
1726 const sal_Int16 nPageDiff = nThmbPos - pViewWin->SelectedPage(); in IMPL_LINK()
1727 const sal_uInt16 nVisPages = pViewWin->GetRow() * pViewWin->GetCol(); in IMPL_LINK()
1734 pViewWin->SetSelectedPage( nThmbPos ); in IMPL_LINK()
1735 … pViewWin->Scroll( 0, pPagePrevwLay->GetWinPagesScrollAmount( nWinPagesToScroll ) ); in IMPL_LINK()
1750 pViewWin->Scroll(0, nThmbPos - pViewWin->GetPaintedPreviewDocRect().Top()); in IMPL_LINK()
1756 pViewWin->Scroll(nThmbPos - pViewWin->GetPaintedPreviewDocRect().Left(), 0); in IMPL_LINK()
1769 pViewWin->Invalidate(); in IMPL_LINK()
1780 return pViewWin->PixelToLogic( pViewWin->LogicToPixel( rPt ) ); in AlignToPixel()
1805 pViewWin->Invalidate(); in DocSzChgd()
1825 sal_uInt16 nVisPages = pViewWin->GetRow() * pViewWin->GetCol(); in ScrollViewSzChg()
1830 if ( pPagePrevwLay->IsPageVisible( pViewWin->SelectedPage() ) ) in ScrollViewSzChg()
1832 pVScrollbar->SetThumbPos( pViewWin->SelectedPage() ); in ScrollViewSzChg()
1836 pVScrollbar->SetThumbPos( pViewWin->GetSttPage() ); in ScrollViewSzChg()
1838 pVScrollbar->SetLineSize( pViewWin->GetCol() ); in ScrollViewSzChg()
1850 const Rectangle& rDocRect = pViewWin->GetPaintedPreviewDocRect(); in ScrollViewSzChg()
1863 const Rectangle& rDocRect = pViewWin->GetPaintedPreviewDocRect(); in ScrollViewSzChg()
1905 return pViewWin->GetViewShell()->getIDocumentDeviceAccess()->getPrinter( bCreate ); in GetPrinter()
1943 pViewWin->CalcWish( pViewWin->GetRow(), pViewWin->GetCol() ); in SetPrinter()
2123 bOk = pViewWin->HandleScrollCommand( rCEvt, pHScrollbar, pVScrollbar ); in HandleWheelCommands()
2205 pViewWin->AdjustPreviewToNewZoom( nFactor, eType ); in SetZoom()