Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColorgreen
borderWidth1
titleBGColor#ddffcc
borderStylesolid
titleDefinition

JasperReports Userview Menu  is a userview plugin that allows more complex reporting requirements through integration with JasperReports.เป็นปลั๊กอินของ Userview ที่อนุญาตให้มีข้อกำหนดการรายงานที่ซับซ้อนมากขึ้นผ่านการรวมเข้ากับ JasperReports

โดยใช้ข้อกำหนดของรายงาน JasperReports รายงานที่มีความซับซ้อนที่มีรูปแบบและกราฟที่ปรับแต่งเองสามารถสร้างขึ้นและดูได้โดยตรงภายในมุมมองที่มีการส่งออกไปยัง PDF และ ExcelBy using JasperReports report definitions, sophisticated reports with custom layouts and graphs can be generated and viewed directly within a userview, with optional export to PDF and Excel.

Info
titleWhat is JasperReports?

JasperReports

is one of the most popular open source reporting engines. It is written in Java to be cross-platform, and it is able to use data coming from any kind of data source and produce pixel-perfect documents that can be viewed, printed or exported in a variety of document formats including

เป็นหนึ่งในเครื่องมือโอเพนซอร์สที่นิยมมากที่สุด มันถูกเขียนใน Java ที่เป็นการข้ามแพลตฟอร์มและมันสามารถที่จะใช้ข้อมูลที่มาจากชนิดของแหล่งข้อมูลใดๆและการผลิตเอกสารที่สมบูรณ์แบบพิกเซลที่สามารถดูพิมพ์หรือส่งออกในความหลากหลายของรูปแบบเอกสารรวมทั้ง HTML, PDF, Excel, OpenOffice

and

และ Word

.

http://community.jaspersoft.com/project/jasperreports-library

Warning
titleNote

This feature is not meant to be a replacement for full-function reporting servers like คุณลักษณะนี้ไม่ได้หมายถึงการเปลี่ยนเซิร์ฟเวอร์รายงานแบบเต็มฟังก์ชันเช่น JasperReport Server  (http://community.jaspersoft.com/project/jasperreports-server). However, in many cases you do not need such advanced reporting features, and this plugin allows for easy embedding of sophisticated reports directly within a userview. อย่างไรก็ตามในหลายกรณีคุณไม่จำเป็นต้องมีคุณลักษณะการรายงานขั้นสูงและปลั๊กอินนี้ช่วยให้สามารถฝังรายงานที่ซับซ้อนได้โดยตรงภายในมุมมองผู้ใช้ (Userview)

Info
titleWhat is iReport Designer?

iReport is a powerful graphical design tool for report designers and power users to define reports for execution using the JasperReports engine.  เป็นเครื่องมือในการออกแบบที่มีประสิทธิภาพสำหรับนักออกแบบและผู้ใช้ที่มีอำนาจในการกำหนดรายงานสำหรับการดำเนินการโดยใช้โปรแกรม JasperReports

http://community.jaspersoft.com/project/ireport-designer  There are

มีเวอร์ชั่นของ community and และ enterprise versions for both สำหรับทั้ง JasperReports and และ iReport Designer , depending on your needs. ขึ้นอยู่กับความต้องการของคุณ

Panel
borderColorpurple
borderWidth1
titleBGColor#ddccff
borderStylesolid
titlePerformance

คุณสามารถกำหนดค่าการตั้งค่าประสิทธิภาพใน Userview Element นี้เพื่อแคชเนื้อหาที่มีอยู่เพื่อปรับปรุงประสิทธิภาพและความเร็วในการโหลด

อ่านเพิ่มเติมที่ 

You can configure the Performance settings in this Userview Element to cache existing content for improved performance and loading speed.

Read more at Performance Improvement with Userview Caching.


Figure รูปที่ 1: Jasper Reports Properties

Name
ชื่อ
Description
คำอธิบาย
Custom ID

Item link slug.

Optional field.

 ฟิลด์ตัวเลือก

Info
titleUnique field

Value defined here must be unique to the rest of the Userview Menus as the first matching name will be called upon.

ตัวแปลที่กำหนดจะต้องไม่ซ้ำกันกับส่วนอื่นของ Userview เนื่องจากจะทำการเรียกใช้ซ้ำ

Labelชื่อเมนู ฟิลด์บังคับ
LabelMenu label. Mandatory field.
Default Output
  • HTML
Export Options
Enable export options at the bottom of the generated report.
เปิดใช้งานตัวเลือกการส่งออกที่ด้านล่างของรายงานที่สร้างขึ้น
Jasper Report Definition (JRXML)
Paste your
วางคำจำกัดความ JRXML
definition in
ใน XML
here.
Use virtualizer for large report?
If you are experiencing issue in generating of report, try checking this option.

...

ถ้าคุณประสบปัญหาในการสร้างรายงานให้ลองตรวจสอบตัวเลือกนี้


Figure รูปที่ 2: Jasper Reports Properties - Configure Datasource

Name
ชื่อ
Description
คำอธิบาย
Datasource
Default Datasource
  • แหล่งข้อมูลเริ่มต้น

  • Custom Datasource
  • If the default datasource is selected, the custom JDBC settings below will be ignored.

     

    Image Removed

    • แหล่งข้อมูลที่กำหนดเอง

      ถ้าเลือกแหล่งข้อมูลเริ่มต้นการตั้งค่า JDBC ที่กำหนดเองด้านล่างจะถูกละเว้น


    Image Added

    รูปที่ Figure 3: Jasper Reports Properties - Report Parameters

    Name
    ชื่อ
    Description
    คำอธิบาย
     Parameters

    If your Jasper Reports is expecting parameters, here's where you can map there.

    NameDescriptionNameJasper Reports parameter name.

    หากรายงาน Jasper ของคุณคาดหวังว่าพารามิเตอร์คุณสามารถแมปได้

    ชื่อคำอธิบาย
    Name

    ชื่อพารามิเตอร์ของแจสเปอร์รายงาน

    Code Block
    titleExample
    group

    Image Modified

    Image Modified

    Value
    Hardcoded value and Hash variable is accepted here.

    ค่าฮาร์ดดิสก์และตัวแปร Hash ถูกยอมรับที่นี่

    Code Block
    titleExample
    #requestParam.groupName#

    Image Modified

    ...


    Figure รูปที่ 4: Jasper Reports Properties - UI

    Name
    ชื่อ
    Description
    คำอธิบาย
    Custom Header
    Custom Header in

    ส่วนหัวที่กำหนดเองใน HTML

    .

    Custom Footer
    Custom Footer in HTML

     

     

    ...

    ส่วนท้ายแบบกำหนดเองใน HTML