Home
last modified time | relevance | path

Searched refs:eDestUnit (Results 1 – 10 of 10) sorted by relevance

/aoo42x/main/xmloff/source/core/
H A Dxmlehelp.cxx232 const MapUnit eCoreUnit, const MapUnit eDestUnit) in GetConversionFactor() argument
237 if(eCoreUnit != eDestUnit) in GetConversionFactor()
245 switch(eDestUnit) in GetConversionFactor()
250 DBG_ASSERT(MAP_INCH == eDestUnit, "output unit not supported for twip values"); in GetConversionFactor()
276 DBG_ASSERT(MAP_INCH == eDestUnit, "output unit not supported for twip values"); in GetConversionFactor()
287 switch(eDestUnit) in GetConversionFactor()
319 switch(eDestUnit) in GetConversionFactor()
324 DBG_ASSERT(MAP_INCH == eDestUnit, "output unit not supported for 1/100mm values"); in GetConversionFactor()
350 DBG_ASSERT(MAP_INCH == eDestUnit, "output unit not supported for 1/100mm values"); in GetConversionFactor()
361 switch(eDestUnit) in GetConversionFactor()
[all …]
/aoo42x/main/editeng/source/editeng/
H A Deditdoc2.cxx437 void ConvertItem( SfxPoolItem& rPoolItem, MapUnit eSourceUnit, MapUnit eDestUnit ) in ConvertItem() argument
439 DBG_ASSERT( eSourceUnit != eDestUnit, "ConvertItem - Why?!" ); in ConvertItem()
448 rItem.SetTxtLeft( OutputDevice::LogicToLogic( rItem.GetTxtLeft(), eSourceUnit, eDestUnit ) ); in ConvertItem()
450 rItem.SetRight( OutputDevice::LogicToLogic( rItem.GetRight(), eSourceUnit, eDestUnit ) ); in ConvertItem()
457 …int_cast< sal_uInt16 >( OutputDevice::LogicToLogic( rItem.GetUpper(), eSourceUnit, eDestUnit ) ) ); in ConvertItem()
458 …int_cast< sal_uInt16 >( OutputDevice::LogicToLogic( rItem.GetLower(), eSourceUnit, eDestUnit ) ) ); in ConvertItem()
467 …ast< sal_uInt16 >( OutputDevice::LogicToLogic( rItem.GetLineHeight(), eSourceUnit, eDestUnit ) ) ); in ConvertItem()
490 rItem.SetHeight( OutputDevice::LogicToLogic( rItem.GetHeight(), eSourceUnit, eDestUnit ) ); in ConvertItem()
517 MapUnit eDestUnit = pDestUnit ? *pDestUnit : (MapUnit)pDestPool->GetMetric( nWhich ); in ConvertAndPutItems() local
518 if ( eSourceUnit != eDestUnit ) in ConvertAndPutItems()
[all …]
H A Deertfpar.cxx321 const MapUnit eDestUnit = ( MapUnit )( pImpEditEngine->GetEditDoc().GetItemPool().GetMetric(0) ); in SetAttrInDoc() local
323 if (eDestUnit != eSrcUnit) in SetAttrInDoc()
332 nNewHeight = pImpEditEngine->GetRefDevice()->LogicToLogic( (long)nHeight, eSrcUnit, eDestUnit ); in SetAttrInDoc()
499 const MapUnit eDestUnit = static_cast< MapUnit >( aEditMapMode.GetMapUnit() ); in CalcValue() local
501 if (eDestUnit != eSrcUnit) in CalcValue()
502 nTokenValue = OutputDevice::LogicToLogic( (long)nTokenValue, eSrcUnit, eDestUnit ); in CalcValue()
H A Dimpedit4.cxx1258 MapUnit eSourceUnit = MapUnit(), eDestUnit = MapUnit(); in InsertBinTextObject() local
1262 eDestUnit = (MapUnit)aEditDoc.GetItemPool().GetMetric( DEF_METRIC ); in InsertBinTextObject()
1263 if ( eSourceUnit != eDestUnit ) in InsertBinTextObject()
1306 ConvertItem( *pNew, eSourceUnit, eDestUnit ); in InsertBinTextObject()
1354 ConvertAndPutItems( aAttribs, pC->GetParaAttribs(), &eSourceUnit, &eDestUnit ); in InsertBinTextObject()
H A Dimpedit.hxx1227 void ConvertItem( SfxPoolItem& rPoolItem, MapUnit eSourceUnit, MapUnit eDestUnit );
/aoo42x/main/editeng/source/items/
H A Ditemtype.cxx38 XubString GetMetricText( long nVal, SfxMapUnit eSrcUnit, SfxMapUnit eDestUnit, const IntlWrapper* p… in GetMetricText() argument
50 switch ( eDestUnit ) in GetMetricText()
60 switch ( eDestUnit ) in GetMetricText()
78 switch ( eDestUnit ) in GetMetricText()
92 nVal, (MapUnit)eSrcUnit, (MapUnit)eDestUnit )); in GetMetricText()
99 if ( SFX_MAPUNIT_CM == eDestUnit || SFX_MAPUNIT_INCH == eDestUnit ) in GetMetricText()
H A Dfrmitems.cxx1623 SfxMapUnit eDestUnit, in GetValueString() argument
1692 String sMetric = EE_RESSTR(GetMetricId( eDestUnit )); in GetValueString()
1694 aStr += GetMetricText( (long)nInWidth, eSrcUnit, eDestUnit, pIntl ); in GetValueString()
1698 aStr += GetMetricText( (long)nOutWidth, eSrcUnit, eDestUnit, pIntl ); in GetValueString()
1702 aStr += GetMetricText( (long)nDistance, eSrcUnit, eDestUnit, pIntl ); in GetValueString()
/aoo42x/main/xmloff/inc/
H A Dxmlehelp.hxx39 const MapUnit eCoreUnit, const MapUnit eDestUnit);
/aoo42x/main/editeng/inc/editeng/
H A Ditemtype.hxx47 EDITENG_DLLPUBLIC String GetMetricText( long nVal, SfxMapUnit eSrcUnit, SfxMapUnit eDestUnit, const…
H A Dborderline.hxx116 String GetValueString( SfxMapUnit eSrcUnit, SfxMapUnit eDestUnit,

Completed in 672 milliseconds