template 
{
    name = "template_1";
    type = GRAPHICAL;
    width = 196;
    maxheight = 20;
    columns = (1, 1);
    gap = 1;
    fillpolicy = EVEN;
    filldirection = HORIZONTAL;
    margins = (0, 0, 0, 0);
    gridxspacing = 1;
    gridyspacing = 1;
    version = 3.21;
    created = "01.05.2009 14:11";
    modified = "18.05.2011 15:17";
    notes = "Converted template";

    header 
    {
        name = "header_20";
        height = 9;
    };

    row 
    {
        name = "row_30";
        height = 7;
        visibility = TRUE;
        usecolumns = FALSE;
        rule = "Output()";
        contenttype = "PART";
        sorttype = COMBINE;

        valuefield 
        {
            name = "field_PART_POS";
            location = (2, 2);
            formula = "GetValue(\"PART_POS\")";
            datatype = STRING;
            class = "";
            cacheable = TRUE;
            justify = RIGHT;
            visibility = TRUE;
            angle = 0;
            length = 7;
            sortdirection = ASCENDING;
            fontname = "Arial Narrow";
            fontcolor = 161;
            fonttype = 2;
            fontsize = 3;
            fontratio = 0.949489;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = NONE;
            fontlinewidth = 1;
        };

        valuefield 
        {
            name = "field_MODEL_TOTAL";
            location = (18, 2);
            formula = "GetValue(\"MODEL_TOTAL\")";
            datatype = INTEGER;
            class = "";
            cacheable = TRUE;
            justify = RIGHT;
            visibility = TRUE;
            angle = 0;
            length = 4;
            sortdirection = ASCENDING;
            fontname = "Arial Narrow";
            fontcolor = 161;
            fonttype = 2;
            fontsize = 3;
            fontratio = 1.068175;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = NONE;
            fontlinewidth = 1;
        };

        valuefield 
        {
            name = "field_PROFILE";
            location = (32, 2);
            formula = "if GetValue(\"USERDEFINED.BOUGHT_ITEM\") == \"Yes\" then\n  GetValue(\"USERDEFINED.BOUGHT_ITEM_NAME\")\nelse\nif GetValue(\"USERDEFINED.GAGE\") == \"\" || GetValue(\"USERDEFINED.GAGE\") == 0 then\n   GetValue(\"PROFILE\")  \nelse\n  GetValue(\"USERDEFINED.GAGE\")+mid(GetValue(\"PROFILE\"),find(GetValue(\"PROFILE\"),\"X\"))\nendif\nendif";
            datatype = STRING;
            class = "";
            cacheable = TRUE;
            justify = LEFT;
            visibility = TRUE;
            angle = 0;
            length = 17;
            sortdirection = ASCENDING;
            fontname = "Arial Narrow";
            fontcolor = 161;
            fonttype = 2;
            fontsize = 3;
            fontratio = 1.186861;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = NONE;
            fontlinewidth = 1;
        };

        valuefield 
        {
            name = "field_LENGTH";
            location = (95, 2);
            formula = "GetValue(\"LENGTH\")";
            datatype = DOUBLE;
            class = "Length";
            cacheable = TRUE;
            justify = LEFT;
            visibility = TRUE;
            angle = 0;
            length = 11;
            decimals = 1;
            sortdirection = ASCENDING;
            fontname = "Arial Narrow";
            fontcolor = 161;
            fonttype = 2;
            fontsize = 3;
            fontratio = 1.186861;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = NONE;
            unit = "ft-frac";
            fontlinewidth = 1;
        };

        valuefield 
        {
            name = "field_MATERIAL";
            location = (152, 2);
            formula = "GetValue(\"MATERIAL\")";
            datatype = STRING;
            class = "";
            cacheable = TRUE;
            justify = LEFT;
            visibility = TRUE;
            angle = 0;
            length = 15;
            sortdirection = ASCENDING;
            fontname = "Arial Narrow";
            fontcolor = 161;
            fonttype = 2;
            fontsize = 3;
            fontratio = 1.186861;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = NONE;
            fontlinewidth = 1;
        };

        lineorarc 
        {
            name = "lineorarc_31";
            x1 = 0;
            y1 = 7;
            x2 = 0;
            y2 = 0;
            pen = 0;
            color = 153;
            linetype = 1;
            linewidth = 1;
            bulge = 0;
        };

        lineorarc 
        {
            name = "lineorarc_29";
            x1 = 0;
            y1 = 7;
            x2 = 196;
            y2 = 7;
            pen = 0;
            color = 153;
            linetype = 1;
            linewidth = 1;
            bulge = 0;
        };

        lineorarc 
        {
            name = "lineorarc_5";
            x1 = 84;
            y1 = 0;
            x2 = 84;
            y2 = 7;
            pen = 0;
            color = 153;
            linetype = 1;
            linewidth = 1;
            bulge = 0;
        };

        lineorarc 
        {
            name = "lineorarc_6";
            x1 = 150;
            y1 = 0;
            x2 = 150;
            y2 = 7;
            pen = 0;
            color = 153;
            linetype = 1;
            linewidth = 1;
            bulge = 0;
        };

        lineorarc 
        {
            name = "lineorarc_8";
            x1 = 30;
            y1 = 7;
            x2 = 30;
            y2 = 0;
            pen = 0;
            color = 153;
            linetype = 1;
            linewidth = 1;
            bulge = 0;
        };

        lineorarc 
        {
            name = "lineorarc_9";
            x1 = 17;
            y1 = 7;
            x2 = 17;
            y2 = 0;
            pen = 0;
            color = 153;
            linetype = 1;
            linewidth = 1;
            bulge = 0;
        };
    };

    footer 
    {
        name = "footer_23";
        height = 2;
    };
};
