Searched refs:nMetric (Results 1 – 7 of 7) sorted by relevance
580 sal_uInt16 nMetric = (sal_uInt16)GetDoc()->GetUIUnit(); in CreateHRuler() local582 if( nMetric == 0xffff ) in CreateHRuler()583 …nMetric = (sal_uInt16)GetViewShellBase().GetViewFrame()->GetDispatcher()->GetModule()->GetFieldUni… in CreateHRuler()585 pRuler->SetUnit( FieldUnit( nMetric ) ); in CreateHRuler()614 sal_uInt16 nMetric = (sal_uInt16)GetDoc()->GetUIUnit(); in CreateVRuler() local616 if( nMetric == 0xffff ) in CreateVRuler()617 …nMetric = (sal_uInt16)GetViewShellBase().GetViewFrame()->GetDispatcher()->GetModule()->GetFieldUni… in CreateVRuler()619 pRuler->SetUnit( FieldUnit( nMetric ) ); in CreateVRuler()
200 sal_uInt16 nMetric; member in BinTextObject282 sal_Bool HasMetric() const { return nMetric != 0xFFFF; } in HasMetric()283 sal_uInt16 GetMetric() const { return nMetric; } in GetMetric()284 void SetMetric( sal_uInt16 n ) { nMetric = n; } in SetMetric()
641 nMetric = 0xFFFF; in BinTextObject()680 nMetric = r.nMetric; in BinTextObject()1313 rOStream << nMetric; in StoreData()1535 nMetric = nTmpMetric; in CreateData()1536 if ( bOwnerOfPool && pPool && ( nMetric != 0xFFFF ) ) in CreateData()1537 pPool->SetDefaultMetric( (SfxMapUnit)nMetric ); in CreateData()1623 ( nMetric != rCompare.nMetric ) || in operator ==()
480 FieldUnit nMetric = (FieldUnit)0xffff; in CreateItemSet() local482 nMetric = pDoc->GetUIUnit(); in CreateItemSet()484 nMetric = (FieldUnit)pOptions->GetMetric(); in CreateItemSet()486 if( nMetric == (FieldUnit)0xffff ) in CreateItemSet()487 nMetric = GetFieldUnit(); in CreateItemSet()489 pRet->Put( SfxUInt16Item( SID_ATTR_METRIC, (sal_uInt16)nMetric ) ); in CreateItemSet()
197 sal_uInt16 nMetric = pOptions->GetMetric(); in GetSdOptions() local204 if( nMetric != 0xffff && pDoc && eDocType == pDoc->GetDocumentType() ) in GetSdOptions()205 PutItem( SfxUInt16Item( SID_ATTR_METRIC, nMetric ) ); in GetSdOptions()
223 nMetric((sal_uInt16)(isMetricSystem() ? FUNIT_CM : FUNIT_INCH)), in SdOptionsLayout()
149 sal_uInt16 nMetric; // Layout/Other/MeasureUnit member in SdOptionsLayout169 …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 53 milliseconds