Home
last modified time | relevance | path

Searched refs:eUnit (Results 26 – 50 of 93) sorted by relevance

1234

/aoo41x/main/svx/source/mnuctrls/
H A Dfntszctl.cxx67 const SfxMapUnit eUnit = rPool.GetMetric( nWhich ); in IMPL_LINK() local
68 long nH = LOGIC( pMen->GetCurHeight(), MAP_POINT, (MapUnit)eUnit ) / 10; in IMPL_LINK()
110 const SfxMapUnit eUnit = rPool.GetMetric( nWhich ); in StateChanged() local
112 nVal = LOGIC( nH, (MapUnit)eUnit, MAP_POINT ); in StateChanged()
/aoo41x/main/svx/inc/svx/
H A Dsvdtrans.hxx313 static void TakeUnitStr(MapUnit eUnit, XubString& rStr);
314 static void TakeUnitStr(FieldUnit eUnit, XubString& rStr);
315 …static XubString GetUnitStr(MapUnit eUnit) { XubString aStr; TakeUnitStr(eUnit,aStr); return aSt… in GetUnitStr() argument
316 …static XubString GetUnitStr(FieldUnit eUnit) { XubString aStr; TakeUnitStr(eUnit,aStr); return aSt… in GetUnitStr() argument
H A Dsxmuitm.hxx36 …SdrMeasureUnitItem(FieldUnit eUnit=FUNIT_NONE): SfxEnumItem(SDRATTR_MEASUREUNIT,sal::static_int_ca… in SdrMeasureUnitItem() argument
H A Dsvdmodel.hxx427 void SetUIUnit(FieldUnit eUnit);
433 void SetUIUnit(FieldUnit eUnit, const Fraction& rScale);
440 static void TakeUnitStr(FieldUnit eUnit, String& rStr);
/aoo41x/main/sw/source/ui/uiview/
H A Dviewmdi.cxx565 void SwView::ChangeTabMetric( FieldUnit eUnit ) in ChangeTabMetric() argument
567 if(pHRuler->GetUnit() != eUnit ) in ChangeTabMetric()
569 pHRuler->SetUnit( eUnit ); in ChangeTabMetric()
574 void SwView::ChangeVLinealMetric( FieldUnit eUnit ) in ChangeVLinealMetric() argument
576 if(pVRuler->GetUnit() != eUnit) in ChangeVLinealMetric()
578 pVRuler->SetUnit( eUnit ); in ChangeVLinealMetric()
/aoo41x/main/svx/source/dialog/
H A Ddlgutil.cxx39 FieldUnit eUnit = FUNIT_INCH; in GetModuleFieldUnit() local
42 eUnit = (FieldUnit)( (const SfxUInt16Item*)pItem )->GetValue(); in GetModuleFieldUnit()
48 return eUnit; in GetModuleFieldUnit()
/aoo41x/main/extensions/source/propctrlr/
H A Dpropertyhandler.cxx379 FieldUnit eUnit = FUNIT_NONE; in impl_getDocumentMeasurementUnit_throw() local
424 eUnit = static_cast< FieldUnit >( nUnitAsInt ); in impl_getDocumentMeasurementUnit_throw()
428 if ( FUNIT_NONE == eUnit ) in impl_getDocumentMeasurementUnit_throw()
431 eUnit = MEASURE_METRIC == eSystem ? FUNIT_CM : FUNIT_INCH; in impl_getDocumentMeasurementUnit_throw()
434 return VCLUnoHelper::ConvertToMeasurementUnit( eUnit, 1 ); in impl_getDocumentMeasurementUnit_throw()
/aoo41x/main/oox/inc/oox/xls/
H A Dunitconverter.hxx83 sal_Int32 scaleToMm100( double fValue, Unit eUnit ) const;
85 double scaleFromMm100( sal_Int32 nMm100, Unit eUnit ) const;
101 double getCoefficient( Unit eUnit ) const;
/aoo41x/main/sw/source/ui/uno/
H A Dunomod.cxx998 FieldUnit eUnit; in _getSingleValue() local
999 pView->GetHLinealMetric( eUnit ); in _getSingleValue()
1000 rValue <<= (sal_Int32)eUnit; in _getSingleValue()
1014 FieldUnit eUnit; in _getSingleValue() local
1015 pView->GetVLinealMetric( eUnit ); in _getSingleValue()
1016 rValue <<= (sal_Int32)eUnit; in _getSingleValue()
/aoo41x/main/sd/source/ui/dlg/
H A Dtpoption.cxx470 SfxMapUnit eUnit = rAttrs.GetPool()->GetMetric( nWh ); in FillItemSet() local
471 SfxUInt16Item aDef( nWh,(sal_uInt16)GetCoreValue( aMtrFldTabstop, eUnit ) ); in FillItemSet()
542 SfxMapUnit eUnit = rAttrs.GetPool()->GetMetric( nWhich ); in Reset() local
544 SetMetricValue( aMtrFldTabstop, rItem.GetValue(), eUnit ); in Reset()
590 FieldUnit eUnit = (FieldUnit)(long)aLbMetric.GetEntryData( nPos ); in IMPL_LINK() local
593 SetFieldUnit( aMtrFldTabstop, eUnit ); in IMPL_LINK()
/aoo41x/main/svx/source/sidebar/paragraph/
H A DParaLineSpacingControl.cxx273 SfxMapUnit eUnit = SFX_MAPUNIT_100TH_MM; in Rearrange() local
274 m_eLNSpaceUnit = eUnit; in Rearrange()
389 currSPItem->GetInterLineSpace(), eUnit ); in Rearrange()
420 SetMetricValue(aLineDistAtMetricBox, currSPItem->GetLineHeight(), eUnit); in Rearrange()
447 SetMetricValue(aLineDistAtMetricBox, currSPItem->GetLineHeight(), eUnit); in Rearrange()
/aoo41x/main/sw/source/ui/envelp/
H A Denvprt.cxx68 FieldUnit eUnit = ::GetDfltMetric(sal_False); in SwEnvPrtPage() local
69 SetMetric(aRightField, eUnit); in SwEnvPrtPage()
70 SetMetric(aDownField , eUnit); in SwEnvPrtPage()
/aoo41x/main/svx/source/svdraw/
H A Dsvdmodel.cxx1127 void SdrModel::SetUIUnit(FieldUnit eUnit) in SetUIUnit() argument
1129 if (eUIUnit!=eUnit) { in SetUIUnit()
1130 eUIUnit=eUnit; in SetUIUnit()
1145 void SdrModel::SetUIUnit(FieldUnit eUnit, const Fraction& rScale) in SetUIUnit() argument
1147 if (eUIUnit!=eUnit || aUIScale!=rScale) { in SetUIUnit()
1148 eUIUnit=eUnit; in SetUIUnit()
1155 void SdrModel::TakeUnitStr(FieldUnit eUnit, XubString& rStr) in TakeUnitStr() argument
1157 switch(eUnit) in TakeUnitStr()
/aoo41x/main/vcl/source/gdi/
H A Doutmap.cxx2483 long Window::ImplLogicUnitToPixelX( long nX, MapUnit eUnit ) in ImplLogicUnitToPixelX() argument
2485 if ( eUnit != MAP_PIXEL ) in ImplLogicUnitToPixelX()
2490 if ( pFrameData->meMapUnit != eUnit ) in ImplLogicUnitToPixelX()
2492 pFrameData->meMapUnit = eUnit; in ImplLogicUnitToPixelX()
2493 ImplCalcMapResolution( MapMode( eUnit ), mnDPIX, mnDPIY, in ImplLogicUnitToPixelX()
2510 long Window::ImplLogicUnitToPixelY( long nY, MapUnit eUnit ) in ImplLogicUnitToPixelY() argument
2512 if ( eUnit != MAP_PIXEL ) in ImplLogicUnitToPixelY()
2517 if ( pFrameData->meMapUnit != eUnit ) in ImplLogicUnitToPixelY()
2519 pFrameData->meMapUnit = eUnit; in ImplLogicUnitToPixelY()
2520 ImplCalcMapResolution( MapMode( eUnit ), mnDPIX, mnDPIY, in ImplLogicUnitToPixelY()
/aoo41x/main/svtools/inc/svtools/
H A Dctrlbox.hxx251 FieldUnit eUnit; member in LineListBox
288 inline void SetUnit( FieldUnit eNewUnit ) { eUnit = eNewUnit; } in SetUnit()
289 inline FieldUnit GetUnit() const { return eUnit; } in GetUnit()
/aoo41x/main/editeng/source/editeng/
H A Deditdbg.cxx208 SfxMapUnit eUnit = rPool.GetMetric( rItem.Which() ); in DbgOutItem() local
209 MapMode aItemMapMode( (MapUnit) eUnit ); in DbgOutItem()
278 SfxMapUnit eUnit = rPool.GetMetric( rItem.Which() ); in DbgOutItem() local
279 MapMode aItemMapMode( (MapUnit) eUnit ); in DbgOutItem()
/aoo41x/main/cui/source/tabpages/
H A Dchardlg.cxx1111 SfxMapUnit eUnit = rSet.GetPool()->GetMetric( nWhich ); in Reset_Impl() local
1123 pSizeBox->SetValue( (long)CalcToPoint( rItem.GetHeight(), eUnit, 10 ) ); in Reset_Impl()
1128 SfxMapUnit eUnit = rSet.GetPool()->GetMetric( nWhich ); in Reset_Impl() local
1130 pSizeBox->SetValue( (long)CalcToPoint( rItem.GetHeight(), eUnit, 10 ) ); in Reset_Impl()
1403 SfxMapUnit eUnit = rSet.GetPool()->GetMetric( nWhich ); in FillItemSet_Impl() local
1420 rSet.Put( SvxFontHeightItem( CalcToUnit( fSize, eUnit ), 100, nWhich ) ); in FillItemSet_Impl()
3433 SfxMapUnit eUnit = rSet.GetPool()->GetMetric( nWhich ); in Reset() local
3434 MapUnit eOrgUnit = (MapUnit)eUnit; in Reset()
3440 long nKern = LogicToLogic( rItem.GetValue(), (MapUnit)eUnit, MAP_TWIP ); in Reset()
3639 SfxMapUnit eUnit = rSet.GetPool()->GetMetric( nWhich ); in FillItemSet() local
[all …]
H A Dtextanim.cxx139 eUnit = pPool->GetMetric( SDRATTR_TEXT_LEFTDIST ); in SvxTextAnimationPage()
361 SetMetricValue( aMtrFldAmount, nValue, eUnit ); in Reset()
484 nValue = GetCoreValue( aMtrFldAmount, eUnit ); in FillItemSet()
/aoo41x/main/editeng/source/items/
H A Ditemtype.cxx194 sal_uInt16 GetMetricId( SfxMapUnit eUnit ) in GetMetricId() argument
198 switch ( eUnit ) in GetMetricId()
/aoo41x/main/sc/inc/
H A Dappoptio.hxx43 void SetAppMetric( FieldUnit eUnit ) { eMetric = eUnit; } in SetAppMetric() argument
/aoo41x/main/sc/source/ui/miscdlgs/
H A Dmtrindlg.cxx91 long ScMetricInputDlg::GetInputValue( FieldUnit eUnit ) const in GetInputValue()
112 return sal::static_int_cast<long>( aEdValue.Denormalize( aEdValue.GetValue( eUnit ) ) ); in GetInputValue()
/aoo41x/main/xmloff/source/core/
H A Dxmluconv.cxx129 MapUnit eUnit = MAP_INCH; in GetMapUnit() local
133 eUnit = MAP_MM; in GetMapUnit()
138 eUnit = MAP_CM; in GetMapUnit()
141 eUnit = MAP_TWIP; in GetMapUnit()
145 eUnit = MAP_POINT; in GetMapUnit()
153 eUnit = MAP_100TH_MM; in GetMapUnit()
156 return eUnit; in GetMapUnit()
/aoo41x/main/sw/source/filter/xml/
H A Dxmlexp.cxx268 MapUnit eUnit = in exportDoc() local
270 if( GetMM100UnitConverter().getXMLMeasureUnit() != eUnit ) in exportDoc()
272 GetMM100UnitConverter().setXMLMeasureUnit( eUnit ); in exportDoc()
273 pTwipUnitConv->setXMLMeasureUnit( eUnit ); in exportDoc()
/aoo41x/main/vcl/source/window/
H A Dprintdlg.cxx360 MapUnit eUnit = MAP_MM; in setPreview() local
364 eUnit = MAP_100TH_INCH; in setPreview()
367 Size aLogicPaperSize( LogicToLogic( i_rOrigSize, MapMode( MAP_100TH_MM ), MapMode( eUnit ) ) ); in setPreview()
371 aBuf.appendAscii( eUnit == MAP_MM ? "mm" : "in" ); in setPreview()
383 aBuf.appendAscii( eUnit == MAP_MM ? "mm" : "in" ); in setPreview()
494 FieldUnit eUnit = FUNIT_MM; in NUpTabPage() local
498 eUnit = FUNIT_INCH; in NUpTabPage()
502 maPageMarginEdt.SetUnit( eUnit ); in NUpTabPage()
503 maSheetMarginEdt.SetUnit( eUnit ); in NUpTabPage()
/aoo41x/main/sw/source/ui/app/
H A Dapphdl.cxx638 FieldUnit eUnit = (FieldUnit)((const SfxUInt16Item*)pItem)->GetValue(); in ExecOther() local
639 switch( eUnit ) in ExecOther()
649 ::SetDfltMetric(eUnit, bWebView); in ExecOther()

Completed in 228 milliseconds

1234