Home
last modified time | relevance | path

Searched refs:nMetric (Results 1 – 7 of 7) sorted by relevance

/trunk/main/sd/source/ui/view/
H A Ddrviews1.cxx586 sal_uInt16 nMetric = (sal_uInt16)GetDoc()->GetUIUnit(); in CreateHRuler() local
588 if( nMetric == 0xffff ) in CreateHRuler()
589nMetric = (sal_uInt16)GetViewShellBase().GetViewFrame()->GetDispatcher()->GetModule()->GetFieldUni… in CreateHRuler()
591 pRuler->SetUnit( FieldUnit( nMetric ) ); in CreateHRuler()
620 sal_uInt16 nMetric = (sal_uInt16)GetDoc()->GetUIUnit(); in CreateVRuler() local
622 if( nMetric == 0xffff ) in CreateVRuler()
623nMetric = (sal_uInt16)GetViewShellBase().GetViewFrame()->GetDispatcher()->GetModule()->GetFieldUni… in CreateVRuler()
625 pRuler->SetUnit( FieldUnit( nMetric ) ); in CreateVRuler()
/trunk/main/sd/source/ui/app/
H A Dsdmod2.cxx476 FieldUnit nMetric = (FieldUnit)0xffff; in CreateItemSet() local
478 nMetric = pDoc->GetUIUnit(); in CreateItemSet()
480 nMetric = (FieldUnit)pOptions->GetMetric(); in CreateItemSet()
482 if( nMetric == (FieldUnit)0xffff ) in CreateItemSet()
483 nMetric = GetFieldUnit(); in CreateItemSet()
485 pRet->Put( SfxUInt16Item( SID_ATTR_METRIC, (sal_uInt16)nMetric ) ); in CreateItemSet()
H A Dsdmod.cxx189 sal_uInt16 nMetric = pOptions->GetMetric(); in GetSdOptions() local
196 if( nMetric != 0xffff && pDoc && eDocType == pDoc->GetDocumentType() ) in GetSdOptions()
197 PutItem( SfxUInt16Item( SID_ATTR_METRIC, nMetric ) ); in GetSdOptions()
H A Doptsitem.cxx221 nMetric((sal_uInt16)(isMetricSystem() ? FUNIT_CM : FUNIT_INCH)), in SdOptionsLayout()
/trunk/main/editeng/source/editeng/
H A Deditobj2.hxx202 sal_uInt16 nMetric; member in BinTextObject
284 sal_Bool HasMetric() const { return nMetric != 0xFFFF; } in HasMetric()
285 sal_uInt16 GetMetric() const { return nMetric; } in GetMetric()
286 void SetMetric( sal_uInt16 n ) { nMetric = n; } in SetMetric()
H A Deditobj.cxx641 nMetric = 0xFFFF; in BinTextObject()
680 nMetric = r.nMetric; in BinTextObject()
1313 rOStream << nMetric; in StoreData()
1542 nMetric = nTmpMetric; in CreateData()
1543 if ( bOwnerOfPool && pPool && ( nMetric != 0xFFFF ) ) in CreateData()
1544 pPool->SetDefaultMetric( (SfxMapUnit)nMetric ); in CreateData()
1630 ( nMetric != rCompare.nMetric ) || in operator ==()
/trunk/main/sd/source/ui/inc/
H A Doptsitem.hxx149 sal_uInt16 nMetric; // Layout/Other/MeasureUnit member in SdOptionsLayout
169 …tric() const { Init(); return( ( 0xffff == nMetric ) ? (sal_uInt16)SfxModule::GetCurrentFieldUnit(… in GetMetric()
177 …void SetMetric( sal_uInt16 nInMetric ) { if( nMetric != nInMetric ) { OptionsChanged(); nMetric = … in SetMetric()

Completed in 63 milliseconds