<?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="PRR161_EXCEL" columnCount="1" printOrder="Vertical" orientation="Landscape" pageWidth="842" pageHeight="595" columnWidth="782" columnSpacing="0" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" 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.ReportUDF" /> <import value="com.csc.library.utilities.CscCalendar" /> <import value="com.csc.library.utilities.CheckNull" /> <parameter name="REPORTHEAD1" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA["แบบรายงานผลการปฎิบัตตามกฎหมายในการจ้างงานคนพิการ ประจำปี ๒๕๕๗"]]></defaultValueExpression> </parameter> <parameter name="REPORTHEAD2" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA["ชื่อสถานประกอบการ"]]></defaultValueExpression> </parameter> <parameter name="REPORTHEAD3" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA["ประเภทกิจการ"]]></defaultValueExpression> </parameter> <parameter name="REPORTHEAD4" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA["เลขทะเบียนนายจ้าง (ตามประกันสังคม)"]]></defaultValueExpression> </parameter> <parameter name="REPORTHEAD5" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA["ที่อยู่"]]></defaultValueExpression> </parameter> <parameter name="LANG" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[lang]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="RUN_NO" isForPrompting="false" class="java.lang.String"> <defaultValueExpression ><![CDATA["RPI2036"]]></defaultValueExpression> </parameter> <parameter name="COMPANY" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="DATETHAI" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="DATEENG" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="REPORTHEADER" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="ACTORNAME" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <field name="handicapped__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by handicapped__employeeid]]></fieldDescription> </field> <field name="handicapped__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by handicapped__companyid]]></fieldDescription> </field> <field name="handicapped__handicappedid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by handicapped__handicappedid]]></fieldDescription> </field> <field name="handicapped__handicapped_type_id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by handicapped__handicapped_type_id]]></fieldDescription> </field> <field name="handicapped__reason" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by handicapped__reason]]></fieldDescription> </field> <field name="mhandicapped_type__handicapped_type_id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mhandicapped_type__handicapped_type_id]]></fieldDescription> </field> <field name="mhandicapped_type__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mhandicapped_type__companyid]]></fieldDescription> </field> <field name="mhandicapped_type__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mhandicapped_type__tdesc]]></fieldDescription> </field> <field name="mhandicapped_type__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mhandicapped_type__edesc]]></fieldDescription> </field> <field name="memployee__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__employeeid]]></fieldDescription> </field> <field name="memployee__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__companyid]]></fieldDescription> </field> <field name="memployee__emp_prefix" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__emp_prefix]]></fieldDescription> </field> <field name="memployee__fname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__fname]]></fieldDescription> </field> <field name="memployee__lname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__lname]]></fieldDescription> </field> <field name="memployee__efname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__efname]]></fieldDescription> </field> <field name="memployee__elname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__elname]]></fieldDescription> </field> <field name="memployee__salary" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__salary]]></fieldDescription> </field> <field name="memployee__sex" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__sex]]></fieldDescription> </field> <field name="memployee__emp_position" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__emp_position]]></fieldDescription> </field> <field name="memployee__startdate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__startdate]]></fieldDescription> </field> <field name="memployee__birthday" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__birthday]]></fieldDescription> </field> <field name="memployee__branch" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__branch]]></fieldDescription> </field> <field name="mbranch__branchid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__branchid]]></fieldDescription> </field> <field name="mbranch__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__companyid]]></fieldDescription> </field> <field name="mbranch__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__tdesc]]></fieldDescription> </field> <field name="mbranch__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__edesc]]></fieldDescription> </field> <field name="mbranch__tel" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__tel]]></fieldDescription> </field> <field name="mbranch__taxid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__taxid]]></fieldDescription> </field> <field name="mbranch__tvillage" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__tvillage]]></fieldDescription> </field> <field name="mbranch__troom_no" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__troom_no]]></fieldDescription> </field> <field name="mbranch__tfloor" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__tfloor]]></fieldDescription> </field> <field name="mbranch__taddr" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__taddr]]></fieldDescription> </field> <field name="mbranch__tmoo" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__tmoo]]></fieldDescription> </field> <field name="mbranch__tsoi" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__tsoi]]></fieldDescription> </field> <field name="mbranch__troad" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__troad]]></fieldDescription> </field> <field name="mbranch__tdistrict" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__tdistrict]]></fieldDescription> </field> <field name="mbranch__evillage" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__evillage]]></fieldDescription> </field> <field name="mbranch__eroom_no" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__eroom_no]]></fieldDescription> </field> <field name="mbranch__efloor" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__efloor]]></fieldDescription> </field> <field name="mbranch__eaddr" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__eaddr]]></fieldDescription> </field> <field name="mbranch__emoo" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__emoo]]></fieldDescription> </field> <field name="mbranch__esoi" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__esoi]]></fieldDescription> </field> <field name="mbranch__eroad" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__eroad]]></fieldDescription> </field> <field name="mbranch__edistrict" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__edistrict]]></fieldDescription> </field> <field name="mbranch__amphur" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__amphur]]></fieldDescription> </field> <field name="mbranch__zipcode" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__zipcode]]></fieldDescription> </field> <field name="mbranch__province" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__province]]></fieldDescription> </field> <field name="mposition__positionid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mposition__positionid]]></fieldDescription> </field> <field name="mposition__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mposition__companyid]]></fieldDescription> </field> <field name="mposition__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mposition__tdesc]]></fieldDescription> </field> <field name="mposition__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mposition__edesc]]></fieldDescription> </field> <field name="mprefix__prefixid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprefix__prefixid]]></fieldDescription> </field> <field name="mprefix__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprefix__tdesc]]></fieldDescription> </field> <field name="mprefix__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprefix__edesc]]></fieldDescription> </field> <field name="mcompany__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcompany__companyid]]></fieldDescription> </field> <field name="mcompany__tname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcompany__tname]]></fieldDescription> </field> <field name="mcompany__ename" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcompany__ename]]></fieldDescription> </field> <field name="mcompany__com_type" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcompany__com_type]]></fieldDescription> </field> <field name="csczipcode__zipcode" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by csczipcode__zipcode]]></fieldDescription> </field> <field name="csczipcode__tamphur" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by csczipcode__tamphur]]></fieldDescription> </field> <field name="csczipcode__eamphur" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by csczipcode__eamphur]]></fieldDescription> </field> <field name="csczipcode__province" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by csczipcode__province]]></fieldDescription> </field> <field name="mprovince__provinceid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprovince__provinceid]]></fieldDescription> </field> <field name="mprovince__long_tname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprovince__long_tname]]></fieldDescription> </field> <field name="mprovince__long_ename" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprovince__long_ename]]></fieldDescription> </field> <field name="mprovince__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprovince__companyid]]></fieldDescription> </field> <field name="mcom_type__codeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcom_type__codeid]]></fieldDescription> </field> <field name="mcom_type__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcom_type__tdesc]]></fieldDescription> </field> <field name="mcom_type__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcom_type__edesc]]></fieldDescription> </field> <field name="mbranch__tfulladdr" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__tfulladdr]]></fieldDescription> </field> <field name="mbranch__efulladdr" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__efulladdr]]></fieldDescription> </field> <field name="memployee__fullname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__fullname]]></fieldDescription> </field> <field name="memployee__max_employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__max_employeeid]]></fieldDescription> </field> <field name="memployee__empages_short" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__empages_short]]></fieldDescription> </field> <field name="handicapped__emp_nothandicapped" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by handicapped__emp_nothandicapped]]></fieldDescription> </field> <field name="handicapped__emp_handicapped" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by handicapped__emp_handicapped]]></fieldDescription> </field> <field name="memployee__handicappedid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__handicappedid]]></fieldDescription> </field> <variable name="emp_count" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{handicapped__employeeid}]]></variableExpression> </variable> <variable name="salary" class="java.lang.String" resetType="Column" calculation="Nothing"> <variableExpression><![CDATA[$F{memployee__salary}.equals("")? "0.0":$F{memployee__salary}]]></variableExpression> </variable> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="0" isSplitAllowed="true" > </band> </title> <pageHeader> <band height="110" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="0" y="82" width="40" height="28" key="textField-138"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="12" isBold="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "No.":"ที่"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="40" y="82" width="162" height="28" key="textField-139"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Name - Surname (Handicapped)":"ชื่อ - สกุล (คนพิการ)"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="202" y="82" width="44" height="28" key="textField-140"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Gender":"เพศ"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="246" y="82" width="50" height="28" key="textField-141"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Age (Year)":"อายุ (ปี)"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="296" y="82" width="110" height="28" key="textField-142"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "ID Card No.":"เลขทะเบียนคนพิการ (ตามบัตรประจำตัวประชาชน)"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="406" y="82" width="100" height="28" key="textField-143"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Handicapped Type":"ลักษณะความพิการ"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="506" y="82" width="76" height="28" key="textField-144"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Start Date (Day/Month/Year)":"เริ่มบรรจุงาน (วัน/เดือน/ปี)"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="582" y="82" width="70" height="28" key="textField-145"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Wage/salary":"ค่าจ้าง/เงินเดือน"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="652" y="82" width="190" height="28" key="textField-146"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Position":"ตำแหน่งงาน"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="383" height="28" forecolor="#000000" backcolor="#FFFFFF" key="textField-149"/> <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="24" 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="true" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="790" y="46" width="52" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-150"/> <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="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{RUN_NO}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="118" y="46" width="622" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-151"/> <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="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? $P{DATETHAI}:$P{DATEENG}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="118" y="64" width="724" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-152"/> <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="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? $P{ACTORNAME}:$P{ACTORNAME}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="46" width="118" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-153"/> <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="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "วันที่พิมพ์ : ":"Print date : "]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="64" width="118" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-154"/> <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="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "พิมพ์โดย : ":"Print by : "]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="740" y="46" width="50" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-155"/> <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="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "อ้างอิง # ":"Ref # "]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="118" y="28" width="724" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-157"/> <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="CORDIAB.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="0" y="28" width="118" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-158"/> <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="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "รายงาน : ":"Report Name : "]]></textFieldExpression> </textField> </band> </pageHeader> <columnHeader> <band height="0" isSplitAllowed="true" > </band> </columnHeader> <detail> <band height="18" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="40" y="0" width="162" height="18" key="textField-21"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="5" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{memployee__fullname}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="0" y="0" width="40" height="18" key="textField-22"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="5" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Integer"><![CDATA[$V{emp_count}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="296" y="0" width="110" height="18" key="textField-23"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="5" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{memployee__handicappedid}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="202" y="0" width="44" height="18" key="textField-24"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="5" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new ReportUDF().getSystemCode("SEX", $P{LANG}, $F{memployee__sex})]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="246" y="0" width="50" height="18" key="textField-25"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="5" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? new CheckNull().chkNullString($F{memployee__empages_short},"0:0:0").substring(0,2).replaceAll(":","")+" year": new CheckNull().chkNullString($F{memployee__empages_short},"0:0:0").substring(0,2).replaceAll(":","")+" ปี"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="406" y="0" width="100" height="18" key="textField-26"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="5" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? $F{mhandicapped_type__edesc}:$F{mhandicapped_type__tdesc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="506" y="0" width="76" height="18" key="textField-27"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="5" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new CscCalendar($F{memployee__startdate}).getDDMMYYYY()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="652" y="0" width="190" height="18" key="textField-28"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="Thin" rightBorderColor="#000000" rightPadding="5" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? $F{mposition__edesc}:$F{mposition__tdesc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="582" y="0" width="70" height="18" key="textField-29"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="5" rightBorder="None" rightBorderColor="#000000" rightPadding="5" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf($V{salary})]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="0" isSplitAllowed="true" > </band> </columnFooter> <pageFooter> <band height="85" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="160" y="13" width="540" height="29" key="textField-135"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "แนบสำเนาสมุด หรือ บัตรประจำตัวคนพิการ พร้อมรับรองสำเนาถูกต้อง ของคนพิการที่ทำงานในสถานประกอบการ, สำเนาสัญญาจ้าง และ สปส. ๑-๑o ส่วนที่ ๒ ที่ระบุชื่อคนพิการของเดือนที่รายงาน":"แนบสำเนาสมุด หรือ บัตรประจำตัวคนพิการ พร้อมรับรองสำเนาถูกต้อง ของคนพิการที่ทำงานในสถานประกอบการ, สำเนาสัญญาจ้าง และ สปส. ๑-๑o ส่วนที่ ๒ ที่ระบุชื่อคนพิการของเดือนที่รายงาน"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="102" y="14" width="51" height="15" key="textField-136"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Notes":"หมายเหตุ"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="246" y="47" width="328" height="35" key="textField-137"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "การกรอกข้อความเป็นเท็จมีความผิดตามประมวลกฏหมายอาญา":"การกรอกข้อความเป็นเท็จมีความผิดตามประมวลกฏหมายอาญา"]]></textFieldExpression> </textField> </band> </pageFooter> <summary> <band height="0" isSplitAllowed="true" > </band> </summary> </jasperReport>