/trunk/main/sd/source/ui/dlg/ |
H A D | tpoption.cxx | 731 Fraction aFract( aFract1 > aFract2 ? aFract1 : aFract2 ); in IMPL_LINK() local 734 if( aFract < Fraction( 1, 1 ) ) in IMPL_LINK() 737 aFract1 = aFract; in IMPL_LINK() 738 aFract = Fraction( aFract1.GetDenominator(), aFract1.GetNumerator() ); in IMPL_LINK() 739 nValue = aFract; in IMPL_LINK() 746 double fValue = aFract; in IMPL_LINK() 747 nValue = aFract; in IMPL_LINK()
|
/trunk/main/tools/test/ |
H A D | tests.cxx | 50 const Fraction aFract(1082130431,1073741824); in TEST_F() local 51 …ASSERT_TRUE(rtl::math::approxEqual((double)aFract,1.007812499068677)) << "Fraction #1 not approxim… in TEST_F() 53 Fraction aFract2( aFract ); in TEST_F()
|
/trunk/main/sd/source/ui/view/ |
H A D | DocumentRenderer.cxx | 1917 Fraction aFract; in PrepareHandout() local 1919 aFract = Fraction(aPrintSize.Width(), aPageSize.Width()); in PrepareHandout() 1921 aFract = Fraction(aPrintSize.Height(), aPageSize.Height()); in PrepareHandout() 1923 aMap.SetScaleX(aFract); in PrepareHandout() 1924 aMap.SetScaleY(aFract); in PrepareHandout() 2046 Fraction aFract; in PrepareRegularPages() local 2048 aFract = Fraction(rInfo.maPrintSize.Width(), aPageSize.Width()); in PrepareRegularPages() 2050 aFract = Fraction(rInfo.maPrintSize.Height(), aPageSize.Height()); in PrepareRegularPages() 2052 aMap.SetScaleX(aFract); in PrepareRegularPages() 2053 aMap.SetScaleY(aFract); in PrepareRegularPages()
|
/trunk/main/sc/source/ui/view/ |
H A D | tabvwsh3.cxx | 741 Fraction aFract( nZoom, 100 ); in Execute() local 742 SetZoom( aFract, aFract, bSyncZoom ); in Execute() 770 Fraction aFract( nCurrentZoom,100 ); in Execute() local 771 SetZoom( aFract, aFract, bSyncZoom ); in Execute()
|
H A D | tabvwsh4.cxx | 1847 Fraction aFract( rAppOpt.GetZoom(), 100 ); in ScTabViewShell() 1848 SetZoom( aFract, aFract, sal_True ); in ScTabViewShell()
|
H A D | tabview.cxx | 1187 Fraction aFract( nNew, 100 ); in ScrollCommand() local 1188 SetZoom( aFract, aFract, bSyncZoom ); in ScrollCommand()
|
H A D | output2.cxx | 2376 Fraction aFract(1,1); in DrawEdit() local 2378 … HMM_PER_TWIPS, HMM_PER_TWIPS, aFract, aFract ).GetEditArea( pPattern, sal_False ); in DrawEdit()
|
H A D | viewdata.cxx | 1071 Fraction aFract(1,1); in SetEditEngine() local 1073 HMM_PER_TWIPS, HMM_PER_TWIPS, aFract, aFract ).GetEditArea( pPattern, sal_False ); in SetEditEngine()
|
/trunk/main/sc/source/ui/vba/ |
H A D | excelvbahelper.cxx | 66 Fraction aFract( nZoom, 100 ); in implSetZoom() local 67 pViewSh->GetViewData()->SetZoom( aFract, aFract, nTabs ); in implSetZoom()
|
/trunk/main/svx/source/customshapes/ |
H A D | EnhancedCustomShapeFunctionParser.cxx | 125 Fraction aFract( maValue ); in fillNode() local 126 if ( aFract.GetDenominator() == 1 ) in fillNode() 129 aRet.Value <<= (sal_Int32)aFract.GetNumerator(); in fillNode() 136 aEquation.nPara[ 1 ] = (sal_Int16)aFract.GetNumerator(); in fillNode() 137 aEquation.nPara[ 2 ] = (sal_Int16)aFract.GetDenominator(); in fillNode()
|
/trunk/main/svtools/source/filter/ |
H A D | exportdialog.cxx | 1443 Fraction aFract( 1, 100 ); in IMPL_LINK() local 1447 MapMode aSourceMapMode( GetMapUnit( maLbSizeX.GetSelectEntryPos() ),Point(), aFract, aFract ); in IMPL_LINK() 1477 Fraction aFract( 1, 100 ); in IMPL_LINK() local 1481 MapMode aSourceMapMode( GetMapUnit( maLbSizeX.GetSelectEntryPos() ),Point(), aFract, aFract ); in IMPL_LINK()
|
/trunk/main/sd/source/ui/unoidl/ |
H A D | UnoDocumentSettings.cxx | 623 Fraction aFract( nValue, pDoc->GetUIScale().GetDenominator() ); in _setPropertyValues() local 624 pDoc->SetUIScale( aFract ); in _setPropertyValues() 635 Fraction aFract( pDoc->GetUIScale().GetNumerator(), nValue ); in _setPropertyValues() local 636 pDoc->SetUIScale( aFract ); in _setPropertyValues()
|
/trunk/main/vcl/source/control/ |
H A D | field.cxx | 683 Fraction aFract = rValue; in ConvertToLong() local 684 aFract *= Fraction( (long)ImplPower10( GetDecimalDigits() ), 1 ); in ConvertToLong() 685 return (sal_Int64)(double)aFract; in ConvertToLong()
|
/trunk/main/sc/source/ui/unoobj/ |
H A D | viewuno.cxx | 1565 Fraction aFract( nZoom, 100 ); in SetZoom() local 1566 pViewSh->SetZoom( aFract, aFract, sal_True ); in SetZoom()
|
/trunk/main/sw/source/core/layout/ |
H A D | paintfrm.cxx | 5008 Fraction aFract( nPrtWidth, 1 ); in PaintLine() local 5009 const SwTwips nWidth = (long)(aFract *= rInf.GetWidth()); in PaintLine()
|