8.16. Line #

8.16.1. Line attributes
8.16.2. Line subsections

A line containing text elements of varying widths.

<Output>
    <Line>
        ...
    </Line>
</Output

8.16.1. Line 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.16.1.1. Font name #

The font name attribute specifies the font for the line's scope. It can be overridden by child nodes for their scope. It may be specified in two forms, the first one is the preferred name, the second is for RLIB compatibility:

<Line font_name="'Arial'">
<Line fontName="'Arial'">

If both forms are specified, font_name is used.

Default font name is what's set (in decreasing priority) in Report font name or Part font name. If none of them is set, it's Courier.

8.16.1.2. Font size #

The font size attribute specifies the font size for the line's scope. It can be overridden by child nodes for their scope. It may be specified in two forms, the first one is the preferred name, the second is for RLIB compatibility:

<Line font_size="10">
<Line fontSize="10">

If both forms are specified, font_size is used.

Default font name is what's set (in decreasing priority) in Report font size or Part font size. If none of them is set, it's 12.

8.16.1.3. Bold font #

Whether the line elements use bold font.

<Line bold="yes">

Default is false.

8.16.1.4. Italic font #

Whether the line elements use italic font. It is accepted in two forms:

<Line italic="yes">
<Line italics="yes">

Default is false.

8.16.1.5. Suppress #

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

<Line suppress="yes">

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

8.16.1.6. Text color #

This color is used to render text. It's accepted with both American and British spelling.

<Line color="'blue'">
<Line colour="'blue'">

Default is black. See Color specification.

8.16.1.7. Background color #

This color is used to render the background rectangle under the text. It's accepted with both American and British spelling.

<Line bgcolor="'blue'">
<Line bgcolour="'blue'">

Default is white. See Color specification.

8.16.2. Line subsections #

8.16.2.1. Text element #

See the Text element node. Two variants are accepted.

<Line>
    <field value="expression..." ... />
</Line>

and

<Line>
    <literal ... >Literal text</literal>
</Line>

8.16.2.2. Image element #

An <Image> is accepted as a line element. See the Image node.

<Line>
    <Image value="expression..." ... />
</Line>

8.16.2.3. Barcode element #

A <Barcode> is accepted as a line element. See the Barcode node.

<Line>
    <Barcode value="expression..." ... />
</Line>