12.18. The OpenCReport\HorizontalLine class #

12.18.1. Set the line width
12.18.2. Set or get the line alignment
12.18.3. Set or get the line indentation
12.18.4. Set or get the line length
12.18.5. Set or get the line's font size
12.18.6. Set or get the suppression flag for the line
12.18.7. Set or get the line color

class OpenCReport\HorizontalLine {
    public final set_size(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

    public final get_size():
                     ?OpenCReport\Expr;

    public final set_alignment(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

    public final get_alignment():
                     ?OpenCReport\Expr;

    public final set_indentation(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

    public final get_indentation():
                     ?OpenCReport\Expr;

    public final set_length(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

    public final get_length():
                     ?OpenCReport\Expr;

    public final set_font_size(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

    public final get_font_size():
                     ?OpenCReport\Expr;

    public final set_suppress(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

    public final get_suppress():
                     ?OpenCReport\Expr;

    public final set_color(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

    public final get_color():
                     ?OpenCReport\Expr;
}

12.18.1. Set the line width #

Set or get the line width in points. Also see Section 8.18.1.1

public final
OpenCReport\HorizontalLine::set_size(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

public final
OpenCReport\HorizontalLine::get_size():
                     ?OpenCReport\Expr;

12.18.2. Set or get the line alignment #

Set the line alignment. Also see Section 8.18.1.2

public final
OpenCReport\HorizontalLine::set_alignment(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

public final
OpenCReport\HorizontalLine::get_alignment():
                     ?OpenCReport\Expr;

12.18.3. Set or get the line indentation #

Set the line indentation, i.e. starting point to the right of the left side of the report. Also see Section 8.18.1.3

public final
OpenCReport\HorizontalLine::set_indentation(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

public final
OpenCReport\HorizontalLine::get_indentation():
                     ?OpenCReport\Expr;

12.18.4. Set or get the line length #

Set the line length. See HorizontalLine length and Size unit attribute.

public final
OpenCReport\HorizontalLine::set_length(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

public final
OpenCReport\HorizontalLine::get_length():
                     ?OpenCReport\Expr;

12.18.5. Set or get the line's font size #

Set the line's font size. This font size is used in calculating the line length. See HorizontalLine font size

public final
OpenCReport\HorizontalLine::set_font_size(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

public final
OpenCReport\HorizontalLine::get_font_size():
                     ?OpenCReport\Expr;

12.18.6. Set or get the suppression flag for the line #

Set the suppression flag for the line. The expression must evaluate to a numeric value that is treated as a boolean, i.e. 0 or non-0. When set to true, the line is not rendered. Default is false.

public final
OpenCReport\HorizontalLine::set_suppress(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

public final
OpenCReport\HorizontalLine::get_suppress():
                     ?OpenCReport\Expr;

12.18.7. Set or get the line color #

Set the line color. See Color specification.

public final
OpenCReport\HorizontalLine::set_color(
                     ?string $expr_string = null):
                     ?OpenCReport\Expr;

public final
OpenCReport\HorizontalLine::get_color():
                     ?OpenCReport\Expr;