JasperReport displaying - jasper-reports

I have the following structure in my JasperReports, the table consists of:
set of text fields (as table's headers)
list (as table's rows)
However, when I export the report as *.docx format, list elements shrink to the left (as displayed in the 2nd picture), but I don't understand why.
How can I align the headers and the list rows?
The full source code at github:dezmontx

Related

Dynamic rows in Crystal report letter template

I got a requirement like, in the text object letter template there is a table, and if no values rows should disappear, and below text needs to come upwards accordingly.
Is it possible?
[enter image description here][1]
If you feed the table rows from data records (detail section) or Group data (e.g. Group footer), that would happen automatically. No data = no section.
If you feed the table rows from some other logic, you can place each table row in a different section (e.g. GF1a, GF1b, ...) and use a suppress expression in the section property to dynamically suppress based on your logic.
Alternatively, there's at least one 3rd-party tool (see list here) that can feed data from a Crystal report into MS Word template document. That tool can indeed expand/remove table rows based on data in the report. The document can then be printed or saved as dynamically named Word or PDF files.

Crystal Reports adjusting page header column width

I have a SQL query resulting in about 20 columns. There is just the page header and the details section. Unfortunately the column descriptions (page header) are to big to be shown completely, therefore the width is smaller as it should be. Now I want the columns of the page header to be as big as necessary to show all the information.
When adjusting the column width manually and exporting the report to .xls the position of those descriptions do not match the columns of the detail section anymore.
I need the page header columns as wide as necessary and I need the detail section columns matching with the ph.
Solution: Adjust width of the report to the needed scale. To avoid doubled columns or rows in Excel just use "Export to Excel - data only"

Record headers on side of report page for column-wise reports

I'm making a report with "horizontal" records, so that data in each record displays in a single column, and columns are repeated across the length of the page, so the data comes out like this:
The fields really need labels at the left side of the page, however I can't see how to make a "header" at the side of the page. The original report in Excel has something like this:
While I got the colum-wise records working fine, I'm puzzled as to how I can make the rightmost column into a label/header area. It will need to repeat on each page as well. I'm using the "format with multiple columns" feature in Section Expert. I see no such "column" feature for the header sections and if I just insert a text object into the Details column to the left of the data, I get that text copied over to each record like this:
How can I make these "side" headers along the left/right side of the page in Crystal?

Excel sheet exported from ssrs. Pivot table and sorting functionality not working in sheet

msoffice2007. when report is exported from ssrs to excel sheet. the functions PIVOT Table and SORTING are not working, it is showing some error like:
""The PovitTable field name is not valid. To create a PovitTable report, you musr use data that is organized with labeled columns. If you are chanfing the name of a pivot table field you must type a new name for the field."" for PIVOT Table.
and ""The operation requires the merged cells to be identically sized."" for sorting
This is because your report isn't perfectly aligned and it cause different cells in the table to get merged, what you should do is to look for the cells whom didn't got merged (in the excel sheet) , check their size in the report builder and change the other cells to that size.
additional tip, make sure that your data (table in this case) is aligned to the top left of the screen.

How to avoid spaces between the data rows in report

I am using Jaspersoft Studio (JasperReports designer based on Eclipse) and I have defined four text fields representing four columns in a database table. But when I preview the report I have noted that each record will be displayed on a separate row (there will be a space between each row) which will look weird.
So how iIcan remove the spaces between the rows so that the table layout will be displayed normally?
Seems that i should re-size the margin so that no empty space should be under the fields..