/trunk/main/svx/source/stbctrls/ |
H A D | zoomctrl.cxx | 57 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 …]
|
/trunk/main/sd/source/ui/view/ |
H A D | sdwindow.cxx | 151 long nZoom = GetZoom(); in CalcMinZoom() local 184 if ( nZoom < (long) mnMinZoom ) in CalcMinZoom() 459 if ( nZoom > MAX_ZOOM ) in SetZoomFactor() 460 nZoom = MAX_ZOOM; in SetZoomFactor() 462 nZoom = mnMinZoom; in SetZoomFactor() 480 return nZoom; in SetZoomFactor() 488 if ( nZoom > MAX_ZOOM ) in SetZoomIntegral() 489 nZoom = MAX_ZOOM; in SetZoomIntegral() 491 nZoom = mnMinZoom; in SetZoomIntegral() 504 SetZoomFactor(nZoom); in SetZoomIntegral() [all …]
|
H A D | viewshe2.cxx | 383 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()
|
/trunk/main/sc/source/ui/view/ |
H A D | printfun.cxx | 213 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 D | preview.cxx | 94 nZoom( 100 ), in ScPreview() 215 aState.nZoom = 0; in TestLastPage() 343 Fraction aPreviewZoom( nZoom, 100 ); in DoPrint() 389 pPrintFunc->SetManualZoom(nZoom); in DoPrint() 687 if (nNewZoom != nZoom) in SetZoom() 689 nZoom = nNewZoom; in SetZoom() 693 Fraction aPreviewZoom( nZoom, 100 ); in SetZoom() 794 return nZoom; in GetOptimalZoom() 928 Fraction aPreviewZoom( nZoom, 100 ); in MouseButtonDown() 1255 Fraction aPreviewZoom( nZoom, 100 ); in MouseMove() [all …]
|
H A D | tabvwsh3.cxx | 652 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 D | prevwsh.cxx | 580 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 …]
|
H A D | tabview2.cxx | 607 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()
|
/trunk/main/reportdesign/source/ui/report/ |
H A D | ReportWindow.cxx | 416 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() 430 … nZoom = ::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()
|
/trunk/main/cui/source/tabpages/ |
H A D | grfpage.cxx | 454 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()
|
/trunk/main/toolkit/workben/layout/ |
H A D | zoom.cxx | 340 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()
|
/trunk/main/sw/source/ui/uno/ |
H A D | unomod.cxx | 733 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()
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | SdUnoDrawView.cxx | 403 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()
|
/trunk/main/sw/source/ui/ribbar/ |
H A D | workctrl.cxx | 820 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()
|
/trunk/main/sw/source/ui/utlui/ |
H A D | unotools.cxx | 432 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()
|
/trunk/main/sw/source/ui/config/ |
H A D | viewopt.cxx | 220 nZoom( 100 ), in SwViewOption() 271 nZoom = rVOpt.nZoom ; in SwViewOption() 313 nZoom = rVOpt.nZoom ; in operator =()
|
/trunk/main/cui/source/dialogs/ |
H A D | zoom.cxx | 240 const sal_uInt16 nZoom = rZoomItem.GetValue(); in SvxZoomDialog() local 270 SetFactor( nZoom, nBtnId ); in SvxZoomDialog() 274 const sal_uInt16 nZoom = ( (const SfxUInt16Item&)rItem ).GetValue(); in SvxZoomDialog() local 275 SetFactor( nZoom ); in SvxZoomDialog()
|
/trunk/main/sc/source/filter/excel/ |
H A D | xeview.cxx | 143 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()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | viewuno.cxx | 1549 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()
|
/trunk/main/sc/inc/ |
H A D | appoptio.hxx | 45 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
|
/trunk/main/sc/source/core/data/ |
H A D | documen8.cxx | 467 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()
|
/trunk/main/sw/source/ui/dbui/ |
H A D | mmlayoutpage.cxx | 742 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()
|
/trunk/main/sc/source/ui/vba/ |
H A D | vbawindow.cxx | 766 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()
|
/trunk/main/sc/source/ui/inc/ |
H A D | printfun.hxx | 100 sal_uInt16 nZoom; member 188 sal_uInt16 nZoom; member in ScPrintFunc 284 sal_uInt16 GetZoom() const { return nZoom; } in GetZoom()
|
/trunk/main/svx/workben/ |
H A D | edittest.cxx | 151 USHORT nZoom = 100; variable 574 aHeading += String::CreateFromInt32(nZoom); in SetTitle() 1559 if ( nZoom > 1000 ) in KeyInput() 1561 if ( nZoom <= 25 ) in KeyInput() 1563 if ( ( nZoom + nDiff ) > 0 ) in KeyInput() 1564 nZoom += nDiff; in KeyInput() 1565 MapMode aMapMode( MAP_100TH_MM, Point(0,0), Fraction(nZoom,100), Fraction(nZoom,100) ); in KeyInput()
|