Lines Matching refs:eUnit
186 long ConvertLong_Impl( const long nIn, SfxMapUnit eUnit ) in ConvertLong_Impl() argument
188 return OutputDevice::LogicToLogic( nIn, (MapUnit)eUnit, MAP_TWIP ); in ConvertLong_Impl()
480 SfxMapUnit eUnit = pPool->GetMetric( GetWhich( SID_ATTR_LRSPACE ) ); in Reset() local
488 SetMetricValue( aLeftMarginEdit, rLRSpace.GetLeft(), eUnit ); in Reset()
490 (sal_uInt16)ConvertLong_Impl( (long)rLRSpace.GetLeft(), eUnit ) ); in Reset()
491 SetMetricValue( aRightMarginEdit, rLRSpace.GetRight(), eUnit ); in Reset()
493 (sal_uInt16)ConvertLong_Impl( (long)rLRSpace.GetRight(), eUnit ) ); in Reset()
502 SetMetricValue( aTopMarginEdit, rULSpace.GetUpper(), eUnit ); in Reset()
504 (sal_uInt16)ConvertLong_Impl( (long)rULSpace.GetUpper(), eUnit ) ); in Reset()
505 SetMetricValue( aBottomMarginEdit, rULSpace.GetLower(), eUnit ); in Reset()
507 (sal_uInt16)ConvertLong_Impl( (long)rULSpace.GetLower(), eUnit ) ); in Reset()
578 aBspWin.SetSize( Size( ConvertLong_Impl( aPaperSize.Width(), eUnit ), in Reset()
579 ConvertLong_Impl( aPaperSize.Height(), eUnit ) ) ); in Reset()
581 aPaperSize = OutputDevice::LogicToLogic(aPaperSize, (MapUnit)eUnit, MAP_100TH_MM); in Reset()
747 SfxMapUnit eUnit = pPool->GetMetric( nWhich ); in FillItemSet() local
759 aMargin.SetLeft( (sal_uInt16)GetCoreValue( aLeftMarginEdit, eUnit ) ); in FillItemSet()
765 aMargin.SetRight( (sal_uInt16)GetCoreValue( aRightMarginEdit, eUnit ) ); in FillItemSet()
784 aTopMargin.SetUpper( (sal_uInt16)GetCoreValue( aTopMarginEdit, eUnit ) ); in FillItemSet()
790 aTopMargin.SetLower( (sal_uInt16)GetCoreValue( aBottomMarginEdit, eUnit ) ); in FillItemSet()
831 Size aSize( GetCoreValue( aPaperWidthEdit, eUnit ), in FillItemSet()
832 GetCoreValue( aPaperHeightEdit, eUnit ) ); in FillItemSet()
846 Size aSize( SvxPaperInfo::GetPaperSize( ePaper, (MapUnit)eUnit ) ); in FillItemSet()
1108 SfxMapUnit eUnit = GetItemSet().GetPool()->GetMetric( nWhich ); in IMPL_LINK() local
1109 Size aSize( GetCoreValue( aPaperWidthEdit, eUnit ), in IMPL_LINK()
1110 GetCoreValue( aPaperHeightEdit, eUnit ) ); in IMPL_LINK()
1111 Paper ePaper = SvxPaperInfo::GetSvxPaper( aSize, (MapUnit)eUnit, sal_True ); in IMPL_LINK()
1506 SfxMapUnit eUnit = GetItemSet().GetPool()->GetMetric( nWh ); in DeactivatePage() local
1507 Size aSize( GetCoreValue( aPaperWidthEdit, eUnit ), in DeactivatePage()
1508 GetCoreValue( aPaperHeightEdit, eUnit ) ); in DeactivatePage()