Searched refs:nMetric (Results 1 – 7 of 7) sorted by relevance
586 sal_uInt16 nMetric = (sal_uInt16)GetDoc()->GetUIUnit(); in CreateHRuler() local588 if( nMetric == 0xffff ) in CreateHRuler()589 …nMetric = (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() local622 if( nMetric == 0xffff ) in CreateVRuler()623 …nMetric = (sal_uInt16)GetViewShellBase().GetViewFrame()->GetDispatcher()->GetModule()->GetFieldUni… in CreateVRuler()625 pRuler->SetUnit( FieldUnit( nMetric ) ); in CreateVRuler()
476 FieldUnit nMetric = (FieldUnit)0xffff; in CreateItemSet() local478 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()
189 sal_uInt16 nMetric = pOptions->GetMetric(); in GetSdOptions() local196 if( nMetric != 0xffff && pDoc && eDocType == pDoc->GetDocumentType() ) in GetSdOptions()197 PutItem( SfxUInt16Item( SID_ATTR_METRIC, nMetric ) ); in GetSdOptions()
221 nMetric((sal_uInt16)(isMetricSystem() ? FUNIT_CM : FUNIT_INCH)), in SdOptionsLayout()
202 sal_uInt16 nMetric; member in BinTextObject284 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()
641 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 ==()
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 129 milliseconds