Looking at PropertyFactory.createPropertyFromCssName
Using java Syntax Highlighting
if (name.
equals(LineSpacing.
CSS_NAME )) {
// line-height
return new LineSpacing
(value
);
}
Parsed in 0.015 seconds, using
GeSHi 1.0.8.4
LineSpacing.CSS_NAME = "line-height"
Looking at LineSpacing, there are 3 units of measurement you can choose from:
Using java Syntax Highlighting
if (CSSPrimitiveValue.
CSS_IN == type
) {
twip
= UnitsOfMeasurement.
inchToTwip(fVal
);
} else if (CSSPrimitiveValue.
CSS_MM == type
) {
twip
= UnitsOfMeasurement.
mmToTwip(fVal
);
} else if (CSSPrimitiveValue.
CSS_PERCENTAGE == type
) {
twip
= twipFromPercentage
(fVal
);
Parsed in 0.014 seconds, using
GeSHi 1.0.8.4