Home
last modified time | relevance | path

Searched refs:nUnit (Results 1 – 15 of 15) sorted by path

/trunk/main/cui/source/tabpages/
H A Dmeasure.cxx852 long nUnit = FUNIT_NONE; in FillUnitLB() local
855 aLbUnit.SetEntryData( nPos, (void*)nUnit ); in FillUnitLB()
860 nUnit = aMetricArr.GetValue( i ); in FillUnitLB()
862 aLbUnit.SetEntryData( nPos, (void*)nUnit ); in FillUnitLB()
/trunk/main/extensions/source/scanner/
H A Dsane.cxx985 SANE_Unit nUnit = mppOptions[n]->unit; in GetOptionUnitName() local
986 size_t nUnitAsSize = (size_t)nUnit; in GetOptionUnitName()
990 aText = String( ppUnits[ nUnit ], gsl_getSystemTextEncoding() ); in GetOptionUnitName()
/trunk/main/filter/source/graphicfilter/ipsd/
H A Dipsd.cxx310 sal_Int16 nUnit; in ImplReadHeader() local
312 *mpPSD >> mnXResFixed >> nUnit >> nUnit in ImplReadHeader()
313 >> mnYResFixed >> nUnit >> nUnit; in ImplReadHeader()
/trunk/main/oox/inc/oox/drawingml/
H A Dtextspacing.hxx44 : nUnit( POINTS ), nValue( 0 ), bHasValue( sal_False ) in TextSpacing()
47 TextSpacing( sal_Int32 nPoints ) : nUnit( POINTS ), nValue( nPoints ), bHasValue( sal_True ){}; in TextSpacing()
51 aSpacing.Mode = ( nUnit == PERCENT in toLineSpacing()
54 aSpacing.Height = static_cast< sal_Int16 >( nUnit == PERCENT ? nValue / 1000 : nValue ); in toLineSpacing()
59 if ( nUnit == PERCENT ) in toMargin()
69 sal_Int32 nUnit; member in oox::drawingml::TextSpacing
/trunk/main/oox/source/drawingml/
H A Dtextspacingcontext.cxx55 maSpacing.nUnit = TextSpacing::PERCENT; in createFastChildContext()
59 maSpacing.nUnit = TextSpacing::POINTS; in createFastChildContext()
/trunk/main/sc/source/core/tool/
H A Dinterpr4.cxx262 sal_Int32 nUnit[done] = {0,0,0,0,0,0,0}; in ConvertStringToValue() local
266 nUnit[eState-1] = aStr.copy( 0, nParseEnd).toInt32(); in ConvertStringToValue()
293 if (nLimit[eState] && nLimit[eState] < nUnit[eState]) in ConvertStringToValue()
367 if (nLimit[eState] && nLimit[eState] < nUnit[eState]) in ConvertStringToValue()
370 if (bDate && nUnit[hour] > 23) in ConvertStringToValue()
374 if (bDate && nUnit[day] == 0) in ConvertStringToValue()
375 nUnit[day] = 1; in ConvertStringToValue()
376 double fFraction = (nUnit[fraction] <= 0 ? 0.0 : in ConvertStringToValue()
377 ::rtl::math::pow10Exp( nUnit[fraction], in ConvertStringToValue()
382 sal::static_int_cast<sal_Int16>(nUnit[day]), in ConvertStringToValue()
[all …]
/trunk/main/svtools/source/filter/
H A Dexportdialog.cxx129 switch( nUnit ) in GetMapUnit()
190 if ( nUnit < 0 ) in GetFilterData()
191 nUnit = UNIT_CM; in GetFilterData()
194 nUnit = UNIT_DEFAULT; in GetFilterData()
199 if ( nUnit > UNIT_MAX_ID ) in GetFilterData()
200 nUnit = UNIT_PIXEL; in GetFilterData()
213 nUnit = UNIT_CM; in GetFilterData()
791 nUnit = UNIT_CM; in createSizeControls()
794 nUnit = UNIT_PIXEL; in createSizeControls()
795 if ( nUnit < 0 ) in createSizeControls()
[all …]
/trunk/main/svtools/source/filter/jpeg/
H A Djpeg.cxx382 unsigned long nUnit = ((JPEGCreateBitmapParam*)pParam)->density_unit; in CreateBitmap() local
384 if( ( ( 1 == nUnit ) || ( 2 == nUnit ) ) && in CreateBitmap()
391 MapMode aMapMode( nUnit == 1 ? MAP_INCH : MAP_CM, aEmptyPoint, aFractX, aFractY ); in CreateBitmap()
/trunk/main/svtools/source/filter/wmf/
H A Dwmfwr.cxx1912 const long nUnit = pVirDev->LogicToPixel( Size( 1, 1 ), aTargetMapMode ).Width(); in WriteWMF() local
1913 const Fraction aFrac( 1, nUnit ); in WriteWMF()
/trunk/main/sw/source/ui/uno/
H A Dunomod.cxx814 sal_Int32 nUnit = -1; in _setSingleValue() local
815 if( rValue >>= nUnit ) in _setSingleValue()
816 switch( nUnit ) in _setSingleValue()
825 eHRulerUnit = nUnit; in _setSingleValue()
830 eVRulerUnit = nUnit; in _setSingleValue()
/trunk/main/sw/source/ui/vba/
H A Dvbaselection.cxx118 sal_Int32 nUnit = word::WdUnits::wdLine; in HomeKey() local
120 _unit >>= nUnit; in HomeKey()
123 switch( nUnit ) in HomeKey()
154 _unit >>= nUnit; in EndKey()
157 switch( nUnit ) in EndKey()
249 _unit >>= nUnit; in MoveRight()
265 switch( nUnit ) in MoveRight()
294 _unit >>= nUnit; in MoveLeft()
309 switch( nUnit ) in MoveLeft()
338 _unit >>= nUnit; in MoveDown()
[all …]
/trunk/main/toolkit/inc/layout/
H A Dlayout.hxx462 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;
/trunk/main/toolkit/source/awt/
H A Dvclxwindows.cxx5555 …sal_Int64 VCLXMetricField::get##method( sal_Int16 nUnit ) throw (::com::sun::star::uno::RuntimeExc…
5558 return GetMetric##parent()->Get##method( MetricUnitUnoToVcl( nUnit ) ); \
5560 …void VCLXMetricField::set##method( sal_Int64 nValue, sal_Int16 nUnit ) throw (::com::sun::star::un…
5563 GetMetric##parent()->Set##method( nValue, MetricUnitUnoToVcl( nUnit ) ); \
5573 ::sal_Int64 VCLXMetricField::getValue( ::sal_Int16 nUnit ) throw (::com::sun::star::uno::RuntimeExc…
5576 return GetMetricFormatter()->GetValue( MetricUnitUnoToVcl( nUnit ) );
5579 ::sal_Int64 VCLXMetricField::getCorrectedValue( ::sal_Int16 nUnit ) throw (::com::sun::star::uno::R… in getCorrectedValue() argument
5582 return GetMetricFormatter()->GetCorrectedValue( MetricUnitUnoToVcl( nUnit ) ); in getCorrectedValue()
/trunk/main/toolkit/source/layout/vcl/
H A Dwfield.cxx286 void MetricFormatter::vclmethod( sal_Int64 nValue, FieldUnit nUnit ) \
290 getFormatImpl().mxField->idlmethod( nValue, MetricUnitVclToUno( nUnit ) ); \
308 sal_Int64 MetricFormatter::GetValue( FieldUnit nUnit ) const in GetValue()
312 return getFormatImpl().mxField->getValue( MetricUnitVclToUno( nUnit ) ); in GetValue()
/trunk/main/vcl/source/gdi/
H A Dcvtsvm.cxx166 sal_Int16 nUnit; in ImplReadMapMode() local
168 rIStm >> nUnit >> aOrg >> nXNum >> nXDenom >> nYNum >> nYDenom; in ImplReadMapMode()
169 …rMapMode = MapMode( (MapUnit) nUnit, aOrg, Fraction( nXNum, nXDenom ), Fraction( nYNum, nYDenom ) … in ImplReadMapMode()

Completed in 144 milliseconds