• Courses
    Introduction LearnPress – LMS plugin

    Introduction LearnPress – LMS plugin

    Free
    อ่านเพิ่มเติม
  • Features
    • Membership
    • Portfolio
    • About Us
    • FAQs
    • Sidebar Shop
    • 404 Page
  • Events
  • Gallery
  • Blog
  • Contact
  • Shop
    มีคำถามเกี่ยวกับ odoo ?
    (063) 5525296
    info@odoothaidev.com
    Login
    Odoothaidev - We are Odoo professional in ThailandOdoothaidev - We are Odoo professional in Thailand
    • Courses
      Introduction LearnPress – LMS plugin

      Introduction LearnPress – LMS plugin

      Free
      อ่านเพิ่มเติม
    • Features
      • Membership
      • Portfolio
      • About Us
      • FAQs
      • Sidebar Shop
      • 404 Page
    • Events
    • Gallery
    • Blog
    • Contact
    • Shop

      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

      • แบ่งปัน:
      อวตารของผู้แต่ง
      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 …

      ทิ้งคำตอบไว้ ยกเลิกการตอบ

      อีเมลของคุณจะไม่แสดงให้คนอื่นเห็น

      Search

      หมวดหมู่

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

      หลักสูตรล่าสุด

      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
      (00) 123 456 789
      hello@eduma.com
      Facebook
      Twitter
      Google-plus
      Pinterest

      Education WordPress Theme by ThimPress. Powered by WordPress.

      • Privacy
      • Terms
      • Sitemap
      • Purchase

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

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