Specify measurement units used in the generated HTML.
Note: A few length values are always specified in pixels (e.g. border width), because otherwise their effect would be highly unpredictable.
All values are computed from the corresponding formatting properties specified in templates according to the following formulas (for em and % values correspondingly):
valuetpl / defaultFontSizetpl
(valuetpl / defaultFontSizetpl) * 100
valuetpl |
- | the property value specified in the template |
defaultFontSizetpl |
- | the template default font size, which it is one provided by the default paragraph style in the main template |
px
).
These values are produced from the corresponding formatting properties specified in templates according to the formula:
(valuetpl / defaultFontSizetpl) * baseFontSizepx
valuetpl |
- | the property value specified in the template |
defaultFontSizetpl |
- | the template default font size, which it is one provided by the default paragraph style in the main template |
baseFontSizepx |
- | the value of "Units | Base font size" option for pixels |
pt
).
These values are produced from the corresponding formatting properties specified in templates, which are typically set in points too. But the point values that get in the generated HTML (i.e. CSS rules) are not exactly the same as those specified in templates. Rather, they are computed according to the formula:
(valuetpl / defaultFontSizetpl) * baseFontSizept
valuetpl |
- | the property value specified in the template |
defaultFontSizetpl |
- | the template default font size, which it is one provided by the default paragraph style in the main template |
baseFontSizept |
- | the value of "Units | Base font size" option for points |