8.18. HorizontalLine #

8.18.1. HorizontalLine attributes

A horizontally drawn line.

<Output>
    <HorizontalLine ... />
</Output

8.18.1. HorizontalLine attributes #

Note that Expressions in attribute settings below depend on the parent node context. Some may only use constant expressions or query column references from Independent queries. Child nodes of <Output> nodes in <Report> context may also use report query column references.

8.18.1.1. Line width #

The line width is measured in points, regardless of the Size unit attribute.

<HorizontalLine size="3" />

Default is 1.0

8.18.1.2. Line alignment #

The possible alignment values are left, right and center. Default is left alignment. The alignment is only applied if the line length is shorter than the designated page or column width without the margins.

<HorizontalLine align="'center'"
                length="200" />

Default is 1.0

8.18.1.3. Indentation #

Extra indentation for the line. It is measured in points, regardless of the Size unit attribute.

<HorizontalLine indent="15" />

Default is 0.0

8.18.1.4. Length #

The line length.

<HorizontalLine length="150" />

The line length unit depends on the Size unit attribute. When set to rlib, it is measured in number of characters. The is influenced by HorizontalLine font size, Report font size and Part font size in decreasing order, which in turn is influenced by Report font name and Part font name in decreasing order.

When Size unit attribute is set to points, the line length is measured in points.

Default is unset, i.e. the line is drawn across the page width.

8.18.1.5. Font size #

An extra knob to influence line length computation. See HorizontalLine length. It is accepted in two forms, font_size is the preferred one, the other is accepted for RLIB compatibility:

<HorizontalLine font_size="14" />
<HorizontalLine fontSize="14" />

Default is unset, i.e. only Report font size and Part font size would contribute to the horizontal line width computation.

8.18.1.6. Suppress #

Horizontal lines may be suppressed. If the parent <Output> node is in <FieldDetails>, the expression may be derived from a query field.

<HorizontalLine suppress="yes" />

Default value is false, i.e. no suppression.

8.18.1.7. Line color #

This color is used to render text. It's accepted with both American and British spelling. For RLIB compatibility, it is also accepted as bgcolor, with both American and British spelling.

<HorizontalLine color="'blue'" />
<HorizontalLine colour="'blue'" />
<HorizontalLine bgcolor="'blue'" />
<HorizontalLine bgcolour="'blue'" />

Default is black. See Color specification.