12.23. The OpenCReport\LineElement class #

class OpenCReport\LineElement {
    public final get_next():
                     ?OpenCReport\LineElement;

    public final is_text(): bool;

    public final is_image(): bool;

    public final is_barcode(): bool;

    public final get_text():
                     ?OpenCReport\Line;

    public final get_image():
                     ?OpenCReport\Image;

    public final get_barcode):
                     ?OpenCReport\Barcode;
}

This class iterates through line elements defined for the line object used in OpenCReport\Line::get_first_element(). An OpenCReport\LineElement object is an "abstract" object in the sense that it encapsulates several explicit object types. These object types can be determined using the is_*() methods and the actual objects underlying the abstract object can be acquired using the get_*() methods.