Home
last modified time | relevance | path

Searched refs:nCurrentZoom (Results 1 – 11 of 11) sorted by relevance

/trunk/main/sc/source/ui/cctrl/
H A Dtbzoomsliderctrl.cxx134 ScZoomSliderWnd_Impl( sal_uInt16 nCurrentZoom ) : in ScZoomSliderWnd_Impl()
135 mnCurrentZoom( nCurrentZoom ), in ScZoomSliderWnd_Impl()
228 long ScZoomSliderWnd::Zoom2Offset( sal_uInt16 nCurrentZoom ) const in Zoom2Offset()
235 if( nCurrentZoom <= mpImpl->mnSliderCenter ) in Zoom2Offset()
237 nCurrentZoom = nCurrentZoom - mpImpl->mnMinZoom; in Zoom2Offset()
240 const long nOffset = (nSliderPixelPerZoomPercent * nCurrentZoom) / 1000; in Zoom2Offset()
245 nCurrentZoom = nCurrentZoom - mpImpl->mnSliderCenter; in Zoom2Offset()
248 const long nOffset = (nSliderPixelPerZoomPercent * nCurrentZoom) / 1000; in Zoom2Offset()
258 …:sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _xFrame , sal_uInt16 nCurrentZoom ): in ScZoomSliderWnd() argument
260 mpImpl( new ScZoomSliderWnd_Impl( nCurrentZoom ) ), in ScZoomSliderWnd()
/trunk/main/svx/source/stbctrls/
H A Dzoomsliderctrl.cxx151 long SvxZoomSliderControl::Zoom2Offset( sal_uInt16 nCurrentZoom ) const in Zoom2Offset()
158 if ( nCurrentZoom <= mpImpl->mnSliderCenter ) in Zoom2Offset()
160 nCurrentZoom = nCurrentZoom - mpImpl->mnMinZoom; in Zoom2Offset()
163 const long nOffset = (nSliderPixelPerZoomPercent * nCurrentZoom) / 1000; in Zoom2Offset()
168 nCurrentZoom = nCurrentZoom - mpImpl->mnSliderCenter; in Zoom2Offset()
171 const long nOffset = (nSliderPixelPerZoomPercent * nCurrentZoom) / 1000; in Zoom2Offset()
/trunk/main/svx/source/items/
H A Dzoomslideritem.cxx43 SvxZoomSliderItem::SvxZoomSliderItem( sal_uInt16 nCurrentZoom, sal_uInt16 nMinZoom, sal_uInt16 nMax… in SvxZoomSliderItem() argument
44 : SfxUInt16Item( _nWhich, nCurrentZoom ), mnMinZoom( nMinZoom ), mnMaxZoom( nMaxZoom ) in SvxZoomSliderItem()
166 sal_Int32 nCurrentZoom( 0 ); in PutValue() local
177 bAllConverted &= ( aSeq[i].Value >>= nCurrentZoom ); in PutValue()
199 SetValue( (sal_uInt16)nCurrentZoom ); in PutValue()
/trunk/main/sc/source/ui/view/
H A Dprevwsh.cxx678 const sal_uInt16 nCurrentZoom = ((const SvxZoomSliderItem*)pItem)->GetValue(); in Execute() local
679 if( nCurrentZoom ) in Execute()
681 pPreview->SetZoom( nCurrentZoom ); in Execute()
698 … const sal_uInt16 nCurrentZoom = ((const SvxZoomSliderItem *)pItem)->GetValue(); in Execute() local
700 rSet.Put( SfxUInt16Item( ATTR_PAGE_SCALE, nCurrentZoom ) ); in Execute()
808 … sal_uInt16 nCurrentZoom = ((const SfxUInt16Item&)rStyleSet.Get(ATTR_PAGE_SCALE)).GetValue(); in GetState() local
809 if( nCurrentZoom ) in GetState()
811 …SvxZoomSliderItem aZoomSliderItem( nCurrentZoom, MINZOOM_SLIDER, MAXZOOM_SLIDER, SID_PREVIEW_SCALI… in GetState()
H A Dtabvwsh3.cxx759 const sal_uInt16 nCurrentZoom = ((const SvxZoomSliderItem *)pItem)->GetValue(); in Execute() local
760 if( nCurrentZoom ) in Execute()
766 aNewOpt.SetZoom( nCurrentZoom ); in Execute()
770 Fraction aFract( nCurrentZoom,100 ); in Execute()
H A Dtabvwsha.cxx333 … sal_uInt16 nCurrentZoom = (sal_uInt16)(( rOldY.GetNumerator() * 100 ) / rOldY.GetDenominator()); in GetState() local
335 if( nCurrentZoom ) in GetState()
337 … SvxZoomSliderItem aZoomSliderItem( nCurrentZoom, MINZOOM, MAXZOOM, SID_ATTR_ZOOMSLIDER ); in GetState()
/trunk/main/sw/source/ui/uiview/
H A Dpview.cxx117 sal_uInt16 lcl_GetNextZoomStep(sal_uInt16 nCurrentZoom, sal_Bool bZoomIn) in TYPEINIT1()
127 if(nCurrentZoom > aZoomArr[i] || !i) in TYPEINIT1()
133 if(nCurrentZoom < aZoomArr[i]) in TYPEINIT1()
902 const sal_uInt16 nCurrentZoom = ((const SvxZoomSliderItem *)pItem)->GetValue(); in Execute() local
903 SetZoom( SVX_ZOOM_PERCENT, nCurrentZoom ); in Execute()
1130 const sal_uInt16 nCurrentZoom = pVOpt->GetZoom(); in GetState() local
1131 SvxZoomSliderItem aZoomSliderItem( nCurrentZoom, MINZOOM, MAXZOOM ); in GetState()
H A Dview2.cxx1317 const sal_uInt16 nCurrentZoom = pVOpt->GetZoom(); in StateStatusLine() local
1318 SvxZoomSliderItem aZoomSliderItem( nCurrentZoom, MINZOOM, MAXZOOM ); in StateStatusLine()
1721 const sal_uInt16 nCurrentZoom = ((const SvxZoomSliderItem *)pItem)->GetValue(); in ExecuteStatusLine() local
1722 SetZoom( SVX_ZOOM_PERCENT, nCurrentZoom ); in ExecuteStatusLine()
/trunk/main/svx/inc/svx/
H A Dzoomslideritem.hxx45 …SvxZoomSliderItem( sal_uInt16 nCurrentZoom = 100, sal_uInt16 nMinZoom = 20, sal_uInt16 nMaxZoom = …
/trunk/main/sc/source/ui/inc/
H A Dtbzoomsliderctrl.hxx74 …:sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _xFrame , sal_uInt16 nCurrentZoom );
/trunk/main/sc/source/core/data/
H A Dglobal.cxx571 sal_uInt16 nCurrentZoom = Application::GetSettings().GetStyleSettings().GetScreenZoom(); in UpdatePPT() local
572 if ( nCurrentZoom != nPPTZoom ) in UpdatePPT()
584 nPPTZoom = nCurrentZoom; in UpdatePPT()

Completed in 61 milliseconds