| /AOO42X/main/vcl/inc/vcl/ |
| H A D | field.hxx | 237 FieldUnit meUnit; 254 void SetUnit( FieldUnit meUnit ); 255 FieldUnit GetUnit() const { return meUnit; } in GetUnit() 261 void SetMax( sal_Int64 nNewMax, FieldUnit eInUnit ); 263 sal_Int64 GetMax( FieldUnit eOutUnit ) const; 265 void SetMin( sal_Int64 nNewMin, FieldUnit eInUnit ); 267 sal_Int64 GetMin( FieldUnit eOutUnit ) const; 268 void SetBaseValue( sal_Int64 nNewBase, FieldUnit eInUnit = FUNIT_NONE ); 269 sal_Int64 GetBaseValue( FieldUnit eOutUnit = FUNIT_NONE ) const; 271 virtual void SetValue( sal_Int64 nNewValue, FieldUnit eInUnit ); [all …]
|
| /AOO42X/main/vcl/source/control/ |
| H A D | field.cxx | 1138 static const String& ImplMetricToString( FieldUnit rUnit ) in ImplMetricToString() 1154 static FieldUnit ImplStringToMetric( const String &rMetricString ) in ImplStringToMetric() 1175 static FieldUnit ImplMetricGetUnit( const XubString& rStr ) in ImplMetricGetUnit() 1206 static FieldUnit eDefaultUnit = FUNIT_NONE; 1208 FieldUnit MetricField::GetDefaultUnit() { return eDefaultUnit; } in GetDefaultUnit() 1209 void MetricField::SetDefaultUnit( FieldUnit meUnit ) { eDefaultUnit = meUnit; } in SetDefaultUnit() 1211 static FieldUnit ImplMap2FieldUnit( MapUnit meUnit, long& nDecDigits ) in ImplMap2FieldUnit() 1255 FieldUnit eInUnit, FieldUnit eOutUnit ) in ConvertValue() 1274 MapUnit eInUnit, FieldUnit eOutUnit ) in ConvertValue() 1284 FieldUnit eInUnit, MapUnit eOutUnit ) in ConvertValue() [all …]
|
| /AOO42X/main/sw/source/ui/inc/ |
| H A D | prcntfld.hxx | 41 FieldUnit eOldUnit; 57 virtual void SetValue(sal_Int64 nNewValue, FieldUnit eInUnit = FUNIT_NONE); 61 void SetPrcntValue(sal_Int64 nNewValue, FieldUnit eInUnit = FUNIT_NONE); 63 void SetUserValue(sal_Int64 nNewValue, FieldUnit eInUnit = FUNIT_NONE); 65 void SetBaseValue(sal_Int64 nNewValue, FieldUnit eInUnit = FUNIT_NONE); 67 sal_Int64 GetValue(FieldUnit eOutUnit = FUNIT_NONE); 72 void SetMax(sal_Int64 nNewMax, FieldUnit eInUnit = FUNIT_NONE); 75 void SetMin(sal_Int64 nNewMin, FieldUnit eInUnit = FUNIT_NONE); 82 sal_Int64 GetRealValue(FieldUnit eOutUnit = FUNIT_NONE); 84 sal_Int64 Convert(sal_Int64 nValue, FieldUnit eInUnit, FieldUnit eOutUnit);
|
| H A D | usrpref.hxx | 134 FieldUnit eUserMetric; 135 FieldUnit eHScrollMetric; 137 FieldUnit eVScrollMetric; 226 FieldUnit GetMetric() const { return eUserMetric;} in GetMetric() 227 void SetMetric(FieldUnit eSet, sal_Bool bNoModify = sal_False) in SetMetric() 235 … FieldUnit GetHScrollMetric() const { return bIsHScrollMetricSet ? eHScrollMetric : eUserMetric;} in GetHScrollMetric() 236 void SetHScrollMetric(FieldUnit eSet, sal_Bool bNoModify = sal_False) in SetHScrollMetric() 244 … FieldUnit GetVScrollMetric() const { return bIsVScrollMetricSet ? eVScrollMetric : eUserMetric;} in GetVScrollMetric() 245 void SetVScrollMetric(FieldUnit eSet, sal_Bool bNoModify = sal_False) in SetVScrollMetric()
|
| H A D | uitool.hxx | 45 SW_DLLPUBLIC void SetMetric(MetricFormatter& rCtrl, FieldUnit eUnit); 69 SW_DLLPUBLIC FieldUnit GetDfltMetric(sal_Bool bWeb); 70 void SetDfltMetric(FieldUnit eMetric, sal_Bool bWeb);
|
| /AOO42X/main/svx/inc/svx/ |
| H A D | svdtrans.hxx | 257 FrPair GetMapFactor(MapUnit eS, FieldUnit eD); 258 FrPair GetMapFactor(FieldUnit eS, MapUnit eD); 259 FrPair GetMapFactor(FieldUnit eS, FieldUnit eD); 270 inline FASTBOOL IsMetric(FieldUnit eU) { in IsMetric() 274 inline FASTBOOL IsInch(FieldUnit eU) { in IsInch() 289 FieldUnit eSrcFU; 290 FieldUnit eDstFU; 296 …SdrFormatter(MapUnit eSrc, FieldUnit eDst) { eSrcMU=eSrc; bSrcFU=sal_False; eDstFU=eDst; bDstFU=… in SdrFormatter() 297 …SdrFormatter(FieldUnit eSrc, MapUnit eDst) { eSrcFU=eSrc; bSrcFU=sal_True; eDstMU=eDst; bDstFU=… in SdrFormatter() 298 …SdrFormatter(FieldUnit eSrc, FieldUnit eDst) { eSrcFU=eSrc; bSrcFU=sal_True; eDstFU=eDst; bDstFU=… in SdrFormatter() [all …]
|
| H A D | sxmuitm.hxx | 36 …SdrMeasureUnitItem(FieldUnit eUnit=FUNIT_NONE): SfxEnumItem(SDRATTR_MEASUREUNIT,sal::static_int_ca… in SdrMeasureUnitItem() 41 FieldUnit GetValue() const { return (FieldUnit)SfxEnumItem::GetValue(); } in GetValue()
|
| H A D | svdmodel.hxx | 177 …FieldUnit eUIUnit; // Masseinheit, Masstab (z.B. 1/1000) für die UI (Statuszeile) wird v… 425 void SetUIUnit(FieldUnit eUnit); 426 FieldUnit GetUIUnit() const { return eUIUnit; } in GetUIUnit() 431 void SetUIUnit(FieldUnit eUnit, const Fraction& rScale); 438 static void TakeUnitStr(FieldUnit eUnit, String& rStr);
|
| /AOO42X/main/offapi/com/sun/star/awt/ |
| H A D | XMetricField.idl | 47 void setValue( [in] hyper Value, [in] short FieldUnit ); 53 void setUserValue( [in] hyper Value, [in] short FieldUnit ); 59 hyper getValue( [in] short FieldUnit ); 65 hyper getCorrectedValue( [in] short FieldUnit ); 71 void setMin( [in] hyper Value, [in] short FieldUnit ); 78 hyper getMin( [in] short FieldUnit ); 84 void setMax( [in] hyper Value, [in] short FieldUnit ); 91 hyper getMax( [in] short FieldUnit ); 97 void setFirst( [in] hyper Value, [in] short FieldUnit ); 103 hyper getFirst( [in] short FieldUnit ); [all …]
|
| /AOO42X/main/sw/source/ui/utlui/ |
| H A D | prcntfld.cxx | 143 void PercentField::SetValue(sal_Int64 nNewValue, FieldUnit eInUnit) in SetValue() 150 void PercentField::SetPrcntValue(sal_Int64 nNewValue, FieldUnit eInUnit) in SetPrcntValue() 177 void PercentField::SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit ) in SetUserValue() 205 void PercentField::SetBaseValue(sal_Int64 nNewValue, FieldUnit eInUnit) in SetBaseValue() 217 sal_Int64 PercentField::GetValue( FieldUnit eOutUnit ) in GetValue() 226 void PercentField::SetMin(sal_Int64 nNewMin, FieldUnit eInUnit) in SetMin() 245 void PercentField::SetMax(sal_Int64 nNewMax, FieldUnit eInUnit) in SetMax() 319 sal_Int64 PercentField::GetRealValue(FieldUnit eOutUnit) in GetRealValue() 331 sal_Int64 PercentField::Convert(sal_Int64 nValue, FieldUnit eInUnit, FieldUnit eOutUnit) in Convert()
|
| /AOO42X/main/svtools/inc/svtools/ |
| H A D | ctrlbox.hxx | 251 FieldUnit eUnit; 252 FieldUnit eSourceUnit; 288 inline void SetUnit( FieldUnit eNewUnit ) { eUnit = eNewUnit; } in SetUnit() 289 inline FieldUnit GetUnit() const { return eUnit; } in GetUnit() 290 inline void SetSourceUnit( FieldUnit eNewUnit ) { eSourceUnit = eNewUnit; } in SetSourceUnit() 291 inline FieldUnit GetSourceUnit() const { return eSourceUnit; } in GetSourceUnit() 486 virtual void SetValue( sal_Int64 nNewValue, FieldUnit eInUnit ); 488 virtual sal_Int64 GetValue( FieldUnit eOutUnit ) const; 490 sal_Int64 GetValue( sal_uInt16 nPos, FieldUnit eOutUnit ) const; 491 void SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit );
|
| H A D | unitconv.hxx | 39 SVT_DLLPUBLIC void SetFieldUnit( MetricField& rCtrl, FieldUnit eUnit, sal_Bool bAll = sal_Fals… 40 SVT_DLLPUBLIC void SetFieldUnit( MetricBox& rCtrl, FieldUnit eUnit, sal_Bool bAll = sal_False … 48 SVT_DLLPUBLIC FieldUnit MapToFieldUnit( const SfxMapUnit eUnit ); 103 SVT_DLLPUBLIC long TransformMetric( long nVal, FieldUnit aOld, FieldUnit aNew );
|
| /AOO42X/main/svtools/source/misc/ |
| H A D | unitconv.cxx | 33 void SetFieldUnit( MetricField& rField, FieldUnit eUnit, sal_Bool bAll ) in SetFieldUnit() 90 void SetFieldUnit( MetricBox& rBox, FieldUnit eUnit, sal_Bool bAll ) in SetFieldUnit() 208 nOut = TransformMetric( nIn, FUNIT_MM, (FieldUnit)eCtrl ); in ItemToControl() 214 nOut = TransformMetric( nIn, FUNIT_CM, (FieldUnit)eCtrl ); in ItemToControl() 229 nOut = TransformMetric( nIn, FUNIT_INCH, (FieldUnit)eCtrl ); in ItemToControl() 235 nOut = TransformMetric( nIn, FUNIT_POINT, (FieldUnit)eCtrl ); in ItemToControl() 241 nOut = TransformMetric( nIn, FUNIT_TWIP, (FieldUnit)eCtrl ); in ItemToControl() 258 FieldUnit MapToFieldUnit( const SfxMapUnit eUnit ) in MapToFieldUnit() 710 long TransformMetric( long nVal, FieldUnit aOld, FieldUnit aNew ) in TransformMetric()
|
| /AOO42X/main/cui/source/tabpages/ |
| H A D | grfpage.cxx | 45 inline long lcl_GetValue( MetricField& rMetric, FieldUnit eUnit ) in lcl_GetValue() 89 const FieldUnit eMetric = GetModuleFieldUnit( rSet ); in SvxGrfCropPage() 176 FieldUnit eUnit = MapToFieldUnit( rSet.GetPool()->GetMetric( nW )); in Reset() 202 FieldUnit eUnit = MapToFieldUnit( rSet.GetPool()->GetMetric( nW )); in Reset() 259 FieldUnit eUnit = MapToFieldUnit( rSet.GetPool()->GetMetric( nW )); in FillItemSet() 294 FieldUnit eUnit = MapToFieldUnit( rSet.GetPool()->GetMetric( nW )); in FillItemSet() 410 FieldUnit eUnit = MapToFieldUnit( pPool->GetMetric( pPool->GetWhich( in IMPL_LINK() 441 FieldUnit eUnit = MapToFieldUnit( pPool->GetMetric( pPool->GetWhich( in IMPL_LINK() 479 FieldUnit eUnit = MapToFieldUnit( pPool->GetMetric( pPool->GetWhich( in IMPL_LINK() 564 FieldUnit eUnit = MapToFieldUnit( pPool->GetMetric( pPool->GetWhich( in IMPL_LINK() [all …]
|
| /AOO42X/main/chart2/source/controller/main/ |
| H A D | ConfigurationAccess.cxx | 64 FieldUnit getFieldUnit(); 81 FieldUnit CalcConfigItem::getFieldUnit() in getFieldUnit() 83 FieldUnit eResult( FUNIT_CM ); in getFieldUnit() 94 eResult = static_cast< FieldUnit >( nValue ); in getFieldUnit() 107 FieldUnit getFieldUnit() in getFieldUnit() 109 FieldUnit aUnit( theCalcConfigItem::get().getFieldUnit() ); in getFieldUnit()
|
| /AOO42X/main/sfx2/source/appl/ |
| H A D | module.cxx | 423 FieldUnit SfxModule::GetModuleFieldUnit( ::com::sun::star::uno::Reference< ::com::sun::star::frame:… in GetModuleFieldUnit() 445 FieldUnit SfxModule::GetCurrentFieldUnit() in GetCurrentFieldUnit() 447 FieldUnit eUnit = FUNIT_INCH; in GetCurrentFieldUnit() 453 eUnit = (FieldUnit)( (SfxUInt16Item*)pItem )->GetValue(); in GetCurrentFieldUnit() 460 FieldUnit SfxModule::GetFieldUnit() const in GetFieldUnit() 462 FieldUnit eUnit = FUNIT_INCH; in GetFieldUnit() 465 eUnit = (FieldUnit)( (SfxUInt16Item*)pItem )->GetValue(); in GetFieldUnit()
|
| /AOO42X/main/svx/source/dialog/ |
| H A D | dlgutil.cxx | 37 FieldUnit GetModuleFieldUnit( const SfxItemSet& rSet ) in GetModuleFieldUnit() 39 FieldUnit eUnit = FUNIT_INCH; in GetModuleFieldUnit() 42 eUnit = (FieldUnit)( (const SfxUInt16Item*)pItem )->GetValue(); in GetModuleFieldUnit() 53 FieldUnit GetModuleFieldUnit() in GetModuleFieldUnit()
|
| /AOO42X/main/sc/source/ui/optdlg/ |
| H A D | tpview.cxx | 446 FieldUnit eFUnit = (FieldUnit)aUnitArr.GetValue( i ); in ScTpLayoutOptions() 595 FieldUnit eFieldUnit = (FieldUnit)rItem.GetValue(); in Reset() 599 if ( (FieldUnit)(long)aUnitLB.GetEntryData( i ) == eFieldUnit ) in Reset() 709 FieldUnit eFieldUnit = (FieldUnit)(long)aUnitLB.GetEntryData( nMPos ); in IMPL_LINK()
|
| /AOO42X/main/sw/source/ui/app/ |
| H A D | appopt.cxx | 196 FieldUnit eUnit = pPref->GetHScrollMetric(); in CreateItemSet() 351 ::SetDfltMetric((FieldUnit)pMetricItem->GetValue(), !bTextDialog); in ApplyItemSet() 356 FieldUnit eUnit = (FieldUnit)pMetricItem->GetValue(); in ApplyItemSet() 365 FieldUnit eUnit = (FieldUnit)pMetricItem->GetValue(); in ApplyItemSet()
|
| H A D | swmodul1.cxx | 236 void SwModule::ApplyUserMetric( FieldUnit eMetric, sal_Bool bWeb ) in ApplyUserMetric() 251 FieldUnit eOldMetric = pPref->GetMetric(); in ApplyUserMetric() 255 FieldUnit eHScrollMetric = pPref->IsHScrollMetric() ? pPref->GetHScrollMetric() : eMetric; in ApplyUserMetric() 256 FieldUnit eVScrollMetric = pPref->IsVScrollMetric() ? pPref->GetVScrollMetric() : eMetric; in ApplyUserMetric() 274 void SwModule::ApplyRulerMetric( FieldUnit eMetric, sal_Bool bHorizontal, sal_Bool bWeb ) in ApplyRulerMetric()
|
| /AOO42X/main/sd/source/ui/app/ |
| H A D | sdmod2.cxx | 476 FieldUnit nMetric = (FieldUnit)0xffff; in CreateItemSet() 480 nMetric = (FieldUnit)pOptions->GetMetric(); in CreateItemSet() 482 if( nMetric == (FieldUnit)0xffff ) in CreateItemSet() 736 FieldUnit eUIUnit = (FieldUnit) pOptions->GetMetric(); in ApplyItemSet()
|
| /AOO42X/main/sfx2/inc/sfx2/ |
| H A D | module.hxx | 99 static FieldUnit GetCurrentFieldUnit(); 107 …static FieldUnit GetModuleFieldUnit( ::com::sun::star::uno::Reference< ::com::sun::star… 108 FieldUnit GetFieldUnit() const;
|
| /AOO42X/main/toolkit/inc/layout/ |
| H A D | layout.hxx | 462 void SetMin( sal_Int64 nNewMin, FieldUnit nUnit=FUNIT_NONE ); 463 void SetMax( sal_Int64 nNewMax, FieldUnit nUnit=FUNIT_NONE ); 464 void SetFirst( sal_Int64 nNewFirst, FieldUnit nUnit=FUNIT_NONE ); 465 void SetLast( sal_Int64 nNewLast, FieldUnit nUnit=FUNIT_NONE ); 466 void SetValue( sal_Int64 nNewValue, FieldUnit nUnit=FUNIT_NONE ); 467 sal_Int64 GetValue( FieldUnit nUnit=FUNIT_NONE ) const;
|
| /AOO42X/main/sw/source/ui/config/ |
| H A D | optload.cxx | 106 FieldUnit eFUnit = (FieldUnit)aMetricArr.GetValue( i ); in SwLoadOptPage() 267 FieldUnit eFieldUnit = (FieldUnit)rItem.GetValue(); in Reset() 310 FieldUnit eFieldUnit = (FieldUnit)(long)aMetricLB.GetEntryData( nMPos ); in IMPL_LINK()
|
| /AOO42X/main/sw/source/ui/uno/ |
| H A D | unomod.cxx | 850 pView->ChangeTabMetric((FieldUnit)eHRulerUnit); in _postSetValues() 852 pView->ChangeVRulerMetric((FieldUnit)eVRulerUnit); in _postSetValues() 858 SW_MOD()->ApplyRulerMetric( (FieldUnit)eHRulerUnit, sal_True, bWeb ); in _postSetValues() 860 SW_MOD()->ApplyRulerMetric( (FieldUnit)eVRulerUnit, sal_False, bWeb ); in _postSetValues() 995 FieldUnit eUnit; in _getSingleValue() 1011 FieldUnit eUnit; in _getSingleValue()
|