Style properties

Style name
Specifies a descriptive name for the style.
Background color
Specifies the background color displayed behind the text.
Font name
Specifies the name of the font. Smile recognises the following fonts:
  • Courier
  • Helvetica
  • Times (default when unspecified)
Font size
Specifies the font character size in points (pt).
Font style
Specifies the slope style applied to the font characters.
  • Not Set
  • Backslant
  • Italic
  • Normal
  • Oblique
Font Weight
Specifies the thickness of the font character outline relative to its height.
  • Not Set
  • Bold
  • Light
  • Normal
Decoration
Specifies additional font display properties.
  • Not Set
  • Strike-Through
  • None
  • Underline
Colour
Specifies the font colour. Colour is specified in colour names or HEX values.

Whitespace treatment

Linefeed treatment
Specifies how a new line of text is treated, particularly if a text field includes paragraphs or line breaks.
  • Inherit
  • Ignore
  • Preserve
  • Treat as space
  • Treat as zero width space
Collapse whitespace
Specifies the action taken if a field includes multiple contiguous spaces.
  • Inherit
  • No
  • Yes
Whitespace treatment
Specifies the action taken if a field contains whitespace after a line break.
  • Inherit
  • Ignore
  • Ignore if after linefeed
  • Ignore if before linefeed
  • Ignore if surrounding linefeed
  • Preserve
Wrap option
Specifies the action taken if field content is does not fit the field dimensions.
  • Inherit
  • No wrapping (overflow)
  • Wrap

Borders, padding and margins

Border model
Specifies the action taken if two borders are next to each other.
  • Inherit
  • Collapsing borders
  • Collapsing borders with precedence
  • Separate borders
Border separation
Specifies the separation of a border. Specified in millimetres.

Left - Right - Top - Bottom

Padding
Specifies the whitespace provided around a font.
Margin
Specifies the whitespace provided around a border.
Border color
Specifies the colour of the border.
Border width
Specifies the width of the border. Specified in millimetres.
Border style
Specifies the line style of the border.
  • Not set
  • Dashed
  • Dotted
  • Double
  • Groove
  • Inherit
  • None
  • Ridge
  • Solid