Home
last modified time | relevance | path

Searched refs:nZoom (Results 1 – 25 of 58) sorted by relevance

123

/aoo41x/main/svx/source/stbctrls/
H A Dzoomctrl.cxx57 sal_uInt16 nZoom; member in ZoomPopup_Impl
69 nZoom( nZ ) in ZoomPopup_Impl()
95 case ZOOM_200: nZoom = 200; break; in Select()
96 case ZOOM_150: nZoom = 150; break; in Select()
97 case ZOOM_100: nZoom = 100; break; in Select()
98 case ZOOM_75: nZoom = 75; break; in Select()
99 case ZOOM_50: nZoom = 50; break; in Select()
115 nZoom( 100 ), in SvxZoomStatusBarControl()
133 nZoom = pItem->GetValue(); in StateChanged()
185 …if ( aPop.Execute( &rStatusbar, rCEvt.GetMousePosPixel() ) && ( nZoom != aPop.GetZoom() || !nZoom in Command()
[all …]
/aoo41x/main/sd/source/ui/view/
H A Dsdwindow.cxx153 long nZoom = GetZoom(); in CalcMinZoom() local
186 if ( nZoom < (long) mnMinZoom ) in CalcMinZoom()
461 if ( nZoom > MAX_ZOOM ) in SetZoomFactor()
462 nZoom = MAX_ZOOM; in SetZoomFactor()
464 nZoom = mnMinZoom; in SetZoomFactor()
482 return nZoom; in SetZoomFactor()
490 if ( nZoom > MAX_ZOOM ) in SetZoomIntegral()
491 nZoom = MAX_ZOOM; in SetZoomIntegral()
493 nZoom = mnMinZoom; in SetZoomIntegral()
506 SetZoomFactor(nZoom); in SetZoomIntegral()
[all …]
H A Dviewshe2.cxx383 void ViewShell::SetZoom(long nZoom) in SetZoom() argument
385 Fraction aUIScale(nZoom, 100); in SetZoom()
396 mpContentWindow->SetZoomIntegral(nZoom); in SetZoom()
427 long nZoom = GetActiveWindow()->SetZoomRect(rZoomRect); in SetZoomRect() local
428 Fraction aUIScale(nZoom, 100); in SetZoomRect()
444 mpContentWindow->SetZoomIntegral(nZoom); in SetZoomRect()
708 long nZoom = (long)((double) rZoomX * 100); in SetZoomFactor() local
709 SetZoom(nZoom); in SetZoomFactor()
/aoo41x/main/sc/source/ui/view/
H A Dprintfun.cxx213 nZoom = 100; in Construct()
288 nZoom = rState.nZoom; in ScPrintFunc()
307 rState.nZoom = nZoom; in GetPrintState()
2438 nZoom = 100; in UpdatePages()
2829 nZoom = 100; in CalcZoom()
2838 nZoom = 100; in CalcZoom()
2857 nZoom = (nLastNonFitZoom + nZoom) / 2; in CalcZoom()
2873 nZoom = (nLastFitZoom + nZoom) / 2; in CalcZoom()
2899 nZoom = (nLastNonFitZoom + nZoom) / 2; in CalcZoom()
2915 nZoom = (nLastFitZoom + nZoom) / 2; in CalcZoom()
[all …]
H A Dpreview.cxx97 nZoom( 100 ), in ScPreview()
218 aState.nZoom = 0; in TestLastPage()
346 Fraction aPreviewZoom( nZoom, 100 ); in DoPrint()
392 pPrintFunc->SetManualZoom(nZoom); in DoPrint()
690 if (nNewZoom != nZoom) in SetZoom()
692 nZoom = nNewZoom; in SetZoom()
696 Fraction aPreviewZoom( nZoom, 100 ); in SetZoom()
797 return nZoom; in GetOptimalZoom()
931 Fraction aPreviewZoom( nZoom, 100 ); in MouseButtonDown()
1258 Fraction aPreviewZoom( nZoom, 100 ); in MouseMove()
[all …]
H A Dtabvwsh3.cxx652 sal_uInt16 nZoom = nOldZoom; in Execute() local
661 nZoom = rZoomItem.GetValue(); in Execute()
701 nZoom = rZoomItem.GetValue(); in Execute()
711 if ( nZoom < MINZOOM ) nZoom = MINZOOM; in Execute()
712 if ( nZoom > MAXZOOM ) nZoom = MAXZOOM; in Execute()
716 nZoom = CalcZoom( eNewZoomType, nOldZoom ); in Execute()
717 bCancel = nZoom == 0; in Execute()
732 if ( nZoom != nOldZoom && !bCancel ) in Execute()
737 aNewOpt.SetZoom( nZoom ); in Execute()
741 Fraction aFract( nZoom, 100 ); in Execute()
[all …]
H A Dtabview2.cxx607 sal_Bool lcl_FitsInWindow( double fScaleX, double fScaleY, sal_uInt16 nZoom, in lcl_FitsInWindow() argument
612 double fZoomFactor = (double)Fraction(nZoom,100); in lcl_FitsInWindow()
671 sal_uInt16 nZoom = 0; // Ergebnis in CalcZoom() local
676 nZoom = nOldZoom; in CalcZoom()
685 nZoom = 100; // nothing selected in CalcZoom()
756 nZoom = nMin; in CalcZoom()
758 if ( nZoom != nOldZoom ) in CalcZoom()
844 nZoom = (sal_uInt16) nNew; in CalcZoom()
851 nZoom = 0; in CalcZoom()
854 return nZoom; in CalcZoom()
H A Dprevwsh.cxx580 sal_uInt16 nZoom = 100; in Execute() local
592 nZoom = rZoomItem.GetValue(); in Execute()
617 nZoom = rZoomItem.GetValue(); in Execute()
630 nZoom = pPreview->GetOptimalZoom(sal_False); in Execute()
633 nZoom = pPreview->GetOptimalZoom(sal_True); in Execute()
641 pPreview->SetZoom( nZoom ); in Execute()
743 sal_uInt16 nZoom = pPreview->GetZoom(); in GetState() local
773 if (nZoom >= 400) in GetState()
777 if (nZoom <= 20) in GetState()
782 SvxZoomItem aZoom( eZoom, nZoom, nWhich ); in GetState()
[all …]
/aoo41x/main/reportdesign/source/ui/report/
H A DReportWindow.cxx416 sal_uInt16 nZoom(100); in getZoomFactor() local
421 nZoom = m_pView->getController().getZoomValue(); in getZoomFactor()
427 nZoom = (sal_uInt16)(long)Fraction(aSize.Width()*100,impl_getRealPixelWidth()); in getZoomFactor()
430nZoom = ::std::min(nZoom,(sal_uInt16)(long)Fraction(aSize.Height()*100,aHeight.Height())); in getZoomFactor()
434 nZoom = (sal_uInt16)(long)Fraction(aSize.Width()*100,impl_getRealPixelWidth()); in getZoomFactor()
440 return nZoom; in getZoomFactor()
/aoo41x/main/cui/source/tabpages/
H A Dgrfpage.cxx454 sal_uInt16 nZoom = (sal_uInt16)( aSize.Width() * 100L / nWidth); in IMPL_LINK() local
455 aWidthZoomMF.SetValue(nZoom); in IMPL_LINK()
464 sal_uInt16 nZoom = (sal_uInt16)( aSize.Height() * 100L/ nHeight); in IMPL_LINK() local
465 aHeightZoomMF.SetValue(nZoom); in IMPL_LINK()
597 sal_uInt16 nZoom = 0; in CalcZoom() local
600 nZoom = (sal_uInt16)((( nWidth * 1000L / nDen )+5)/10); in CalcZoom()
601 aWidthZoomMF.SetValue(nZoom); in CalcZoom()
603 nZoom = (sal_uInt16)((( nHeight * 1000L / nDen )+5)/10); in CalcZoom()
605 nZoom = 0; in CalcZoom()
606 aHeightZoomMF.SetValue(nZoom); in CalcZoom()
/aoo41x/main/toolkit/workben/layout/
H A Dzoom.cxx340 USHORT nZoom = 100; in SvxZoomDialog() local
341 SetFactor( nZoom ); in SvxZoomDialog()
348 const USHORT nZoom = rZoomItem.GetValue(); in SvxZoomDialog() local
378 SetFactor( nZoom, nBtnId ); in SvxZoomDialog()
382 const USHORT nZoom = ( (const SfxUInt16Item&)rItem ).GetValue(); in SvxZoomDialog() local
383 SetFactor( nZoom ); in SvxZoomDialog()
/aoo41x/main/sw/source/ui/uno/
H A Dunomod.cxx733 sal_Int16 nZoom = 0; in _setSingleValue() local
734 if(!(rValue >>= nZoom) || nZoom > 1000 || nZoom < 5) in _setSingleValue()
736 mpViewOption->SetZoom((sal_uInt16)nZoom); in _setSingleValue()
742 sal_Int16 nZoom = 0; in _setSingleValue() local
743 if(!(rValue >>= nZoom)) in _setSingleValue()
746 switch (nZoom) in _setSingleValue()
/aoo41x/main/sd/source/ui/unoidl/
H A DSdUnoDrawView.cxx403 sal_Int16 nZoom = 0; in setFastPropertyValue() local
404 rValue >>= nZoom; in setFastPropertyValue()
405 SetZoom( nZoom ); in setFastPropertyValue()
530 void SdUnoDrawView::SetZoom( sal_Int16 nZoom ) in SetZoom() argument
532 SvxZoomItem aZoomItem( SVX_ZOOM_PERCENT, nZoom ); in SetZoom()
/aoo41x/main/sw/source/ui/ribbar/
H A Dworkctrl.cxx820 sal_Int32 nZoom = sEntry.ToInt32(); in Select() local
821 if(nZoom < MINZOOM) in Select()
822 nZoom = MINZOOM; in Select()
823 if(nZoom > MAXZOOM) in Select()
824 nZoom = MAXZOOM; in Select()
826 SfxUInt16Item aItem( nSlotId, (sal_uInt16)nZoom ); in Select()
/aoo41x/main/sw/source/ui/config/
H A Dviewopt.cxx220 nZoom( 100 ), in SwViewOption()
272 nZoom = rVOpt.nZoom ; in SwViewOption()
314 nZoom = rVOpt.nZoom ; in operator =()
/aoo41x/main/sw/source/ui/utlui/
H A Dunotools.cxx432 sal_Int16 nZoom = 0; in CreatePopup() local
433 aZoom >>= nZoom; in CreatePopup()
442 if(nZoom == nZoomValues[i]) in CreatePopup()
460 sal_Int16 nZoom = nZoomValues[nId - ITEM_ZOOM - 1]; in IMPL_LINK() local
465 aZoom <<= nZoom; in IMPL_LINK()
/aoo41x/main/cui/source/dialogs/
H A Dzoom.cxx242 const sal_uInt16 nZoom = rZoomItem.GetValue(); in SvxZoomDialog() local
272 SetFactor( nZoom, nBtnId ); in SvxZoomDialog()
276 const sal_uInt16 nZoom = ( (const SfxUInt16Item&)rItem ).GetValue(); in SvxZoomDialog() local
277 SetFactor( nZoom ); in SvxZoomDialog()
/aoo41x/main/sc/source/filter/excel/
H A Dxeview.cxx143 XclExpScl::XclExpScl( sal_uInt16 nZoom ) : in XclExpScl() argument
145 mnNum( nZoom ), in XclExpScl()
422 OString lcl_GetZoom( sal_uInt16 nZoom ) in lcl_GetZoom() argument
424 if( nZoom ) in lcl_GetZoom()
425 return OString::valueOf( (sal_Int32)nZoom ); in lcl_GetZoom()
/aoo41x/main/sc/inc/
H A Dappoptio.hxx45 void SetZoom( sal_uInt16 nNew ) { nZoom = nNew; } in SetZoom()
46 sal_uInt16 GetZoom() const { return nZoom; } in GetZoom()
90 sal_uInt16 nZoom; member in ScAppOptions
/aoo41x/main/sc/source/ui/unoobj/
H A Dviewuno.cxx1549 void ScTabViewObj::SetZoom(sal_Int16 nZoom) in SetZoom() argument
1554 if ( nZoom != GetZoom() && nZoom != 0 ) in SetZoom()
1560 aNewOpt.SetZoom( nZoom ); in SetZoom()
1565 Fraction aFract( nZoom, 100 ); in SetZoom()
1633 sal_Int16 nZoom(GetZoom()); in SetZoomType() local
1634 sal_Int16 nOldZoom(nZoom); in SetZoomType()
1637 if ( nZoom < MINZOOM ) nZoom = MINZOOM; in SetZoomType()
1638 if ( nZoom > MAXZOOM ) nZoom = MAXZOOM; in SetZoomType()
1641 nZoom = pView->CalcZoom( eZoomType, nOldZoom ); in SetZoomType()
1653 SetZoom( nZoom ); in SetZoomType()
/aoo41x/main/sc/source/core/data/
H A Ddocumen8.cxx467 sal_uInt16 nZoom = 0; in IdleCalcTextWidth() local
499 nZoom = GET_SCALEVALUE(pStyle->GetItemSet(),ATTR_PAGE_SCALE); in IdleCalcTextWidth()
500 Fraction aZoomFract( nZoom, 100 ); in IdleCalcTextWidth()
504 while ( (nZoom > 0) && (nCount < CALCMAX) && (nRestart < 2) ) in IdleCalcTextWidth()
575 nZoom = GET_SCALEVALUE(rSet, ATTR_PAGE_SCALE ); in IdleCalcTextWidth()
577 nZoom = 0; in IdleCalcTextWidth()
585 if ( nZoom > 0 ) in IdleCalcTextWidth()
/aoo41x/main/sw/source/ui/dbui/
H A Dmmlayoutpage.cxx742 short nZoom = 50; in IMPL_LINK() local
746 case 1 : nZoom = 50; break; in IMPL_LINK()
747 case 2 : nZoom = 75; break; in IMPL_LINK()
748 case 3 : nZoom = 100; break; in IMPL_LINK()
753 aZoom <<= nZoom; in IMPL_LINK()
/aoo41x/main/sc/source/ui/inc/
H A Dprintfun.hxx100 sal_uInt16 nZoom; member
188 sal_uInt16 nZoom; member in ScPrintFunc
284 sal_uInt16 GetZoom() const { return nZoom; } in GetZoom()
/aoo41x/main/sc/source/ui/vba/
H A Dvbawindow.cxx766 sal_Int16 nZoom = 100; in getZoom() local
767 xProps->getPropertyValue( sName ) >>= nZoom; in getZoom()
768 return uno::makeAny( nZoom ); in getZoom()
776 sal_Int16 nZoom = 100; in setZoom() local
777 _zoom >>= nZoom; in setZoom()
785 excel::implSetZoom( m_xModel, nZoom, vTabs ); in setZoom()
/aoo41x/main/sw/inc/
H A Dviewopt.hxx165 sal_uInt16 nZoom; // Angaben in Prozent member in SwViewOption
448 inline sal_uInt16 GetZoom() const { return nZoom; } in GetZoom()
449 inline void SetZoom( sal_uInt16 n ){ nZoom = n; } in SetZoom()
600 return IsEqualFlags( rOpt ) && nZoom == rOpt.GetZoom(); in operator ==()

Completed in 366 milliseconds

123