Home
last modified time | relevance | path

Searched refs:eMetric (Results 1 – 25 of 28) sorted by relevance

12

/trunk/main/sw/source/ui/app/
H A Dswmodul1.cxx242 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 Ddocst.cxx688 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 Dnum.cxx647 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 Dgrfpage.cxx89 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 Dnumpages.cxx1456 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 Dcellsh3.cxx544 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 Ddlgolbul.cxx186 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 Dappoptio.hxx43 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 Dtmpdlg.cxx642 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 Dappoptio.cxx82 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 Ddrwtxtex.cxx344 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 Dtabsh.cxx642 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 Ddrawsh.cxx285 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 Dtextsh1.cxx132 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 Dgrfsh.cxx163 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 Ddrwtxtsh.cxx238 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 Ddrwbassh.cxx251 … 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 Dfrmsh.cxx500 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 Dswmodule.hxx160 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 Dview.cxx931 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 Duitool.cxx630 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 Duitool.hxx70 void SetDfltMetric(FieldUnit eMetric, sal_Bool bWeb);
/trunk/main/svl/source/items/
H A Ditempool.cxx510 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 Dtextitem.cxx1176 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 Dstyle.hxx133 virtual UniString GetDescription( SfxMapUnit eMetric );

Completed in 206 milliseconds

12