Home
last modified time | relevance | path

Searched refs:eUnit (Results 1 – 25 of 241) sorted by relevance

12345678910

/dports/editors/libreoffice/libreoffice-7.2.6.2/svtools/source/misc/
H A Dunitconv.cxx38 switch (eUnit) in SetFieldUnit()
42 eUnit = FieldUnit::CM; in SetFieldUnit()
46 eUnit = FieldUnit::INCH; in SetFieldUnit()
53 rField.set_unit(eUnit); in SetFieldUnit()
55 if (FieldUnit::POINT == eUnit) in SetFieldUnit()
63 switch (eUnit) in SetFieldUnit()
69 rField.set_increments(50, 500, eUnit); in SetFieldUnit()
72 rField.set_increments(2, 20, eUnit); in SetFieldUnit()
75 rField.set_increments(10, 100, eUnit); in SetFieldUnit()
152 FieldUnit MapToFieldUnit( const MapUnit eUnit ) in MapToFieldUnit() argument
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/cui/source/tabpages/
H A Dgrfpage.cxx169 m_xHeightMF->set_range(nMin, nMax, eUnit); in Reset()
171 m_xWidthMF->set_range(nMin, nMax, eUnit); in Reset()
365 eUnit); in IMPL_LINK()
373 eUnit ); in IMPL_LINK()
388 Size aSize( lcl_GetValue(*m_xWidthMF, eUnit), in IMPL_LINK()
510 lcl_GetValue( *m_xLeftMF, eUnit ) - in IMPL_LINK_NOARG()
511 lcl_GetValue( *m_xRightMF, eUnit ); in IMPL_LINK_NOARG()
514 lcl_GetValue( *m_xTopMF, eUnit ) - in IMPL_LINK_NOARG()
515 lcl_GetValue( *m_xBottomMF, eUnit ); in IMPL_LINK_NOARG()
560 long nR = lcl_GetValue(*m_xRightMF, eUnit ); in CalcMinMaxBorder()
[all …]
H A Dconnect.cxx140 eUnit); in Reset()
148 eUnit); in Reset()
156 eUnit); in Reset()
164 eUnit); in Reset()
233 nValue = GetCoreValue(*m_xMtrFldHorz1, eUnit); in FillItemSet()
240 nValue = GetCoreValue(*m_xMtrFldHorz2, eUnit); in FillItemSet()
247 nValue = GetCoreValue(*m_xMtrFldVert1, eUnit); in FillItemSet()
254 nValue = GetCoreValue(*m_xMtrFldVert2, eUnit); in FillItemSet()
261 nValue = GetCoreValue(*m_xMtrFldLine1, eUnit); in FillItemSet()
268 nValue = GetCoreValue(*m_xMtrFldLine2, eUnit); in FillItemSet()
[all …]
H A Dlabdlg.cxx152 MapUnit eUnit; in FillItemSet() local
160 eUnit = pPool->GetMetric( GetWhich( SDRATTR_CAPTIONGAP ) ); in FillItemSet()
196 eUnit = pPool->GetMetric( GetWhich( SDRATTR_CAPTIONESCABS ) ); in FillItemSet()
208 eUnit = pPool->GetMetric( GetWhich( SDRATTR_CAPTIONLINELEN ) ); in FillItemSet()
242 MapUnit eUnit; in Reset() local
245 eUnit = pPool->GetMetric( nWhich ); in Reset()
247 SetMetricValue( *m_xMF_BY, nEscAbs, eUnit ); in Reset()
255 eUnit = pPool->GetMetric( nWhich ); in Reset()
257 SetMetricValue( *m_xMF_LENGTH, nLineLen, eUnit ); in Reset()
262 eUnit = pPool->GetMetric( nWhich ); in Reset()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/core/fxcrt/css/
H A Dcfx_css.h191 m_unit = eUnit; in Set()
196 m_unit = eUnit; in Set()
216 : left(eUnit, val), in CFX_CSSRect()
217 top(eUnit, val), in CFX_CSSRect()
218 right(eUnit, val), in CFX_CSSRect()
222 left.Set(eUnit); in Set()
223 top.Set(eUnit); in Set()
224 right.Set(eUnit); in Set()
225 bottom.Set(eUnit); in Set()
229 left.Set(eUnit, fValue); in Set()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/core/fxcrt/css/
H A Dcfx_css.h193 m_unit = eUnit; in Set()
198 m_unit = eUnit; in Set()
218 : left(eUnit, val), in CFX_CSSRect()
219 top(eUnit, val), in CFX_CSSRect()
220 right(eUnit, val), in CFX_CSSRect()
224 left.Set(eUnit); in Set()
225 top.Set(eUnit); in Set()
226 right.Set(eUnit); in Set()
227 bottom.Set(eUnit); in Set()
231 left.Set(eUnit, fValue); in Set()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/svtools/source/misc/
H A Dunitconv.cxx34 switch (eUnit) in SetFieldUnit()
38 eUnit = FieldUnit::CM; in SetFieldUnit()
49 rField.set_unit(eUnit); in SetFieldUnit()
51 if (FieldUnit::POINT == eUnit) in SetFieldUnit()
59 switch (eUnit) in SetFieldUnit()
92 switch ( eUnit ) in SetFieldUnit()
106 rField.SetUnit( eUnit ); in SetFieldUnit()
107 switch( eUnit ) in SetFieldUnit()
219 switch ( eUnit ) in CalcToUnit()
299 switch ( eUnit ) in MapToFieldUnit()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/cui/source/tabpages/
H A Dgrfpage.cxx172 m_xHeightMF->set_range(nMin, nMax, eUnit); in Reset()
174 m_xWidthMF->set_range(nMin, nMax, eUnit); in Reset()
368 eUnit); in IMPL_LINK()
376 eUnit ); in IMPL_LINK()
391 Size aSize( lcl_GetValue(*m_xWidthMF, eUnit), in IMPL_LINK()
397 ( lcl_GetValue(*m_xLeftMF, eUnit) + in IMPL_LINK()
407 ( lcl_GetValue(*m_xTopMF, eUnit) + in IMPL_LINK()
513 lcl_GetValue( *m_xLeftMF, eUnit ) - in IMPL_LINK_NOARG()
514 lcl_GetValue( *m_xRightMF, eUnit ); in IMPL_LINK_NOARG()
517 lcl_GetValue( *m_xTopMF, eUnit ) - in IMPL_LINK_NOARG()
[all …]
H A Dconnect.cxx140 eUnit); in Reset()
148 eUnit); in Reset()
156 eUnit); in Reset()
164 eUnit); in Reset()
233 nValue = GetCoreValue(*m_xMtrFldHorz1, eUnit); in FillItemSet()
240 nValue = GetCoreValue(*m_xMtrFldHorz2, eUnit); in FillItemSet()
247 nValue = GetCoreValue(*m_xMtrFldVert1, eUnit); in FillItemSet()
254 nValue = GetCoreValue(*m_xMtrFldVert2, eUnit); in FillItemSet()
261 nValue = GetCoreValue(*m_xMtrFldLine1, eUnit); in FillItemSet()
268 nValue = GetCoreValue(*m_xMtrFldLine2, eUnit); in FillItemSet()
[all …]
H A Dlabdlg.cxx150 MapUnit eUnit; in FillItemSet() local
158 eUnit = pPool->GetMetric( GetWhich( SDRATTR_CAPTIONGAP ) ); in FillItemSet()
194 eUnit = pPool->GetMetric( GetWhich( SDRATTR_CAPTIONESCABS ) ); in FillItemSet()
206 eUnit = pPool->GetMetric( GetWhich( SDRATTR_CAPTIONLINELEN ) ); in FillItemSet()
240 MapUnit eUnit; in Reset() local
243 eUnit = pPool->GetMetric( nWhich ); in Reset()
245 SetMetricValue( *m_xMF_BY, nEscAbs, eUnit ); in Reset()
253 eUnit = pPool->GetMetric( nWhich ); in Reset()
255 SetMetricValue( *m_xMF_LENGTH, nLineLen, eUnit ); in Reset()
260 eUnit = pPool->GetMetric( nWhich ); in Reset()
[all …]
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/svtools/
H A Dunitconv.hxx38 SVT_DLLPUBLIC void SetFieldUnit(weld::MetricSpinButton& rCtrl, FieldUnit eUnit, bool bAll = fa…
39 SVT_DLLPUBLIC void SetFieldUnit( MetricField& rCtrl, FieldUnit eUnit, bool bAll = false );
41 SVT_DLLPUBLIC long CalcToUnit( float nIn, MapUnit eUnit );
42 SVT_DLLPUBLIC long CalcToPoint( long nIn, MapUnit eUnit, sal_uInt16 nFactor );
47 SVT_DLLPUBLIC FieldUnit MapToFieldUnit( const MapUnit eUnit );
49 …_DLLPUBLIC void SetMetricValue(weld::MetricSpinButton& rField, int lCoreValue, MapUnit eUnit);
50 SVT_DLLPUBLIC void SetMetricValue( MetricField& rField, long lCoreValue, MapUnit eUnit );
51 SVT_DLLPUBLIC int GetCoreValue(const weld::MetricSpinButton& rField, MapUnit eUnit);
52 SVT_DLLPUBLIC long GetCoreValue( const MetricField& rField, MapUnit eUnit );
/dports/editors/libreoffice/libreoffice-7.2.6.2/starmath/source/mathml/
H A Dmathmlattr.cxx62 rV.eUnit = MathMLLengthUnit::None; in ParseMathMLAttributeLengthValue()
67 rV.eUnit = MathMLLengthUnit::Em; in ParseMathMLAttributeLengthValue()
72 rV.eUnit = MathMLLengthUnit::Ex; in ParseMathMLAttributeLengthValue()
77 rV.eUnit = MathMLLengthUnit::Px; in ParseMathMLAttributeLengthValue()
82 rV.eUnit = MathMLLengthUnit::In; in ParseMathMLAttributeLengthValue()
87 rV.eUnit = MathMLLengthUnit::Cm; in ParseMathMLAttributeLengthValue()
92 rV.eUnit = MathMLLengthUnit::Mm; in ParseMathMLAttributeLengthValue()
97 rV.eUnit = MathMLLengthUnit::Pt; in ParseMathMLAttributeLengthValue()
102 rV.eUnit = MathMLLengthUnit::Pc; in ParseMathMLAttributeLengthValue()
107 rV.eUnit = MathMLLengthUnit::Percent; in ParseMathMLAttributeLengthValue()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/starmath/source/
H A Dmathmlattr.cxx62 rV.eUnit = MathMLLengthUnit::None; in ParseMathMLAttributeLengthValue()
67 rV.eUnit = MathMLLengthUnit::Em; in ParseMathMLAttributeLengthValue()
72 rV.eUnit = MathMLLengthUnit::Ex; in ParseMathMLAttributeLengthValue()
77 rV.eUnit = MathMLLengthUnit::Px; in ParseMathMLAttributeLengthValue()
82 rV.eUnit = MathMLLengthUnit::In; in ParseMathMLAttributeLengthValue()
87 rV.eUnit = MathMLLengthUnit::Cm; in ParseMathMLAttributeLengthValue()
92 rV.eUnit = MathMLLengthUnit::Mm; in ParseMathMLAttributeLengthValue()
97 rV.eUnit = MathMLLengthUnit::Pt; in ParseMathMLAttributeLengthValue()
102 rV.eUnit = MathMLLengthUnit::Pc; in ParseMathMLAttributeLengthValue()
107 rV.eUnit = MathMLLengthUnit::Percent; in ParseMathMLAttributeLengthValue()
/dports/editors/libreoffice/libreoffice-7.2.6.2/editeng/source/items/
H A Dpaperinf.cxx33 Size SvxPaperInfo::GetPaperSize( Paper ePaper, MapUnit eUnit ) in GetPaperSize() argument
37 return eUnit == MapUnit::Map100thMM in GetPaperSize()
39 : OutputDevice::LogicToLogic(aRet, MapMode(MapUnit::Map100thMM), MapMode(eUnit)); in GetPaperSize()
85 Paper SvxPaperInfo::GetSvxPaper( const Size &rSize, MapUnit eUnit ) in GetSvxPaper() argument
87 …Size aSize(eUnit == MapUnit::Map100thMM ? rSize : OutputDevice::LogicToLogic(rSize, MapMode(eUnit)… in GetSvxPaper()
102 Size SvxPaperInfo::GetDefaultPaperSize( MapUnit eUnit ) in GetDefaultPaperSize() argument
106 return eUnit == MapUnit::Map100thMM in GetDefaultPaperSize()
108 : OutputDevice::LogicToLogic(aRet, MapMode(MapUnit::Map100thMM), MapMode(eUnit)); in GetDefaultPaperSize()
/dports/editors/libreoffice6/libreoffice-6.4.7.2/editeng/source/items/
H A Dpaperinf.cxx35 Size SvxPaperInfo::GetPaperSize( Paper ePaper, MapUnit eUnit ) in GetPaperSize() argument
39 return eUnit == MapUnit::Map100thMM in GetPaperSize()
41 : OutputDevice::LogicToLogic(aRet, MapMode(MapUnit::Map100thMM), MapMode(eUnit)); in GetPaperSize()
87 Paper SvxPaperInfo::GetSvxPaper( const Size &rSize, MapUnit eUnit ) in GetSvxPaper() argument
89 …Size aSize(eUnit == MapUnit::Map100thMM ? rSize : OutputDevice::LogicToLogic(rSize, MapMode(eUnit)… in GetSvxPaper()
104 Size SvxPaperInfo::GetDefaultPaperSize( MapUnit eUnit ) in GetDefaultPaperSize() argument
108 return eUnit == MapUnit::Map100thMM in GetDefaultPaperSize()
110 : OutputDevice::LogicToLogic(aRet, MapMode(MapUnit::Map100thMM), MapMode(eUnit)); in GetDefaultPaperSize()
/dports/editors/texmaker/texmaker-5.0.3/pdfium/xfa/fde/css/
H A Dfde_css.h777 m_iData = eUnit; in Set()
796 x.Set(eUnit); in Set()
797 y.Set(eUnit); in Set()
801 x.Set(eUnit, fValue); in Set()
802 y.Set(eUnit, fValue); in Set()
810 cx.Set(eUnit); in Set()
811 cy.Set(eUnit); in Set()
824 left.Set(eUnit); in Set()
825 top.Set(eUnit); in Set()
826 right.Set(eUnit); in Set()
[all …]
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/svtools/
H A Dunitconv.hxx36 SVT_DLLPUBLIC void SetFieldUnit(weld::MetricSpinButton& rCtrl, FieldUnit eUnit, bool bAll = fa…
38 SVT_DLLPUBLIC tools::Long CalcToUnit( float nIn, MapUnit eUnit );
39 SVT_DLLPUBLIC tools::Long CalcToPoint( tools::Long nIn, MapUnit eUnit, sal_uInt16 nFactor );
44 SVT_DLLPUBLIC FieldUnit MapToFieldUnit( const MapUnit eUnit );
46 …_DLLPUBLIC void SetMetricValue(weld::MetricSpinButton& rField, int lCoreValue, MapUnit eUnit);
47 SVT_DLLPUBLIC int GetCoreValue(const weld::MetricSpinButton& rField, MapUnit eUnit);
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/svx/
H A Drelfld.hxx31 SvxRelativeField(vcl::Window* pParent, WinBits nBits, FieldUnit eUnit);
69 int GetCoreValue(MapUnit eUnit) const { return ::GetCoreValue(*m_xSpinButton, eUnit); } in GetCoreValue()
70 …void SetFieldUnit(FieldUnit eUnit, bool bAll = false) { ::SetFieldUnit(*m_xSpinButton, eUnit, bAll… in SetFieldUnit() argument
71 …void SetMetricValue(int lCoreValue, MapUnit eUnit) { ::SetMetricValue(*m_xSpinButton, lCoreValue, in SetMetricValue() argument
/dports/games/flightgear/flightgear-2020.3.11/src/FDM/JSBSim/models/flight_control/
H A DFGWaypoint.cpp132 if (unit == "DEG") eUnit = eDeg; in FGWaypoint()
133 else if (unit == "RAD") eUnit = eRad; in FGWaypoint()
141 eUnit = eRad; // Default is radians if unspecified in FGWaypoint()
145 if (unit == "FT") eUnit = eFeet; in FGWaypoint()
146 else if (unit == "M") eUnit = eMeters; in FGWaypoint()
154 eUnit = eFeet; // Default is feet if unspecified in FGWaypoint()
182 if (eUnit == eDeg) Output = heading_to_waypoint_rad * radtodeg; in Run()
189 if (eUnit == eMeters) Output = FeetToMeters(wp_distance); in Run()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/xfa/fxfa/parser/
H A Dcxfa_measurement.h18 CXFA_Measurement(float fValue, XFA_Unit eUnit);
22 void Set(float fValue, XFA_Unit eUnit) { in Set() argument
24 m_eUnit = eUnit; in Set()
31 float ToUnit(XFA_Unit eUnit) const;
35 bool ToUnitInternal(XFA_Unit eUnit, float* fValue) const;
H A Dcxfa_measurement.cpp32 CXFA_Measurement::CXFA_Measurement(float fValue, XFA_Unit eUnit) { in CXFA_Measurement() argument
33 Set(fValue, eUnit); in CXFA_Measurement()
79 float CXFA_Measurement::ToUnit(XFA_Unit eUnit) const { in ToUnit()
81 return ToUnitInternal(eUnit, &f) ? f : 0; in ToUnit()
84 bool CXFA_Measurement::ToUnitInternal(XFA_Unit eUnit, float* fValue) const { in ToUnitInternal() argument
87 if (eFrom == eUnit) in ToUnitInternal()
112 switch (eUnit) { in ToUnitInternal()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/xfa/fxfa/parser/
H A Dcxfa_measurement.h18 CXFA_Measurement(float fValue, XFA_Unit eUnit);
22 void Set(float fValue, XFA_Unit eUnit) { in Set() argument
24 m_eUnit = eUnit; in Set()
31 float ToUnit(XFA_Unit eUnit) const;
35 bool ToUnitInternal(XFA_Unit eUnit, float* fValue) const;
H A Dcxfa_measurement.cpp31 CXFA_Measurement::CXFA_Measurement(float fValue, XFA_Unit eUnit) { in CXFA_Measurement() argument
32 Set(fValue, eUnit); in CXFA_Measurement()
78 float CXFA_Measurement::ToUnit(XFA_Unit eUnit) const { in ToUnit()
80 return ToUnitInternal(eUnit, &f) ? f : 0; in ToUnit()
83 bool CXFA_Measurement::ToUnitInternal(XFA_Unit eUnit, float* fValue) const { in ToUnitInternal() argument
86 if (eFrom == eUnit) in ToUnitInternal()
111 switch (eUnit) { in ToUnitInternal()
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/svx/
H A Drelfld.hxx63 int GetCoreValue(MapUnit eUnit) const { return ::GetCoreValue(*m_xSpinButton, eUnit); } in GetCoreValue()
64 …void SetFieldUnit(FieldUnit eUnit, bool bAll = false) { ::SetFieldUnit(*m_xSpinButton, eUnit, bAll… in SetFieldUnit() argument
65 …void SetMetricValue(int lCoreValue, MapUnit eUnit) { ::SetMetricValue(*m_xSpinButton, lCoreValue, in SetMetricValue() argument
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/gdi/
H A Dmapmod.cxx78 MapMode::MapMode( MapUnit eUnit ) : mpImplMapMode() in MapMode() argument
80 mpImplMapMode->meUnit = eUnit; in MapMode()
83 MapMode::MapMode( MapUnit eUnit, const Point& rLogicOrg, in MapMode() argument
86 mpImplMapMode->meUnit = eUnit; in MapMode()
97 void MapMode::SetMapUnit( MapUnit eUnit ) in SetMapUnit() argument
99 mpImplMapMode->meUnit = eUnit; in SetMapUnit()

12345678910