• หน้าแรก
  • หลักสูตร
  • บทความ
  • ร้านค้า
  • ติดต่อเรา
    มีคำถามเกี่ยวกับ odoo ?
    (02) 4302475
    info@odoothaidev.com
    Login
    Odoothaidev - We are Odoo professional in Thailand
    • หน้าแรก
    • หลักสูตร
    • บทความ
    • ร้านค้า
    • ติดต่อเรา

      Jasper Server & Server

      • บ้าน
      • บล็อก
      • Jasper Server & Server
      • Jasper Report ในหลากหลายภาษา

      Jasper Report ในหลากหลายภาษา

      • โพสโดย admin
      • หมวดหมู่ Jasper Server & Server
      • วันที่ กรกฎาคม 27, 2019
      • ความคิดเห็น 0 ความคิดเห็น
      • แท็ก

      Jasper Reports คือ java class library ชุดหนึ่ง มีไว้สำหรับการสร้างเอกสาร โดยสามารถ export ออกเป็นเอกสารได้หลายแบบ เช่น PDF, HTML, XLS, CSV and XML เครื่องมือช่วยเขียน XML ใช้ส่วนใหญ่ก็จะมี iReport และ Jaspersoft Studio

      iReport คือ Tool ใช้ในการสร้างรายงาน Report ในรูปแบบต่าง ๆ ที่ต้องการ เช่นเดียวกับ Report ดัง ๆ อย่าง Crystal Report เพียงแต่ iReport ถูกพัฒนาโดยใช้ Engine ของภาษา Java มีสภาพแวดล้อมที่เกิดจากการ design ในแบบของ Netbeans (netbeans-based)

      ส่วน Jaspersoft Studio จะมีสภาพแวดล้อมที่เกิดจากการ design ในแบบของ Eclipse (eclipse-based) และยังถูกพัฒนามาอย่างต่อเนื่อง มีความสามารถในการทำงานกับรายงานได้มากกว่า iReport

      เดิมการทำ Jasper Report ในกรณีที่มีมากกว่า 1 ภาษา จะทำการสร้างไฟล์ JRXML ของแต่ละภาษาแยกออกไป แต่ในกรณีนี้จะใช้ไฟล์ JRXML เพียง 1 ไฟล์เท่านั้น

      เริ่มแรกทำสร้างไฟล์ properties โดยรูปแบบชื่อไฟล์จะเป็น <FileName>_<suffix>.properties ตัวอย่างเช่น

      test.properties

      test_th.properties

      โดยในไฟล์ properties สามารถสร้างกลุ่มแสดงเพื่อใช้ไฟล์ properties สำหรับไฟล์ jrxml อื่นๆ ด้วย

      ไฟล์ test.properties จะ default เป็นภาษาอังกฤษ

      ไฟล์ test_th.properties ถ้าเป็นภาษาอื่นก็จะกำหนด <suffix> ของไฟล์ properties ของแต่ละภาษา ในตัวอย่างนี้จะใช้ภาษาไทยแสดงตัวอย่างใบพิมพ์

      ทำการสร้างไฟล์ jrxml และกำหนด Resource Bundle ระบุชื่อไฟล์ properties หลัก และเพิ่ม Text Field โดยใช้ syntax เป็น $R{} เช่น $R{pname} หรือ $R{appoint.pname}

      การใช้ syntax เป็น $R{}

      การกำหนด Resource Bundle

      หลังจากนั้นทำ Preview โดยในโปรแกรม Jaspersoft Studio สามารถระบุ Parameter ของไฟล์รายงาน และ Parameter ของตัวโปรแกรมเช่น Locale และ Time Zone

      ตัวอย่างรายงานที่ทำการ Preview ในกรณีที่เลือก Locale เป็น default หรือ English(en_US)

      และเลือก Locale เป็น Thailand (th)

      สามารถดูรายละเอียดเพิ่มเติมและดาวน์โหลด Jaspersoft Studio ได้จาก http://community.jaspersoft.com/wiki/jaspersoft-studio-features

      https://medium.com/open-source-technology/jasper-report-%E0%B9%83%E0%B8%99%E0%B8%AB%E0%B8%A5%E0%B8%B2%E0%B8%81%E0%B8%AB%E0%B8%A5%E0%B8%B2%E0%B8%A2%E0%B8%A0%E0%B8%B2%E0%B8%A9%E0%B8%B2-c57a5acf3f56

      • Share:
      อวตารของผู้เขียน
      admin

      โพสต์ก่อนหน้า

      ใช้ jasper reports ออกรายงานเป็นไฟล์ pdf
      กรกฎาคม 27, 2019

      โพสต์ถัดไป

      JasperServer User's Guide Version 3.7
      กรกฎาคม 29, 2019

      คุณอาจชอบ

      How to add report datasource in ireport designer
      9 กันยายน, 2019

      This article is related to jasper report …

      How to create a report in jasper ireport
      9 กันยายน, 2019

      In this article I will show you how to c …

      How to add serial number in jasper ireport
      9 กันยายน, 2019

      In this article you will learn how to di …

      ทิ้งคำตอบไว้

      อีเมลของคุณจะไม่แสดงให้คนอื่นเห็น ช่องข้อมูลจำเป็นถูกทำเครื่องหมาย *

      ค้นหาบทความ

      หมวดหมู่

      หมวดหมู่

      • Accounting
      • Adobe XD
      • API
      • Blog
      • Business
      • Buttons
      • CRM
      • Custom Fields
      • Design / Branding
      • Django
      • Ecommerce
      • ERP
      • ERP Flow
      • Express
      • Flectra
      • Form View
      • Frontend
      • Github
      • Github
      • Grant Chart
      • Header
      • iReport
      • Jasper Server & Server
      • Jaspersoft Studio
      • Java
      • JSON-RPC
      • Lazada
      • Linux
      • MLM
      • MRP
      • Nignx Proxy
      • NodeJS
      • Odoo 10
      • Odoo 12 Module
      • Odoo 13
      • Odoo 14 Development
      • Odoo 16
      • Odoo 8
      • Odoo 9
      • Odoo API
      • Odoo Certification
      • Odoo Developer
      • Odoo Ebook
      • Odoo Enterprise
      • Odoo ERP
      • Odoo Event
      • Odoo Implement
      • Odoo Inventory
      • Odoo Report
      • Odoo V15
      • Open Source
      • Open-office
      • OpenERP 7.0
      • PhantomJS
      • Postgres SQL
      • Programming Language
      • Project Management
      • Python
      • Python3
      • Qweb
      • Reporting ระบบรายงาน
      • RML Report
      • Search View and Filters
      • Social Network
      • Statusbar
      • Ubuntu
      • Uncategorized
      • Voip & Call Center
      • Warehouse Management
      • WMS
      • Woocommerce
      • Workflow
      • XML-RPC
      • การ Implement
      • การเก็บข้อมูล Pre-Requirement
      • การเตรียมตัวเพื่อใช้งาน erp
      • ความรู้ด้านการตลาด CRM
      • ธีมเว็บไซต์ Odoo
      • ธุรกิจบริการ
      • ธุรกิจประเภทจัดอบรมสัมมนา
      • ธุรกิจสิ่งพิมพ์
      • นักพัฒนา
      • ประเภทธุรกิจที่เหมาะกับ Odoo
      • ระบบบัญชี
      • ระบบเคลม
      • ลิขสิทธิ์ – License
      Introduction LearnPress – LMS plugin

      Introduction LearnPress – LMS plugin

      Free
      From Zero to Hero with Nodejs

      From Zero to Hero with Nodejs

      Free
      Learn Python – Interactive Python

      Learn Python – Interactive Python

      $69.00

      บทความล่าสุด

      V16 Planned Date of Tasks are invisible.
      12ก.พ.2023
      Odoo Implement Methodology
      29พ.ย.2022
      Odoo Enterprise Subscription Agreement
      29พ.ย.2022
      (02) 430-2475
      info@odoothaidev.com
      Facebook Twitter Google-plus Pinterest

      Odoothaidev by OdooTeaM.

      • Privacy
      • Terms
      • Sitemap
      • Purchase

      เข้าสู่ระบบด้วยบัญชีเว็บไซต์ของคุณ

      ลืมรหัสผ่าน?

      Click to Copy