Lines Matching refs:pPreview
128 pPreview = new ScPreview( pParent, pDocShell, this ); in Construct()
131 SetWindow( pPreview ); in Construct()
186 delete pPreview; in ~ScPreviewShell()
197 pPreview->SetPageNo( pPreview->GetFirstPage(nTab) ); in InitStartTable()
251 pPreview->SetPosSizePixel( rPos, aOutSize ); in AdjustPosSizePixel()
260 pPreview->SetZoom( pPreview->GetOptimalZoom(sal_False) ); in AdjustPosSizePixel()
262 pPreview->SetZoom( pPreview->GetOptimalZoom(sal_True) ); in AdjustPosSizePixel()
280 SCTAB nTab = pPreview->GetTab(); in UpdateScrollBars()
295 Size aWindowSize = pPreview->GetOutputSize(); in UpdateScrollBars()
297 Point aOfs = pPreview->GetOffset(); in UpdateScrollBars()
311 pPreview->SetXOffset( nMaxPos / 2 ); in UpdateScrollBars()
317 pPreview->SetXOffset( 0 ); in UpdateScrollBars()
323 pPreview->SetXOffset(nMaxPos); in UpdateScrollBars()
330 long nPageNo = pPreview->GetPageNo(); in UpdateScrollBars()
331 long nTotalPages = pPreview->GetTotalPages(); in UpdateScrollBars()
341 pPreview->SetYOffset( nMaxVertPos / 2 ); in UpdateScrollBars()
350 pPreview->SetYOffset( 0 ); in UpdateScrollBars()
358 pPreview->SetYOffset( nMaxVertPos ); in UpdateScrollBars()
369 long nTotalPages = pPreview->GetTotalPages(); in IMPL_LINK()
390 pPreview->SetXOffset( nPos ); in IMPL_LINK()
394 pPreview->SetYOffset( nPos ); in IMPL_LINK()
406 pPreview->SetPageNo( nPageNo-1 ); in IMPL_LINK()
408 pPreview->SetPageNo( nPageNo ); in IMPL_LINK()
419 sal_Bool bAllTested = pPreview->AllTested(); in IMPL_LINK()
421 pPreview->SetPageNo( nPageNo ); in IMPL_LINK()
449 long nOld = pPreview->GetZoom(); in ScrollCommand()
459 pPreview->SetZoom( (sal_uInt16)nNew ); in ScrollCommand()
466 bDone = pPreview->HandleScrollCommand( rCEvt, pHorScroll, pVerScroll ); in ScrollCommand()
531 pDocShell->ExecutePageStyle( *this, rReq, pPreview->GetTab() ); in Execute()
534 pPreview->Invalidate(); in Execute()
540 long nPage = pPreview->GetPageNo(); in Execute()
541 long nTotal = pPreview->GetTotalPages(); in Execute()
543 pPreview->SetPageNo( nPage-1 ); in Execute()
549 sal_Bool bAllTested = pPreview->AllTested(); in Execute()
550 long nPage = pPreview->GetPageNo(); in Execute()
551 long nTotal = pPreview->GetTotalPages(); in Execute()
553 pPreview->SetPageNo( nPage+1 ); in Execute()
559 long nPage = pPreview->GetPageNo(); in Execute()
560 long nTotal = pPreview->GetTotalPages(); in Execute()
562 pPreview->SetPageNo( 0 ); in Execute()
568 if (!pPreview->AllTested()) in Execute()
569 pPreview->CalcAll(); in Execute()
571 long nPage = pPreview->GetPageNo(); in Execute()
572 long nTotal = pPreview->GetTotalPages(); in Execute()
574 pPreview->SetPageNo( nTotal-1 ); in Execute()
597 SvxZoomItem aZoomItem( SVX_ZOOM_PERCENT, pPreview->GetZoom(), SID_ATTR_ZOOM ); in Execute()
630 nZoom = pPreview->GetOptimalZoom(sal_False); in Execute()
633 nZoom = pPreview->GetOptimalZoom(sal_True); in Execute()
641 pPreview->SetZoom( nZoom ); in Execute()
648 sal_uInt16 nNew = pPreview->GetZoom() + 20 ; in Execute()
650 pPreview->SetZoom( nNew ); in Execute()
657 sal_uInt16 nNew = pPreview->GetZoom() - 1; in Execute()
659 pPreview->SetZoom( nNew ); in Execute()
666 sal_Bool bMargin = pPreview->GetPageMargins(); in Execute()
667 pPreview->SetPageMargins( !bMargin ); in Execute()
668 pPreview->Invalidate(); in Execute()
681 pPreview->SetZoom( nCurrentZoom ); in Execute()
690 SCTAB nTab = pPreview->GetTab(); in Execute()
691 … String aOldName = pDocShell->GetDocument()->GetPageStyle( pPreview->GetTab() ); in Execute()
738 pPreview->SetInGetState(sal_True); in GetState()
740 SCTAB nTab = pPreview->GetTab(); in GetState()
741 long nPage = pPreview->GetPageNo(); in GetState()
742 long nTotal = pPreview->GetTotalPages(); in GetState()
743 sal_uInt16 nZoom = pPreview->GetZoom(); in GetState()
744 sal_Bool bAllTested = pPreview->AllTested(); in GetState()
800 … String aOldName = pDocShell->GetDocument()->GetPageStyle( pPreview->GetTab() ); in GetState()
822 rSet.Put( SfxStringItem( nWhich, pPreview->GetPosString() ) ); in GetState()
837 pPreview->SetInGetState(sal_False); in GetState()
843 SCTAB nTab = pPreview->GetTab(); in FillFieldData()
853 rData.nPageNo = pPreview->GetPageNo() + 1; in FillFieldData()
855 sal_Bool bAllTested = pPreview->AllTested(); in FillFieldData()
857 rData.nTotalPages = pPreview->GetTotalPages(); in FillFieldData()
869 rData = String::CreateFromInt32(pPreview->GetZoom()); in WriteUserData()
871 rData += String::CreateFromInt32(pPreview->GetPageNo()); in WriteUserData()
880 pPreview->SetZoom((sal_uInt16)rData.GetToken( 0, SC_USERDATA_SEP, nIndex ).ToInt32()); in ReadUserData()
881 pPreview->SetPageNo(rData.GetToken( 0, SC_USERDATA_SEP, nIndex ).ToInt32()); in ReadUserData()
898 pSeq[1].Value <<= sal_Int32 (pPreview->GetZoom()); in WriteUserDataSequence()
900 pSeq[2].Value <<= pPreview->GetPageNo(); in WriteUserDataSequence()
919 pPreview->SetZoom(sal_uInt16(nTemp)); in ReadUserDataSequence()
924 pPreview->SetPageNo(nTemp); in ReadUserDataSequence()
954 long nPage = pPreview->GetPageNo(); in DoScroll()
969 long nPage = pPreview->GetPageNo(); in DoScroll()
970 long nTotal = pPreview->GetTotalPages(); in DoScroll()
973 if ( nPage+1 == nTotal && !pPreview->AllTested() ) in DoScroll()
975 pPreview->CalcAll(); in DoScroll()
976 nTotal = pPreview->GetTotalPages(); in DoScroll()
998 long nPage = pPreview->GetPageNo(); in DoScroll()
1014 long nPage = pPreview->GetPageNo(); in DoScroll()
1015 long nTotal = pPreview->GetTotalPages(); in DoScroll()
1018 if ( nPage+1 == nTotal && !pPreview->AllTested() ) in DoScroll()
1020 pPreview->CalcAll(); in DoScroll()
1021 nTotal = pPreview->GetTotalPages(); in DoScroll()
1037 long nPage = pPreview->GetPageNo(); in DoScroll()
1038 long nTotal = pPreview->GetTotalPages(); in DoScroll()
1055 if( !pPreview->AllTested() ) in DoScroll()
1056 pPreview->CalcAll(); in DoScroll()
1057 long nPage = pPreview->GetPageNo(); in DoScroll()
1058 long nTotal = pPreview->GetTotalPages(); in DoScroll()
1090 pPreview->SetYOffset( aCurPos.Y() ); in DoScroll()
1097 pPreview->SetXOffset( aCurPos.X() ); in DoScroll()
1133 return pPreview->GetLocationData(); in GetLocationData()