/trunk/main/sw/source/ui/app/ |
H A D | swmodul1.cxx | 242 void SwModule::ApplyUserMetric( FieldUnit eMetric, sal_Bool bWeb ) in ApplyUserMetric() argument 258 if(eOldMetric != eMetric) in ApplyUserMetric() 259 pPref->SetMetric(eMetric); in ApplyUserMetric() 261 FieldUnit eHScrollMetric = pPref->IsHScrollMetric() ? pPref->GetHScrollMetric() : eMetric; in ApplyUserMetric() 262 FieldUnit eVScrollMetric = pPref->IsVScrollMetric() ? pPref->GetVScrollMetric() : eMetric; in ApplyUserMetric() 280 void SwModule::ApplyRulerMetric( FieldUnit eMetric, sal_Bool bHorizontal, sal_Bool bWeb ) in ApplyRulerMetric() argument 296 pPref->SetHScrollMetric(eMetric); in ApplyRulerMetric() 298 pPref->SetVScrollMetric(eMetric); in ApplyRulerMetric() 307 pTmpView->ChangeTabMetric(eMetric); in ApplyRulerMetric() 309 pTmpView->ChangeVLinealMetric(eMetric); in ApplyRulerMetric()
|
H A D | docst.cxx | 688 FieldUnit eMetric = ::GetDfltMetric(0 != (HTMLMODE_ON&nHtmlMode)); in Edit() local 689 SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric))); in Edit()
|
/trunk/main/sw/source/ui/misc/ |
H A D | num.cxx | 647 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, &pWrtSh->GetView())); in SetWrtShell() local 648 if(eMetric == FUNIT_MM) in SetWrtShell() 659 aDistBorderMF .SetUnit( eMetric ); in SetWrtShell() 660 aDistNumMF .SetUnit( eMetric ); in SetWrtShell() 661 aIndentMF .SetUnit( eMetric ); in SetWrtShell() 663 aListtabMF.SetUnit( eMetric ); in SetWrtShell() 664 aAlignedAtMF.SetUnit( eMetric ); in SetWrtShell() 665 aIndentAtMF.SetUnit( eMetric ); in SetWrtShell() 1139 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebDocShell, pDocShell)); in PageCreated() local 1150 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebDocShell, pDocShell)); in PageCreated() local [all …]
|
/trunk/main/cui/source/tabpages/ |
H A D | grfpage.cxx | 89 const FieldUnit eMetric = GetModuleFieldUnit( rSet ); in SvxGrfCropPage() local 91 SetFieldUnit( aWidthMF, eMetric ); in SvxGrfCropPage() 92 SetFieldUnit( aHeightMF, eMetric ); in SvxGrfCropPage() 93 SetFieldUnit( aLeftMF, eMetric ); in SvxGrfCropPage() 94 SetFieldUnit( aRightMF, eMetric ); in SvxGrfCropPage() 95 SetFieldUnit( aTopMF , eMetric ); in SvxGrfCropPage() 96 SetFieldUnit( aBottomMF, eMetric ); in SvxGrfCropPage() 696 const FieldUnit eMetric = GetModuleFieldUnit( GetItemSet() ); in GraphicHasChanged() local 699 SetFieldUnit( aFld, eMetric ); in GraphicHasChanged()
|
H A D | numpages.cxx | 1456 void SvxNumOptionsTabPage::SetMetric(FieldUnit eMetric) in SetMetric() argument 1458 if(eMetric == FUNIT_MM) in SetMetric() 1463 aWidthMF .SetUnit( eMetric ); in SetMetric() 1464 aHeightMF .SetUnit( eMetric ); in SetMetric() 3595 if(eMetric == FUNIT_MM) in SetMetric() 3606 aDistBorderMF .SetUnit( eMetric ); in SetMetric() 3607 aDistNumMF .SetUnit( eMetric ); in SetMetric() 3608 aIndentMF .SetUnit( eMetric ); in SetMetric() 3610 aListtabMF.SetUnit( eMetric ); in SetMetric() 3611 aAlignedAtMF.SetUnit( eMetric ); in SetMetric() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | cellsh3.cxx | 544 FieldUnit eMetric = SC_MOD()->GetAppOptions().GetAppMetric(); in Execute() local 562 eMetric, in Execute() 598 FieldUnit eMetric = SC_MOD()->GetAppOptions().GetAppMetric(); in Execute() local 614 eMetric, in Execute() 649 FieldUnit eMetric = SC_MOD()->GetAppOptions().GetAppMetric(); in Execute() local 668 eMetric, in Execute() 704 FieldUnit eMetric = SC_MOD()->GetAppOptions().GetAppMetric(); in Execute() local 721 eMetric, in Execute()
|
/trunk/main/sd/source/ui/dlg/ |
H A D | dlgolbul.cxx | 186 FieldUnit eMetric = pSdView->GetDoc()->GetUIUnit(); in PageCreated() local 188 aSet.Put ( SfxAllEnumItem(SID_METRIC_ITEM,(sal_uInt16)eMetric)); in PageCreated() 197 FieldUnit eMetric = pSdView->GetDoc()->GetUIUnit(); in PageCreated() local 199 aSet.Put ( SfxAllEnumItem(SID_METRIC_ITEM,(sal_uInt16)eMetric)); in PageCreated()
|
/trunk/main/sc/inc/ |
H A D | appoptio.hxx | 43 void SetAppMetric( FieldUnit eUnit ) { eMetric = eUnit; } in SetAppMetric() 44 FieldUnit GetAppMetric() const { return eMetric; } in GetAppMetric() 86 FieldUnit eMetric; member in ScAppOptions
|
/trunk/main/sw/source/ui/fmtui/ |
H A D | tmpdlg.cxx | 642 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebDocShell,pDocShell)); in PageCreated() local 643 aSet.Put(SfxAllEnumItem(SID_METRIC_ITEM,static_cast<sal_uInt16>(eMetric))); in PageCreated() 654 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebDocShell,pDocShell)); in PageCreated() local 656 aSet.Put(SfxAllEnumItem(SID_METRIC_ITEM,static_cast<sal_uInt16>(eMetric))); in PageCreated()
|
/trunk/main/sc/source/core/tool/ |
H A D | appoptio.cxx | 82 eMetric = FUNIT_CM; // default for countries with metric system in SetDefaults() 84 eMetric = FUNIT_INCH; // default for others in SetDefaults() 118 eMetric = rCpy.eMetric; in operator =()
|
/trunk/main/sw/source/ui/shells/ |
H A D | drwtxtex.cxx | 344 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, pView)); in Execute() local 345 … SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric)) ); in Execute() 443 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, pView)); in Execute() local 444 … SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric)) ); in Execute()
|
H A D | tabsh.cxx | 642 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, &rSh.GetView())); in Execute() local 643 SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric))); in Execute() 694 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, pView)); in Execute() local 695 … SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric))); in Execute()
|
H A D | drawsh.cxx | 285 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, &rSh.GetView())); in Execute() local 286 SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric)) ); in Execute()
|
H A D | textsh1.cxx | 132 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, &rWrtSh.GetView())); in lcl_CharDialog() local 133 SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric))); in lcl_CharDialog() 883 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, &GetView())); in Execute() local 884 SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric))); in Execute()
|
H A D | grfsh.cxx | 163 FieldUnit eMetric = ::GetDfltMetric((0 != (nHtmlMode&HTMLMODE_ON))); in Execute() local 164 SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric)) ); in Execute()
|
H A D | drwtxtsh.cxx | 238 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, &rSh.GetView())); in ExecFontWork() local 239 SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric)) ); in ExecFontWork()
|
H A D | drwbassh.cxx | 251 … FieldUnit eMetric = ::GetDfltMetric(0 != dynamic_cast<SwWebView*>(&GetView())); in Execute() local 252 … SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric)) ); in Execute()
|
H A D | frmsh.cxx | 500 FieldUnit eMetric = ::GetDfltMetric(0 != PTR_CAST(SwWebView, &GetView())); in Execute() local 501 … SW_MOD()->PutItem(SfxUInt16Item(SID_ATTR_METRIC, static_cast< sal_uInt16 >(eMetric) )); in Execute()
|
/trunk/main/sw/inc/ |
H A D | swmodule.hxx | 160 void ApplyUserMetric( FieldUnit eMetric, sal_Bool bWeb ); 161 void ApplyRulerMetric( FieldUnit eMetric, sal_Bool bHorizontal, sal_Bool bWeb );
|
/trunk/main/sw/source/ui/uiview/ |
H A D | view.cxx | 931 FieldUnit eMetric = pUsrPref->GetHScrollMetric(); in SwView() local 932 pHRuler->SetUnit( eMetric ); in SwView() 933 eMetric = pUsrPref->GetVScrollMetric(); in SwView() 934 pVRuler->SetUnit( eMetric ); in SwView()
|
/trunk/main/sw/source/ui/utlui/ |
H A D | uitool.cxx | 630 void SetDfltMetric( FieldUnit eMetric, sal_Bool bWeb ) in SetDfltMetric() argument 632 SW_MOD()->ApplyUserMetric(eMetric, bWeb); in SetDfltMetric()
|
/trunk/main/sw/source/ui/inc/ |
H A D | uitool.hxx | 70 void SetDfltMetric(FieldUnit eMetric, sal_Bool bWeb);
|
/trunk/main/svl/source/items/ |
H A D | itempool.cxx | 510 SfxMapUnit eMetric, /* IN: gew"unschte Ma\seinheit der Darstellung */ in GetPresentation() argument 531 ePresent, GetMetric(rItem.Which()), eMetric, rText, pIntlWrapper ); in GetPresentation()
|
/trunk/main/editeng/source/items/ |
H A D | textitem.cxx | 1176 SfxMapUnit eMetric, SfxMapUnit eCoreMetric ) in SetHeight() argument 1181 if( SFX_MAPUNIT_RELATIVE != eMetric ) in SetHeight() 1183 ::ControlToItem( ::ItemToControl((short)nNewProp, eMetric, in SetHeight() 1194 ePropUnit = eMetric; in SetHeight()
|
/trunk/main/svl/inc/svl/ |
H A D | style.hxx | 133 virtual UniString GetDescription( SfxMapUnit eMetric );
|