<?xml version="1.0" encoding="UTF-8" ?> <!-- Created with iReport - A designer for JasperReports --> <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"> <jasperReport name="TAR_TMTRANS_HONDA" columnCount="1" printOrder="Vertical" orientation="Portrait" pageWidth="595" pageHeight="842" columnWidth="535" columnSpacing="0" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false"> <property name="ireport.scriptlethandling" value="0" /> <property name="ireport.encoding" value="UTF-8" /> <import value="java.util.*" /> <import value="net.sf.jasperreports.engine.*" /> <import value="net.sf.jasperreports.engine.data.*" /> <import value="com.csc.library.report.*" /> <parameter name="PAGE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["PAGE"]]></defaultValueExpression> </parameter> <parameter name="HEAD1" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["TIME ATTENDANCE"]]></defaultValueExpression> </parameter> <parameter name="COMPANY" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="startdate" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DAY START"]]></defaultValueExpression> </parameter> <parameter name="enddate" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DAY END"]]></defaultValueExpression> </parameter> <parameter name="remark" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["REMARK"]]></defaultValueExpression> </parameter> <parameter name="VPAGE1" isForPrompting="false" class="java.lang.String"> <defaultValueExpression ><![CDATA["TAR_TAR_TMTRANS_HONDA"]]></defaultValueExpression> </parameter> <parameter name="LANG" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[lang]]></parameterDescription> <defaultValueExpression ><![CDATA["THA"]]></defaultValueExpression> </parameter> <parameter name="REPORTHEADER" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="EMPID" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["EMPID"]]></defaultValueExpression> </parameter> <parameter name="SEQ" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["SEQ"]]></defaultValueExpression> </parameter> <parameter name="DATEID" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DATEID" ]]></defaultValueExpression> </parameter> <parameter name="SHIFT" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["SHIFT"]]></defaultValueExpression> </parameter> <parameter name="IN" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["IN"]]></defaultValueExpression> </parameter> <parameter name="OUT" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["OUT"]]></defaultValueExpression> </parameter> <parameter name="OT1.5" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["OT1.5"]]></defaultValueExpression> </parameter> <parameter name="OT2" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["OT2"]]></defaultValueExpression> </parameter> <parameter name="OT3" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["OT3"]]></defaultValueExpression> </parameter> <parameter name="REMARK" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["REMARK"]]></defaultValueExpression> </parameter> <parameter name="BRANCH" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["BRANCH"]]></defaultValueExpression> </parameter> <parameter name="POSITION" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["POSITION"]]></defaultValueExpression> </parameter> <parameter name="DEPARTMENT" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DEPARTMENT"]]></defaultValueExpression> </parameter> <parameter name="STARTDATE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["STARTDATE"]]></defaultValueExpression> </parameter> <parameter name="DAYS" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DAYS"]]></defaultValueExpression> </parameter> <parameter name="TOTAL_BY_EMPLOYEE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["TOTAL BY EMPLOYEE"]]></defaultValueExpression> </parameter> <parameter name="STDATE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="ENDDATE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <field name="vw_time_trans__itemno" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__itemno]]></fieldDescription> </field> <field name="vw_time_trans__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__employeeid]]></fieldDescription> </field> <field name="vw_time_trans__dayofweekint" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__dayofweekint]]></fieldDescription> </field> <field name="vw_time_trans__dayofweekchar" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__dayofweekchar]]></fieldDescription> </field> <field name="vw_time_trans__dateid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__dateid]]></fieldDescription> </field> <field name="vw_time_trans__doctype" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__doctype]]></fieldDescription> </field> <field name="vw_time_trans__lv_ty" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__lv_ty]]></fieldDescription> </field> <field name="vw_time_trans__time0id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__time0id]]></fieldDescription> </field> <field name="vw_time_trans__m_tm_bg" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__m_tm_bg]]></fieldDescription> </field> <field name="vw_time_trans__m_tm_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__m_tm_en]]></fieldDescription> </field> <field name="vw_time_trans__ac_ot" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__ac_ot]]></fieldDescription> </field> <field name="vw_time_trans__ap_ot" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__ap_ot]]></fieldDescription> </field> <field name="vw_time_trans__ot1" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__ot1]]></fieldDescription> </field> <field name="vw_time_trans__ot5" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__ot5]]></fieldDescription> </field> <field name="vw_time_trans__ot2" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__ot2]]></fieldDescription> </field> <field name="vw_time_trans__ot3" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__ot3]]></fieldDescription> </field> <field name="vw_time_trans__forget_in" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__forget_in]]></fieldDescription> </field> <field name="vw_time_trans__forget_out" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__forget_out]]></fieldDescription> </field> <field name="vw_time_trans__eventgrpth" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__eventgrpth]]></fieldDescription> </field> <field name="vw_time_trans__eventgrpen" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__eventgrpen]]></fieldDescription> </field> <field name="vw_time_trans__remark" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__remark]]></fieldDescription> </field> <field name="vw_time_trans__isstopot" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__isstopot]]></fieldDescription> </field> <field name="vw_time_trans__tdaystopot" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__tdaystopot]]></fieldDescription> </field> <field name="vw_time_trans__edaystopot" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__edaystopot]]></fieldDescription> </field> <field name="vw_time_trans__fullname_th" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__fullname_th]]></fieldDescription> </field> <field name="vw_time_trans__fullname_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__fullname_en]]></fieldDescription> </field> <field name="vw_time_trans__emp_position" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__emp_position]]></fieldDescription> </field> <field name="vw_time_trans__emp_group" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__emp_group]]></fieldDescription> </field> <field name="vw_time_trans__branch" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__branch]]></fieldDescription> </field> <field name="vw_time_trans__bu1" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__bu1]]></fieldDescription> </field> <field name="vw_time_trans__bu2" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__bu2]]></fieldDescription> </field> <field name="vw_time_trans__bu3" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__bu3]]></fieldDescription> </field> <field name="vw_time_trans__bu4" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__bu4]]></fieldDescription> </field> <field name="vw_time_trans__bu5" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__bu5]]></fieldDescription> </field> <field name="vw_time_trans__costcenter" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__costcenter]]></fieldDescription> </field> <field name="vw_time_trans__startdate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__startdate]]></fieldDescription> </field> <field name="vw_time_trans__mposdsp_th" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__mposdsp_th]]></fieldDescription> </field> <field name="vw_time_trans__mposdsp_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__mposdsp_en]]></fieldDescription> </field> <field name="vw_time_trans__mgrpdsp_th" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__mgrpdsp_th]]></fieldDescription> </field> <field name="vw_time_trans__mgrpdsp_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__mgrpdsp_en]]></fieldDescription> </field> <field name="vw_time_trans__mbrchdsp_th" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__mbrchdsp_th]]></fieldDescription> </field> <field name="vw_time_trans__mbrchdsp_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__mbrchdsp_en]]></fieldDescription> </field> <field name="vw_time_trans__u1dsp_th" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__u1dsp_th]]></fieldDescription> </field> <field name="vw_time_trans__u1dsp_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__u1dsp_en]]></fieldDescription> </field> <field name="vw_time_trans__u2dsp_th" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__u2dsp_th]]></fieldDescription> </field> <field name="vw_time_trans__u2dsp_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__u2dsp_en]]></fieldDescription> </field> <field name="vw_time_trans__u3dsp_th" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__u3dsp_th]]></fieldDescription> </field> <field name="vw_time_trans__u3dsp_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__u3dsp_en]]></fieldDescription> </field> <field name="vw_time_trans__u4dsp_th" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__u4dsp_th]]></fieldDescription> </field> <field name="vw_time_trans__u4dsp_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__u4dsp_en]]></fieldDescription> </field> <field name="vw_time_trans__u5dsp_th" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__u5dsp_th]]></fieldDescription> </field> <field name="vw_time_trans__u5dsp_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__u5dsp_en]]></fieldDescription> </field> <field name="vw_time_trans__mcosdsp_th" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__mcosdsp_th]]></fieldDescription> </field> <field name="vw_time_trans__mcosdsp_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__mcosdsp_en]]></fieldDescription> </field> <field name="vw_time_trans__mt0dsp_th" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__mt0dsp_th]]></fieldDescription> </field> <field name="vw_time_trans__mt0dsp_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by vw_time_trans__mt0dsp_en]]></fieldDescription> </field> <variable name="HHOT5" class="java.lang.Integer" resetType="Group" resetGroup="employeeid" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf(Integer.parseInt($F{vw_time_trans__ot5}.substring(0,new com.csc.library.report.ReportUDF().getDoubleFormat($F{vw_time_trans__ot5},"").indexOf("."))))]]></variableExpression> </variable> <variable name="MMOT5" class="java.lang.Integer" resetType="Group" resetGroup="employeeid" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf(Integer.parseInt(new ReportUDF().getDoubleFormat($F{vw_time_trans__ot5},"").substring(new ReportUDF().getDoubleFormat($F{vw_time_trans__ot5},"").indexOf(".")+1)))]]></variableExpression> </variable> <variable name="HHMMOT5" class="java.lang.String" resetType="None" calculation="Nothing"> <variableExpression><![CDATA[new ReportUDF().getDoubleFormat(String.valueOf($V{HHOT5}.intValue()+($V{MMOT5}.intValue()/60)+"."+($V{MMOT5}.intValue()%60)),"")]]></variableExpression> </variable> <variable name="HHMMOT2" class="java.lang.String" resetType="None" calculation="Nothing"> <variableExpression><![CDATA[new ReportUDF().getDoubleFormat(String.valueOf($V{HHOT2}.intValue()+($V{MMOT2}.intValue()/60)+"."+($V{MMOT2}.intValue()%60)),"")]]></variableExpression> </variable> <variable name="MMOT2" class="java.lang.Integer" resetType="Group" resetGroup="employeeid" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf(Integer.parseInt(new ReportUDF().getDoubleFormat($F{vw_time_trans__ot2},"").substring(new ReportUDF().getDoubleFormat($F{vw_time_trans__ot2},"").indexOf(".")+1)))]]></variableExpression> </variable> <variable name="HHOT2" class="java.lang.Integer" resetType="Group" resetGroup="employeeid" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf(Integer.parseInt($F{vw_time_trans__ot2}.substring(0,new com.csc.library.report.ReportUDF().getDoubleFormat($F{vw_time_trans__ot2},"").indexOf("."))))]]></variableExpression> </variable> <variable name="HHMMOT3" class="java.lang.String" resetType="None" calculation="Nothing"> <variableExpression><![CDATA[new ReportUDF().getDoubleFormat(String.valueOf($V{HHOT3}.intValue()+($V{MMOT3}.intValue()/60)+"."+($V{MMOT3}.intValue()%60)),"")]]></variableExpression> </variable> <variable name="MMOT3" class="java.lang.Integer" resetType="Group" resetGroup="employeeid" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf(Integer.parseInt(new ReportUDF().getDoubleFormat($F{vw_time_trans__ot3},"").substring(new ReportUDF().getDoubleFormat($F{vw_time_trans__ot3},"").indexOf(".")+1)))]]></variableExpression> </variable> <variable name="HHOT3" class="java.lang.Integer" resetType="Group" resetGroup="employeeid" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf(Integer.parseInt($F{vw_time_trans__ot3}.substring(0,new com.csc.library.report.ReportUDF().getDoubleFormat($F{vw_time_trans__ot3},"").indexOf("."))))]]></variableExpression> </variable> <variable name="aa" class="java.lang.Integer" resetType="Group" resetGroup="employeeid" calculation="Lowest"> <variableExpression><![CDATA[Integer.valueOf(Integer.parseInt($F{vw_time_trans__itemno}))]]></variableExpression> </variable> <group name="employeeid" isStartNewPage="true" > <groupExpression><![CDATA[$F{vw_time_trans__employeeid}]]></groupExpression> <groupHeader> <band height="81" isSplitAllowed="true" > <printWhenExpression><![CDATA[new Boolean(true)]]></printWhenExpression> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="48" y="19" width="44" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{BRANCH}]]></textFieldExpression> </textField> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="64" width="535" height="0" forecolor="#000000" backcolor="#FFFFFF" key="line"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="62" width="535" height="0" forecolor="#000000" backcolor="#FFFFFF" key="line"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="80" width="535" height="0" forecolor="#000000" backcolor="#FFFFFF" key="line"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="78" width="535" height="0" forecolor="#000000" backcolor="#FFFFFF" key="line"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="92" y="19" width="151" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-1"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[": "+$F{vw_time_trans__branch}+" "+(($P{LANG}.equals("ENG"))? $F{vw_time_trans__mbrchdsp_th}:$F{vw_time_trans__mbrchdsp_th})]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="4" y="65" width="35" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-2"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{SEQ}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="45" y="65" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-3"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{DATEID}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="133" y="65" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-4"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{SHIFT}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="176" y="65" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-5"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{IN}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="219" y="65" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-6"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{OUT}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="262" y="65" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-7"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{OT1.5}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="305" y="65" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-8"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{OT2}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="348" y="65" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-9"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{OT3}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="392" y="65" width="142" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-10"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{REMARK}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="48" y="32" width="44" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-20"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{EMPID}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="92" y="32" width="151" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-21"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[": "+$F{vw_time_trans__employeeid}+" "+$F{vw_time_trans__fullname_en}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="48" y="45" width="44" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-22"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{POSITION}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="92" y="45" width="151" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-23"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[": "+$F{vw_time_trans__emp_position}+" "+$F{vw_time_trans__mposdsp_th}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="293" y="19" width="52" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-24"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{BRANCH}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="345" y="19" width="151" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-25"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[": "+$F{vw_time_trans__bu3}+" "+$F{vw_time_trans__u3dsp_th}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="293" y="32" width="52" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-26"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{STARTDATE}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="345" y="32" width="151" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-27"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[": "+$F{vw_time_trans__startdate}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="90" y="65" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-28"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{DAYS}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="4" y="4" width="529" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-37"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[(($P{LANG}.equals("ENG"))? "From Date "+$P{STDATE}+ " To " + $P{ENDDATE}:"ตั้งแต่วันที่ "+$P{STDATE}+ " ถึง " + $P{ENDDATE})]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="23" isSplitAllowed="true" > <printWhenExpression><![CDATA[new Boolean(true)]]></printWhenExpression> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="3" width="535" height="0" forecolor="#000000" backcolor="#FFFFFF" key="line-1"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="1" width="535" height="0" forecolor="#000000" backcolor="#FFFFFF" key="line-2"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="88" y="6" width="130" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-30"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{TOTAL_BY_EMPLOYEE}]]></textFieldExpression> </textField> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="22" width="535" height="0" forecolor="#000000" backcolor="#FFFFFF" key="line-3"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="20" width="535" height="0" forecolor="#000000" backcolor="#FFFFFF" key="line-4"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="262" y="6" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-34"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$V{HHMMOT5}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="305" y="6" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-35"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$V{HHMMOT2}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="348" y="6" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-36"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$V{HHMMOT3}]]></textFieldExpression> </textField> </band> </groupFooter> </group> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="0" isSplitAllowed="true" > </band> </title> <pageHeader> <band height="64" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="3" y="48" width="531" height="16" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{REPORTHEADER}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="469" y="1" width="65" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{PAGE} +" " + $V{PAGE_NUMBER} + "/" + $V{PAGE_NUMBER}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Opaque" x="3" y="17" width="531" height="16" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{HEAD1}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="3" y="33" width="531" height="16" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{COMPANY}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="2" y="1" width="248" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{VPAGE1}+"-"+new ReportUDF().getTimeShort()+"-"+new ReportUDF().getDateShort()]]></textFieldExpression> </textField> </band> </pageHeader> <columnHeader> <band height="0" isSplitAllowed="true" > </band> </columnHeader> <detail> <band height="12" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="4" y="0" width="35" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-11"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{vw_time_trans__itemno}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="45" y="0" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-12"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{vw_time_trans__dateid}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="133" y="0" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-13"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{vw_time_trans__time0id}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="176" y="0" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-14"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[( ( ($F{vw_time_trans__lv_ty}.equals("H")||$F{vw_time_trans__lv_ty}.equals("I"))&& new Double($F{vw_time_trans__m_tm_bg}).doubleValue()==0 ) ||$F{vw_time_trans__forget_in}.equals("1")||$F{vw_time_trans__lv_ty}.equals("J"))?"":new ReportUDF().getDoubleFormat($F{vw_time_trans__m_tm_bg},"")]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="219" y="0" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-15"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[( ( ($F{vw_time_trans__lv_ty}.equals("H")||$F{vw_time_trans__lv_ty}.equals("I"))&& new Double($F{vw_time_trans__m_tm_en}).doubleValue()==0 ) ||$F{vw_time_trans__forget_out}.equals("1")||$F{vw_time_trans__lv_ty}.equals("J"))?"":new ReportUDF().getDoubleFormat($F{vw_time_trans__m_tm_en},"")]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="262" y="0" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-16"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new com.csc.library.report.ReportUDF().getDoubleFormat($F{vw_time_trans__ot5},"")]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="305" y="0" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-17"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new com.csc.library.report.ReportUDF().getDoubleFormat($F{vw_time_trans__ot2},"")]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="348" y="0" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-18"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new com.csc.library.report.ReportUDF().getDoubleFormat($F{vw_time_trans__ot3},"")]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="392" y="0" width="142" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-19"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{vw_time_trans__remark}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="90" y="0" width="43" height="12" forecolor="#000000" backcolor="#FFFFFF" key="textField-29"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[($F{vw_time_trans__lv_ty}.equals("I"))?"** Holiday **": ($F{vw_time_trans__lv_ty}.equals("H"))?"** "+$F{vw_time_trans__dayofweekchar}+" **": ($F{vw_time_trans__isstopot}.equals("on"))?"* "+$F{vw_time_trans__dayofweekchar}+" *" :$F{vw_time_trans__dayofweekchar}]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="0" isSplitAllowed="true" > </band> </columnFooter> <pageFooter> <band height="0" isSplitAllowed="true" > </band> </pageFooter> <summary> <band height="0" isSplitAllowed="true" > </band> </summary> </jasperReport>