<?xml version='1.0'?>
<form>
    <group col="2" id="he">
        <label name="document"/>
        <field name="document"/>
        <label name="type"/>
        <field name="type"/>
        <label name="rule_set"/>
        <field name="rule_set"/>
    </group>
    <notebook>
        <page string="OCR" id="ocr">
            <field name="ocr_text"/>
        </page>
        <page string="JSON" id="json">
            <field name="structure_json"/>
        </page>
        <page string="Tables" id="tables">
            <field name="tables_json"/>
        </page>
        <page string="Metadata" id="meta">
            <field name="metadata_json"/>
        </page>
        <page string="Notes" id="notes">
            <field name="notes"/>
        </page>
    </notebook>
    <group id="fo">
        <label name="state"/>
        <field name="state"/>
        <button name="run_pipeline"/>
        <newline/>
        <button name="run_ocr"/>
        <button name="run_structure"/>
        <button name="run_tables"/>
        <button name="run_metadata"/>
    </group>
</form>
