template 
{
    name = "template_319";
    type = TEXTUAL;
    width = 78;
    maxheight = 58;
    columns = (1, 1);
    gap = 1;
    fillpolicy = EVEN;
    filldirection = HORIZONTAL;
    margins = (3, 1, 0, 0);
    gridxspacing = 1;
    gridyspacing = 1;
    version = 3.21;
    created = "29.10.2004 12:02";
    modified = "25.07.2012 10:54";
    notes = "Converted template";

    pageheader 
    {
        name = "PAGEHEADER";
        height = 3;
        outputpolicy = NONE;

        text 
        {
            name = "text_365";
            x1 = 0;
            y1 = 1;
            x2 = 0;
            y2 = 1;
            string = "Profile";
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontslant = 0;
            fontstyle = 0;
            angle = 0;
            justify = LEFT;
            pen = 0;
        };

        text 
        {
            name = "text_370";
            x1 = 26;
            y1 = 1;
            x2 = 26;
            y2 = 1;
            string = "Weight";
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontslant = 0;
            fontstyle = 0;
            angle = 0;
            justify = LEFT;
            pen = 0;
        };

        text 
        {
            name = "text_2514";
            x1 = 0;
            y1 = 2;
            x2 = 0;
            y2 = 2;
            string = "----------------------------------------";
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontslant = 0;
            fontstyle = 0;
            angle = 0;
            justify = LEFT;
            pen = 0;
        };

        text _tmp_15824
        {
            name = "Text_3";
            x1 = 0;
            y1 = 0;
            x2 = 0;
            y2 = 0;
            string = "----------------------------------------";
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontslant = 0;
            fontstyle = 0;
            angle = 0;
            justify = LEFT;
            pen = 0;
        };
    };

    row 
    {
        name = "PART";
        height = 1;
        visibility = TRUE;
        usecolumns = FALSE;
        rule = "if (GetValue(\"PROFILE_TYPE\") != \"B\") then\n  Output()\nelse\n  StepOver()\nendif\n";
        contenttype = "PART";
        sorttype = COMBINE;

        valuefield 
        {
            name = "PROFILE";
            location = (0, 0);
            formula = "GetValue(\"PROFILE\")";
            datatype = STRING;
            class = "";
            cacheable = TRUE;
            justify = LEFT;
            visibility = TRUE;
            angle = 0;
            length = 22;
            sortdirection = ASCENDING;
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = NONE;
        };

        valuefield _tmp_890
        {
            name = "LENGTH";
            location = (46, 0);
            formula = "GetValue(\"LENGTH\")";
            datatype = DOUBLE;
            class = "Length";
            cacheable = TRUE;
            justify = RIGHT;
            visibility = FALSE;
            angle = 0;
            length = 5;
            decimals = 0;
            sortdirection = NONE;
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = SUM;
            unit = "mm";
        };

        valuefield 
        {
            name = "WEIGHT";
            location = (27, 0);
            formula = "GetValue(\"PROFILE_WEIGHT\")";
            datatype = DOUBLE;
            class = "Weight";
            cacheable = TRUE;
            justify = RIGHT;
            visibility = TRUE;
            angle = 0;
            length = 8;
            decimals = 3;
            sortdirection = NONE;
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = SUM;
            unit = "T";
        };
    };

    row _tmp_1427
    {
        name = "Row";
        height = 1;
        visibility = TRUE;
        usecolumns = FALSE;
        rule = "if (GetValue(\"CLASS_ATTR\") != \"3\" && GetValue(\"PROFILE_TYPE\") == \"B\" && GetValue(\"CLASS_ATTR\") != \"1\") then\n  Output()\nelse\n  StepOver()\nendif\n";
        contenttype = "PART";
        sorttype = COMBINE;

        valuefield _tmp_1435
        {
            name = "PLT_THK";
            location = (3, 0);
            formula = "GetValue(\"PROFILE.WIDTH\")";
            datatype = STRING;
            class = "";
            cacheable = TRUE;
            justify = LEFT;
            visibility = TRUE;
            angle = 0;
            length = 5;
            sortdirection = ASCENDING;
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = NONE;
        };

        valuefield _tmp_1438
        {
            name = "PLT_LENGTH";
            location = (41, 0);
            formula = "GetValue(\"LENGTH\")";
            datatype = DOUBLE;
            class = "Length";
            cacheable = TRUE;
            justify = RIGHT;
            visibility = FALSE;
            angle = 0;
            length = 10;
            decimals = 0;
            sortdirection = NONE;
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = NONE;
            unit = "mm";
        };

        valuefield _tmp_1439
        {
            name = "PLT_WT";
            location = (26, 0);
            formula = "GetValue(\"WEIGHT_GROSS\")";
            datatype = DOUBLE;
            class = "Weight";
            cacheable = TRUE;
            justify = LEFT;
            visibility = TRUE;
            angle = 0;
            length = 8;
            decimals = 3;
            sortdirection = NONE;
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = SUM;
            unit = "T";
        };

        text _tmp_2268
        {
            name = "Text_16";
            x1 = 0;
            y1 = 0;
            x2 = 0;
            y2 = 0;
            string = "PLT";
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontslant = 0;
            fontstyle = 0;
            angle = 0;
            justify = LEFT;
            pen = 0;
        };
    };

    row _tmp_898
    {
        name = "Row_1";
        height = 1;
        visibility = TRUE;
        usecolumns = FALSE;
        rule = "if (match(GetValue(\"PROFILE\"), \"GRATING*\")) then\n  Output()\nelse\n  StepOver()\nendif\n";
        contenttype = "PART";
        sorttype = COMBINE;

        valuefield _tmp_901
        {
            name = "GRATING_AREA";
            location = (26, 0);
            formula = "GetValue(\"AREA_PLAN\")";
            datatype = DOUBLE;
            class = "Area";
            cacheable = TRUE;
            justify = LEFT;
            visibility = TRUE;
            angle = 0;
            length = 8;
            decimals = 3;
            sortdirection = NONE;
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = SUM;
            unit = "m2";
        };

        text _tmp_1402
        {
            name = "Text";
            x1 = 0;
            y1 = 0;
            x2 = 0;
            y2 = 0;
            string = "GRATING (SQ.M)";
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontslant = 0;
            fontstyle = 0;
            angle = 0;
            justify = LEFT;
            pen = 0;
        };
    };

    footer 
    {
        name = "FOOTER";
        height = 1;

        valuefield 
        {
            name = "WEIGHT_TOTAL";
            location = (26, 0);
            formula = "Total(\"WEIGHT\")+Total(\"PLT_WT\")";
            datatype = DOUBLE;
            class = "Weight";
            cacheable = TRUE;
            justify = LEFT;
            visibility = TRUE;
            angle = 0;
            length = 10;
            decimals = 3;
            sortdirection = NONE;
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontstyle = 0;
            fontslant = 0;
            pen = 0;
            oncombine = NONE;
            unit = "T";
        };

        text 
        {
            name = "text_438";
            x1 = 0;
            y1 = 0;
            x2 = 0;
            y2 = 0;
            string = "TOTAL";
            fontname = "Courier New";
            fontcolor = 153;
            fonttype = 2;
            fontsize = 0.8;
            fontratio = 0.75;
            fontslant = 0;
            fontstyle = 0;
            angle = 0;
            justify = LEFT;
            pen = 0;
        };
    };
};
