Home
last modified time | relevance | path

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

/AOO42X/main/sw/source/ui/utlui/
H A Dprcntfld.cxx143 void PercentField::SetValue(sal_Int64 nNewValue, FieldUnit eInUnit) in SetValue() argument
145 MetricFormatter::SetValue(nNewValue, eInUnit); in SetValue()
150 void PercentField::SetPrcntValue(sal_Int64 nNewValue, FieldUnit eInUnit) in SetPrcntValue() argument
152 if (GetUnit() != FUNIT_CUSTOM || eInUnit == FUNIT_CUSTOM) in SetPrcntValue()
153 MetricFormatter::SetValue(Convert(nNewValue, eInUnit, GetUnit())); in SetPrcntValue()
159 if(eInUnit == FUNIT_TWIP) in SetPrcntValue()
165 sal_Int64 nValue = Convert(nNewValue, eInUnit, eOldUnit); in SetPrcntValue()
177 void PercentField::SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit ) in SetUserValue() argument
179 if (GetUnit() != FUNIT_CUSTOM || eInUnit == FUNIT_CUSTOM) in SetUserValue()
180 MetricField::SetUserValue(Convert(nNewValue, eInUnit, GetUnit()),FUNIT_NONE); in SetUserValue()
[all …]
/AOO42X/main/vcl/source/control/
H A Dfield.cxx1255 FieldUnit eInUnit, FieldUnit eOutUnit ) in ConvertValue() argument
1258 (double)nValue, mnBaseValue, nDecDigits, eInUnit, eOutUnit ) ); in ConvertValue()
1274 MapUnit eInUnit, FieldUnit eOutUnit ) in ConvertValue() argument
1278 ConvertDoubleValue( nValue, nDigits, eInUnit, eOutUnit ) ) ); in ConvertValue()
1284 FieldUnit eInUnit, MapUnit eOutUnit ) in ConvertValue() argument
1290 ConvertDoubleValue( nValue, nDigits, eInUnit, eOutUnit ) ) ); in ConvertValue()
1296 FieldUnit eInUnit, FieldUnit eOutUnit ) in ConvertDoubleValue() argument
1298 if ( eInUnit != eOutUnit ) in ConvertDoubleValue()
1302 if ( eInUnit == FUNIT_PERCENT ) in ConvertDoubleValue()
1315 eInUnit == FUNIT_CUSTOM || in ConvertDoubleValue()
[all …]
/AOO42X/main/vcl/inc/vcl/
H A Dfield.hxx261 void SetMax( sal_Int64 nNewMax, FieldUnit eInUnit );
265 void SetMin( sal_Int64 nNewMin, FieldUnit eInUnit );
268 void SetBaseValue( sal_Int64 nNewBase, FieldUnit eInUnit = FUNIT_NONE );
271 virtual void SetValue( sal_Int64 nNewValue, FieldUnit eInUnit );
274 void SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit );
568 void SetFirst( sal_Int64 nNewFirst, FieldUnit eInUnit );
572 void SetLast( sal_Int64 nNewLast, FieldUnit eInUnit );
580 FieldUnit eInUnit, FieldUnit eOutUnit );
582 FieldUnit eInUnit, MapUnit eOutUnit );
584 MapUnit eInUnit, FieldUnit eOutUnit );
[all …]
/AOO42X/main/sw/source/ui/inc/
H A Dprcntfld.hxx57 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);
72 void SetMax(sal_Int64 nNewMax, FieldUnit eInUnit = FUNIT_NONE);
75 void SetMin(sal_Int64 nNewMin, FieldUnit eInUnit = FUNIT_NONE);
84 sal_Int64 Convert(sal_Int64 nValue, FieldUnit eInUnit, FieldUnit eOutUnit);
/AOO42X/main/svtools/source/control/
H A Dctrlbox.cxx1429 void FontSizeBox::SetValue( sal_Int64 nNewValue, FieldUnit eInUnit ) in SetValue() argument
1433 …e = MetricField::ConvertValue( nNewValue, GetBaseValue(), GetDecimalDigits(), eInUnit, GetUnit() ); in SetValue()
1448 MetricBox::SetValue( nNewValue, eInUnit ); in SetValue()
1502 void FontSizeBox::SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit ) in SetUserValue() argument
1506 …e = MetricField::ConvertValue( nNewValue, GetBaseValue(), GetDecimalDigits(), eInUnit, GetUnit() ); in SetUserValue()
1519 MetricBox::SetUserValue( nNewValue, eInUnit ); in SetUserValue()
/AOO42X/main/svx/source/stbctrls/
H A Dpszctrl.cxx76 FieldUnit eInUnit = FUNIT_100TH_MM; in GetMetricStr_Impl() local
80 sal_Int64 nConvVal = MetricField::ConvertValue( nVal * 100, 0L, 0, eInUnit, eOutUnit ); in GetMetricStr_Impl()
/AOO42X/main/svtools/inc/svtools/
H A Dctrlbox.hxx486 virtual void SetValue( sal_Int64 nNewValue, FieldUnit eInUnit );
491 void SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit );