Many times, applications need to support multiple report formats, say PDF and Excel. In such scenarios we may need to support runtime data formatting. This post discusses how to configure a global data format applicable to all report types and also provides a workaround to apply format only to a specific report type. Setup I […]
This post discusses how to configure Excel cell format during report generation using DynamicJasper. Let us consider the same XML we had used in earlier posts and try to generate a formatted Excel report. Note, i’m using salary data with fractions to demo the formatting better. And suppose we want to generate the below Excel. […]
This is essentially a repost of my answer on this stackoverflow thread, just to have everything collated in one place. While dealing with PDF reporting, it is a common requirement to have the company logo in report header. However in few cases we may also need to add a logo banner in footer band of […]
While building a project in Eclipse using Apache ANT we sometimes come across out-of-memory issue. A typical stack trace from such a scenario is shown below. The primary cause for this is that ANT is run as an external process by Eclipse and does not share Eclipse’s VM settings. The min, max heap space settings […]
This post provides a step by step procedure for PDF generation using the DynamicJasper library. If you have an understanding of XSL-FO, you must find it easier to relate to the concepts from the previous post, Step by step procedure for PDF generation using XSL-FO. However prior knowledge of XSL-FO is not mandatory to understand […]
This post provides a step by step procedure for PDF generation dynamically using XSL-FO transformation. For example consider the below XML, And suppose we want to generate below Employee Report in PDF format dynamically. This can be achieved in many different ways. One of the common approaches is to use JASPERReports Library. JASPER Reports can […]
While processing XML data using XSL Transformation, many times we come across the requirement to retrieve distinct values from a set of nodes. For example consider the below XML, Suppose we want to retrieve a list of distinct employee names, i.e., John, David, Susan. Using XSL 1.0 Unfortunately there is no straight forward way of […]
This post provides an introduction to the basics of multithreading in TIBCO BusinessWorks with a simple example.