JasperReports HTML missing objects - jasper-reports

I have a jrxml file which is displayed properly when previewed in PDF, but the same file doesn't display correctly when previewed in HTML.
Overlapped objects are not displayed. The alignment and formatting also changes.

You cannot display overlapped item in HTML, in Jasper Server at least. There is a similar problem in excel if you have overlapping columns etc.
The best solution all round is not to have overlapping items.

Related

How to remove additional white space in between reports data Jasper HTML view only?

I am facing an issue in JasperReports HTML view. While generating the HTML view, it is showing an additional white space in between reports data (see the screenshot bellow). Actually, that extra white space is the report's footer (eg:- pdf page footer), and I don't want to show this footer in my HTML view. So, I have hidden the footer part altogether.
Is it possible to remove this white space only from the HTML view?
This issue is solved . When I set the parameter ignore pagination to true on REST API for HTML side only.

SSRS output to Word formatting issue

I have a 2008 SSRS Report that is being export to as MS Word doc using the standard Export functionality provided by the SSRS tool. Even though the data on the report is textual in nature and resides in text boxes, the Export is rendering the text using tables. This formatting is too cumbersome for the users. Is ther a way to adjust how an MS Word is rendered using the SSRS Export functionality
The regular export can be pretty ugly. OfficeWriter has export functionality that can be a bit prettier. If you need a ton of control over the style of the resulting word documents you should take a look at it.
DISCLAIMER: I'm one of the engineers who built the latest version.
Is ther a way to adjust how an MS Word is rendered using the SSRS Export functionality?
No
MS word and SSRS are like the long lost friends still trying to figure out things on rendering. One way I dealt with this problem is to make sure there is a master tablix and the rows are filled with the tablix calls the information to be displayed and aligned. If there is any sort of information to be displayed together place a different tablix and try to avoid using the row visibility which have heavy chance to leave empty space when rendered to word.
And there are chances of the header and footer to be truncated. To solve this place a text box above the entire header and below the footer make sure the textbox font color is white to hide the textbox.

How to control the HTML produced output in jasper reports version 4.1.2?

Is there a way to control the HTML produced output in jasperreports version 4.1.2?
This is what I mean:
When you view a jasper report in html format there is a lot of formatting that takes place to mimic the pdf view in an html page format (Lots of tables within tables).I wanted to see If I could customize the html view to whatever I want. Say for example that all I am returning is a chart or a table. How can I make it so that it returns just the HTML essence related to that only?
Thanks,
- Dario

Crystal Reports - HTML in textfields - Background color

I want to use HTML in Crystal Reports. I already found out Crystal reports renders some HTML tags nicely (at least the few tags they support).
Html like this works:
<b>Bold and <i>italic</i> and <font color="#ff0000">colored</font> text.</b>
Now I want to render a background color for my text (which is a pretty common kind of rich text formatting), and I remember I have Crystal already seen renderering it, but I cannot remember the HTML to tell crystal. I believe it could be done with the style attribute, but using style="background-color:#ff0000" is not recognized.
How can I tell Crystal to give me some background color? Or doesn't this work anymore since CR 2008?
EDIT:
I want to use a HTML string displayed in a normal text control with the "text interpretation" attribute set to HTML. And my HTML simply does not work! I just need one example HTML line that make Crystal Report (2008 here) display a different background color for a word, and all my tries that work well in browsers, are not understood by Crystal.
I know how to set bold, the foreground color, different font sizes, underlined, etc., but I just do not get the background color to work. So the answer to this question is simply a simple String of HTML.
This simply does not work. Stupid Crystal... we are migrating to Jasper Reports right now. For this and a bag of other reasons. Everyone in my company is hating Crystal Reports now.

The generated report in DOCX format has invalid margins

I'm using JasperReports to generate a word (docx) document but I have a problem when I want to try to print the doc. The exporter messes up the margins of the page. Does anyone know how to prevent that from happening.
I know how to set the margin in iReport, but it just makes the data generate further from the page borders, but the margins in word which can be adjusted at the top of the page is laying right at the edge.
Has anyone had this problem?
Are you able to specify the page size? Its possible that using this in combination with the margin settings will help the export problem.
If you are not too heavily invested in your Jasper solution, Docmosis and JODReports let you layout the document visually using Word or Writer then render the report in various formats. This may save you time in the long run, but all reporting systems have quirks. Hope you find a solution, especially when your output is not PDF.