Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cxfa_measurement.h>
Public Member Functions | |
CXFA_Measurement (WideStringView wsMeasure) | |
CXFA_Measurement () | |
CXFA_Measurement (float fValue, XFA_Unit eUnit) | |
void | Set (float fValue, XFA_Unit eUnit) |
XFA_Unit | GetUnit () const |
float | GetValue () const |
WideString | ToString () const |
float | ToUnit (XFA_Unit eUnit) const |
Static Public Member Functions | |
static XFA_Unit | GetUnitFromString (WideStringView wsUnit) |
Definition at line 13 of file cxfa_measurement.h.
|
explicit |
Definition at line 24 of file cxfa_measurement.cpp.
CXFA_Measurement::CXFA_Measurement | ( | ) |
Definition at line 28 of file cxfa_measurement.cpp.
References Set(), and Unknown.
CXFA_Measurement::CXFA_Measurement | ( | float | fValue, |
XFA_Unit | eUnit ) |
Definition at line 32 of file cxfa_measurement.cpp.
References Set().
Referenced by CXFA_Node::GetCheckButtonSize(), CXFA_Stroke::GetRadius(), and CXFA_ViewLayoutProcessor::InitLayoutPage().
|
inline |
Definition at line 26 of file cxfa_measurement.h.
Referenced by CXFA_Font::GetLetterSpacing(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and ToString().
|
static |
|
inline |
Definition at line 27 of file cxfa_measurement.h.
Referenced by CXFA_Font::GetLetterSpacing(), TEST(), TEST(), TEST(), TEST(), and ToString().
Definition at line 21 of file cxfa_measurement.h.
Referenced by CXFA_Measurement(), CXFA_Measurement(), and TEST().
WideString CXFA_Measurement::ToString | ( | ) | const |
Definition at line 54 of file cxfa_measurement.cpp.
References Cm, Em, fxcrt::WideString::Format(), GetUnit(), GetValue(), In, Mm, Mp, Pc, Percent, and Pt.
Referenced by TEST().
float CXFA_Measurement::ToUnit | ( | XFA_Unit | eUnit | ) | const |
Definition at line 78 of file cxfa_measurement.cpp.
Referenced by CXFA_Node::GetCheckButtonSize(), CXFA_Font::GetLetterSpacing(), CJX_Object::GetMeasureInUnit(), CXFA_TextParser::GetTabInterval(), CXFA_TextParser::GetTabstops(), and CXFA_Stroke::GetThickness().