/aoo4110/main/sw/source/ui/vba/ |
H A D | vbaselection.cxx | 118 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 …]
|
/aoo4110/main/oox/inc/oox/drawingml/ |
H A D | textspacing.hxx | 44 : 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
|
/aoo4110/main/svtools/source/filter/ |
H A D | exportdialog.cxx | 129 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 …]
|
/aoo4110/main/filter/source/graphicfilter/ipsd/ |
H A D | ipsd.cxx | 310 sal_Int16 nUnit; in ImplReadHeader() local 312 *mpPSD >> mnXResFixed >> nUnit >> nUnit in ImplReadHeader() 313 >> mnYResFixed >> nUnit >> nUnit; in ImplReadHeader()
|
/aoo4110/main/sc/source/core/tool/ |
H A D | interpr4.cxx | 262 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 …]
|
/aoo4110/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;
|
/aoo4110/main/sw/source/ui/uno/ |
H A D | unomod.cxx | 814 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()
|
/aoo4110/main/oox/source/drawingml/ |
H A D | textspacingcontext.cxx | 55 maSpacing.nUnit = TextSpacing::PERCENT; in createFastChildContext() 59 maSpacing.nUnit = TextSpacing::POINTS; in createFastChildContext()
|
/aoo4110/main/svtools/source/filter/jpeg/ |
H A D | jpeg.cxx | 382 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()
|
/aoo4110/main/toolkit/source/layout/vcl/ |
H A D | wfield.cxx | 286 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()
|
/aoo4110/main/cui/source/tabpages/ |
H A D | measure.cxx | 852 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()
|
/aoo4110/main/extensions/source/scanner/ |
H A D | sane.cxx | 985 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()
|
/aoo4110/main/vcl/source/gdi/ |
H A D | cvtsvm.cxx | 166 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()
|
/aoo4110/main/toolkit/source/awt/ |
H A D | vclxwindows.cxx | 5549 …sal_Int64 VCLXMetricField::get##method( sal_Int16 nUnit ) throw (::com::sun::star::uno::RuntimeExc… 5552 return GetMetric##parent()->Get##method( MetricUnitUnoToVcl( nUnit ) ); \ 5554 …void VCLXMetricField::set##method( sal_Int64 nValue, sal_Int16 nUnit ) throw (::com::sun::star::un… 5557 GetMetric##parent()->Set##method( nValue, MetricUnitUnoToVcl( nUnit ) ); \ 5567 ::sal_Int64 VCLXMetricField::getValue( ::sal_Int16 nUnit ) throw (::com::sun::star::uno::RuntimeExc… 5570 return GetMetricFormatter()->GetValue( MetricUnitUnoToVcl( nUnit ) ); 5573 ::sal_Int64 VCLXMetricField::getCorrectedValue( ::sal_Int16 nUnit ) throw (::com::sun::star::uno::R… in getCorrectedValue() argument 5576 return GetMetricFormatter()->GetCorrectedValue( MetricUnitUnoToVcl( nUnit ) ); in getCorrectedValue()
|
/aoo4110/main/svtools/source/filter/wmf/ |
H A D | wmfwr.cxx | 1912 const long nUnit = pVirDev->LogicToPixel( Size( 1, 1 ), aTargetMapMode ).Width(); in WriteWMF() local 1913 const Fraction aFrac( 1, nUnit ); in WriteWMF()
|