Home
last modified time | relevance | path

Searched refs:eMapUnit (Results 1 – 25 of 26) sorted by relevance

12

/aoo41x/main/editeng/source/uno/
H A Dunoipset.cxx134 …const SfxMapUnit eMapUnit = pPool ? pPool->GetMetric((sal_uInt16)pMap->nWID) : SFX_MAPUNIT_100TH_M… in getPropertyValue() local
136 if( eMapUnit == SFX_MAPUNIT_100TH_MM ) in getPropertyValue()
144 if( eMapUnit != SFX_MAPUNIT_100TH_MM ) in getPropertyValue()
147 SvxUnoConvertToMM( eMapUnit, aVal ); in getPropertyValue()
199 if( (pMap->nMemberId & SFX_METRIC_ITEM) && eMapUnit != SFX_MAPUNIT_100TH_MM ) in setPropertyValue()
202 SvxUnoConvertFromMM( eMapUnit, aValue ); in setPropertyValue()
208 if( eMapUnit == SFX_MAPUNIT_100TH_MM ) in setPropertyValue()
231 const SfxMapUnit eMapUnit = mrItemPool.GetMetric((sal_uInt16)pMap->nWID); in getPropertyValue() local
233 if( eMapUnit == SFX_MAPUNIT_100TH_MM ) in getPropertyValue()
260 if(pMap->nMemberId & SFX_METRIC_ITEM && eMapUnit != SFX_MAPUNIT_100TH_MM) in getPropertyValue()
[all …]
/aoo41x/main/svx/source/unodraw/
H A Dunopool.cxx134 …const SfxMapUnit eMapUnit = pPool ? pPool->GetMetric((sal_uInt16)pEntry->mnHandle) : SFX_MAPUNIT_1… in getAny() local
137 if( eMapUnit == SFX_MAPUNIT_100TH_MM ) in getAny()
149 const SfxMapUnit eMapUnit = pPool->GetMetric((sal_uInt16)pEntry->mnHandle); in getAny() local
150 if(pEntry->mnMemberId & SFX_METRIC_ITEM && eMapUnit != SFX_MAPUNIT_100TH_MM) in getAny()
152 SvxUnoConvertToMM( eMapUnit, rValue ); in getAny()
169 const SfxMapUnit eMapUnit = pPool->GetMetric((sal_uInt16)pEntry->mnHandle); in putAny() local
170 if(pEntry->mnMemberId & SFX_METRIC_ITEM && eMapUnit != SFX_MAPUNIT_100TH_MM) in putAny()
172 SvxUnoConvertFromMM( eMapUnit, aValue ); in putAny()
H A Dunoshape.cxx558 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in ForceMetricToItemPoolMetric()
560 switch(eMapUnit) in ForceMetricToItemPoolMetric()
585 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in ForceMetricToItemPoolMetric()
587 switch(eMapUnit) in ForceMetricToItemPoolMetric()
612 SfxMapUnit eMapUnit = SFX_MAPUNIT_100TH_MM; in ForceMetricTo100th_mm() local
615 eMapUnit = mpModel->GetItemPool().GetMetric(0); in ForceMetricTo100th_mm()
616 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in ForceMetricTo100th_mm()
618 switch(eMapUnit) in ForceMetricTo100th_mm()
640 SfxMapUnit eMapUnit = SFX_MAPUNIT_100TH_MM; in ForceMetricTo100th_mm() local
644 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in ForceMetricTo100th_mm()
[all …]
/aoo41x/main/sc/source/filter/excel/
H A Dxlescher.cxx75 double lclGetTwipsScale( MapUnit eMapUnit ) in lclGetTwipsScale() argument
82 switch( eMapUnit ) in lclGetTwipsScale()
177 Rectangle XclObjAnchor::GetRect( const XclRoot& rRoot, SCTAB nScTab, MapUnit eMapUnit ) const in GetRect()
180 double fScale = lclGetTwipsScale( eMapUnit ); in GetRect()
193 …lObjAnchor::SetRect( const XclRoot& rRoot, SCTAB nScTab, const Rectangle& rRect, MapUnit eMapUnit ) in SetRect() argument
204 double fScale = lclGetTwipsScale( eMapUnit ); in SetRect()
214 const Rectangle& rRect, MapUnit eMapUnit, bool bDffAnchor ) in SetRect() argument
217 switch( eMapUnit ) in SetRect()
H A Dxeescher.cxx143 void XclExpDffSheetAnchor::ImplCalcAnchorRect( const Rectangle& rRect, MapUnit eMapUnit ) in ImplCalcAnchorRect() argument
145 maAnchor.SetRect( GetRoot(), mnScTab, rRect, eMapUnit ); in ImplCalcAnchorRect()
164 void XclExpDffEmbeddedAnchor::ImplCalcAnchorRect( const Rectangle& rRect, MapUnit eMapUnit ) in ImplCalcAnchorRect() argument
166 maAnchor.SetRect( maPageSize, mnScaleX, mnScaleY, rRect, eMapUnit, true ); in ImplCalcAnchorRect()
/aoo41x/main/svx/source/sidebar/line/
H A DLineWidthControl.cxx207 void LineWidthControl::SetWidthSelect( long lValue, bool bValuable, SfxMapUnit eMapUnit) in SetWidthSelect() argument
212 meMapUnit = eMapUnit; in SetWidthSelect()
244 sal_Int64 nVal = OutputDevice::LogicToLogic( lValue, (MapUnit)eMapUnit, MAP_100TH_MM ); in SetWidthSelect()
253 MapUnit eOrgUnit = (MapUnit)eMapUnit; in SetWidthSelect()
H A DLineWidthPopup.cxx54 void LineWidthPopup::SetWidthSelect (long lValue, bool bValuable, SfxMapUnit eMapUnit) in SetWidthSelect() argument
60 pControl->SetWidthSelect(lValue, bValuable, eMapUnit); in SetWidthSelect()
H A DLineWidthPopup.hxx43 void SetWidthSelect (long lValue, bool bValuable, SfxMapUnit eMapUnit);
H A DLineWidthControl.hxx44 void SetWidthSelect( long lValue, bool bValuable, SfxMapUnit eMapUnit);
/aoo41x/main/sfx2/source/control/
H A Dunoctitm.cxx762 SfxMapUnit eMapUnit( SFX_MAPUNIT_100TH_MM ); in dispatch() local
781 eMapUnit = GetCoreMetric( pShell->GetPool(), GetId() ); in dispatch()
810 eMapUnit = GetCoreMetric( SFX_APP()->GetPool(), GetId() ); in dispatch()
851 if ( eMapUnit == SFX_MAPUNIT_TWIP ) in dispatch()
957 SfxMapUnit eMapUnit( SFX_MAPUNIT_100TH_MM ); in StateChanged() local
968 eMapUnit = GetCoreMetric( pShell->GetPool(), nSID ); in StateChanged()
971 if ( eMapUnit == SFX_MAPUNIT_TWIP ) in StateChanged()
/aoo41x/main/sc/source/filter/inc/
H A Dxeescher.hxx59 virtual void ImplCalcAnchorRect( const Rectangle& rRect, MapUnit eMapUnit );
76 virtual void ImplCalcAnchorRect( const Rectangle& rRect, MapUnit eMapUnit );
93 virtual void ImplCalcAnchorRect( const Rectangle& rRect, MapUnit eMapUnit );
H A Dxlescher.hxx320 Rectangle GetRect( const XclRoot& rRoot, SCTAB nScTab, MapUnit eMapUnit ) const;
322 … SetRect( const XclRoot& rRoot, SCTAB nScTab, const Rectangle& rRect, MapUnit eMapUnit );
326 const Rectangle& rRect, MapUnit eMapUnit, bool bDffAnchor );
/aoo41x/main/svx/inc/svx/
H A Dsvdetc.hxx73 MapUnit eMapUnit; member in SdrEngineDefaults
101 static void SetMapUnit(MapUnit eMap) { GetDefaults().eMapUnit=eMap; } in SetMapUnit()
102 static MapUnit GetMapUnit() { return GetDefaults().eMapUnit; } in GetMapUnit()
/aoo41x/main/svx/source/dialog/
H A Dsrchdlg.cxx2347 SfxMapUnit eMapUnit = SFX_MAPUNIT_CM; in BuildAttrText_Impl() local
2351 case FUNIT_MM: eMapUnit = SFX_MAPUNIT_MM; break; in BuildAttrText_Impl()
2354 case FUNIT_KM: eMapUnit = SFX_MAPUNIT_CM; break; in BuildAttrText_Impl()
2355 case FUNIT_TWIP: eMapUnit = SFX_MAPUNIT_TWIP; break; in BuildAttrText_Impl()
2357 case FUNIT_PICA: eMapUnit = SFX_MAPUNIT_POINT; break; in BuildAttrText_Impl()
2360 case FUNIT_MILE: eMapUnit = SFX_MAPUNIT_INCH; break; in BuildAttrText_Impl()
2361 case FUNIT_100TH_MM: eMapUnit = SFX_MAPUNIT_100TH_MM; break; in BuildAttrText_Impl()
2379 eMapUnit, aStr ); in BuildAttrText_Impl()
H A Dsimptabl.cxx215 void SvxSimpleTable::SetTabs( long* pTabs, MapUnit eMapUnit) in SetTabs() argument
217 SvHeaderTabListBox::SetTabs(pTabs,eMapUnit); in SetTabs()
/aoo41x/main/svx/source/svdraw/
H A Dsvdotext.cxx1726 const SfxMapUnit eMapUnit(GetObjectMapUnit()); in TRGetBaseGeometry() local
1727 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in TRGetBaseGeometry()
1729 switch(eMapUnit) in TRGetBaseGeometry()
1788 const SfxMapUnit eMapUnit(GetObjectMapUnit()); in TRSetBaseGeometry() local
1789 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in TRSetBaseGeometry()
1791 switch(eMapUnit) in TRSetBaseGeometry()
H A Dsvdomeas.cxx1406 SfxMapUnit eMapUnit = pModel->GetItemPool().GetMetric(0); in TRGetBaseGeometry() local
1407 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in TRGetBaseGeometry()
1409 switch(eMapUnit) in TRGetBaseGeometry()
1443 SfxMapUnit eMapUnit = pModel->GetItemPool().GetMetric(0); in TRSetBaseGeometry() local
1444 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in TRSetBaseGeometry()
1446 switch(eMapUnit) in TRSetBaseGeometry()
H A Dsvdocapt.cxx797 SfxMapUnit eMapUnit = pModel->GetItemPool().GetMetric(0); in TRSetBaseGeometry() local
798 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in TRSetBaseGeometry()
800 switch(eMapUnit) in TRSetBaseGeometry()
H A Dsvdobj.cxx3048 const SfxMapUnit eMapUnit(GetObjectMapUnit()); in TRGetBaseGeometry() local
3049 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in TRGetBaseGeometry()
3051 switch(eMapUnit) in TRGetBaseGeometry()
3099 const SfxMapUnit eMapUnit(GetObjectMapUnit()); in TRSetBaseGeometry() local
3100 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in TRSetBaseGeometry()
3102 switch(eMapUnit) in TRSetBaseGeometry()
H A Dsvdoashp.cxx3311 const SfxMapUnit eMapUnit(GetObjectMapUnit()); in TRSetBaseGeometry() local
3312 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in TRSetBaseGeometry()
3314 switch(eMapUnit) in TRSetBaseGeometry()
3460 const SfxMapUnit eMapUnit(GetObjectMapUnit()); in TRGetBaseGeometry() local
3461 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in TRGetBaseGeometry()
3463 switch(eMapUnit) in TRGetBaseGeometry()
H A Dsvdopath.cxx2965 const SfxMapUnit eMapUnit(GetObjectMapUnit()); in TRGetBaseGeometry() local
2966 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in TRGetBaseGeometry()
2968 switch(eMapUnit) in TRGetBaseGeometry()
3035 const SfxMapUnit eMapUnit(GetObjectMapUnit()); in TRSetBaseGeometry() local
3036 if(eMapUnit != SFX_MAPUNIT_100TH_MM) in TRSetBaseGeometry()
3038 switch(eMapUnit) in TRSetBaseGeometry()
H A Dsvdetc.cxx599 eMapUnit(MAP_100TH_MM), in SdrEngineDefaults()
/aoo41x/main/cui/source/inc/
H A Dtransfrm.hxx226 MapUnit eMapUnit; member in SvxAngleTabPage
278 MapUnit eMapUnit; member in SvxSlantTabPage
/aoo41x/main/svtools/source/contnr/
H A Dsvtabbx.cxx139 void SvTabListBox::SetTabs( long* pTabs, MapUnit eMapUnit ) in SetTabs() argument
150 MapMode aMMSource( eMapUnit ); in SetTabs()
167 void SvTabListBox::SetTab( sal_uInt16 nTab,long nValue,MapUnit eMapUnit ) in SetTab() argument
173 MapMode aMMSource( eMapUnit ); in SetTab()
/aoo41x/main/editeng/source/editeng/
H A Dimpedit4.cxx1054 MapUnit eMapUnit = (MapUnit)aEditDoc.GetItemPool().GetMetric( DEF_METRIC ); in CreateBinTextObject() local
1055 pTxtObj->SetMetric( (sal_uInt16) eMapUnit ); in CreateBinTextObject()
1057 pTxtObj->GetPool()->SetDefaultMetric( (SfxMapUnit) eMapUnit ); in CreateBinTextObject()

Completed in 204 milliseconds

12