-
Posts
5,346 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by Teodor Danciu
-
-
Hi,
Ok, so can you now please explain what were you trying to do and it did not work as expected? Maybe we can help you.
Thanks,
Teodor -
Hi,
I'm afraid there is little we can do about this as we fully rely on Batik to render the SVG for us. We are using the latest Batik available (1.7), so there is nothing to upgrade to at this moment.
Also, the problem seems to be related to SVG 1.2 specs, which I think failed to become standard as explained here:
http://en.wikipedia.org/wiki/Svg#Development_history
So I guess the only solution is to try alter the SVG using your editing tool and produce a Batik acceptable format.
Thanks,
Teodor
-
Hi,
If you use a static text element, you don't need to use the quotes and you need to type-in the unicode character without escaped sequence. You could obtain the character from a Character Map application that is found among accessories on most operatin systems.
But I suggest you actually use a text field element instead of a static text, because text fields have expressions and there you could escape your character like this:
"uE00A"
Note that I used quotes because my expression is of type String and I type in a hardcoded Java string expression with the unicode characted escaped inside.
Check the /demo/samples/unicode sample shipped with JR:
http://jasperreports.sourceforge.net/sample.reference/unicode/index.html#unicode
I also encourage you to download the recently released JR 5.5.0, because it introduces support for Web Fonts. Basically, when you make your font extension, you could provide EOT, WOFF and SVG files, in addition to the TTF and thus your fonts could be delivered to the browser and would not have to be installed in advance on the client machines.
JR 5.5.0 comes with a built-in web font extension for the sort and filter icons of the interactive tables and crosstabs and is found in the net.sf.jasperreports.fonts package.
I hope this helps.
Teodor -
Hi,
No, unfortunately, there is no way to put a scrollable area inside a report today.
We might do such thing at some point, but it would probably be for HTML output. Having it work the same way across all the export formats we support in JR would be very challenging. Not sure if such thing is possible in PDF format. Have not checked yet.
We could consider this as a feature request if you log it on the trackers section of this website and give enough details about how you expect it to work.
Thanks,
Teodor
-
Hi,
Is this a report you made with iReport or JSS? Or is it an adhoc report made in the Web UI?
Thanks,
Teodor
-
Hi,
Can we see the image tag in your JRXML? Do you set it isLazy=true when the image expression points to "repo:"?
Thanks,
Teodor -
Hi,
The stack trace must be a little longer and the message should also tell the name of the field/property it does not find.
Can we see the complete stack trace of the exception?
Thanks,
Teodor -
Hi,
May I ask why do you use a subreport for the last 7 columns? Is it because they can change based on some parameters?
If so, maybe a table component in which columns have <printWhenExpression> would work better.
I hope this helps.
Teodor -
Hi,
It all depends on what you actually want to do with the total number of pages. You can get that value only inside text field expression, because in JR, this is a feature of text field elements.
We call this "late fill" capability and is controlled using the evaluationTime property of text field elements.
So if you want to leverage the total number of pages to conditionally display some values in page footer, that should be OK.
But if you want to use it in variables calculations and things that have the potential of changing the total page number itself, that is not possible.
Imagine you use the total number of pages to display or not a subreport. Well, if that would be possible (is not) it means the the appearence of the subreport could affect the already calculated page total, which does not make sense.
II hope this helps.
Teodor -
Hi,
I'm afraid there is no easy solution for this, if any.
This is how the engine works by design.
We need to calculate/increment the variables before we try to render the band, because some of the variables might even appear in the current band and ned to reflect the current values. By the time we see the band will stecth and overflow onto a new page it is too late to revert the variables back. It would be too complicated.
Some tricks can be made using dummy text fields with evaluationTime=Band that would call some utility methods in their expression just to mark the fact that the band has been rendered entierly and thus capture the true record count of the page. But I have not tried it myself and would take some time to put it together as an example.
Thanks,
Teodor -
Hi,
Instead of using two text fields, one with evaluationTime=Now and the other with evaluationTime=Report, you could use only one text field with evaluationTime=Auto.
In order for this to work, you need to use in your expression two variables that have different resetType levels.
The build-in PAGE_NUMBER variable is good for the total number of pages. But for the current page number, you need a custom made variable, let's call it CRT_PAGE_NUMBER, which has calculation=Nothing and resetType=Page, which copies the value of the PAGE_NUMBER variable in its expression.
I hope this helps.
Teodor -
Hi,
I'm not sure how you want this to work. You mention you don't want to change the page size, but still want to see everything, including the columns that do not fit your report page width.
Thanks,
Teodor
-
Hi,
It is possible. I would probably use a subreport for the content of the bill and put the subreport twice in my detail so that the two subreport element run side by side. The differences between original and copy I would conditionally render or use subreport parameters.
I hope this helps.
Teodor -
Hi,
Can you write the forumla you are looking for using some mathematical notations?
It's not clear to me what do you want to subtract from what.
Are you looking for the sum of field values divided by 1.21?
Something like:
SUB_TOTAL = SUM(p_value / 1.21)
Thanks,
Teodor -
Hi,
When you say it does not appear correctly, you are referring to which report output format?
Is it the iR Swing viewer or HTML or PDF or else?
Thanks,
Teodor -
Hi,
Can you tell us what version of JR or iR are you using? Not sure what STS 3.2.0 is.
Thanks,
Teodor -
I still don't understand what exactly prevents you from using the same resource bundle file for all your reports by poiting to the same resource bundle using the resourceBundle property of the report template. Please give more details about what exactly you want to reuse across all your reports because I simply don't get it from the two rows of text you've provided so far.
-
Hi,
Just to point out that latest JR Library releases introduce support for functions. If you put in the classpath, the JR produced by the /demo/samples/functions sample in the JR project distro, you could use an expression such as:
<textFieldExpression>TODAY()</textFieldExpression>
More details about built-in functions and the way you could create your own custom functions for JR, can be found here:http://jasperreports.sourceforge.net/sample.reference/functions/index.html#functions
I hope this helps.
Teodor -
Hi,
Can you show us a picture of the chart you are trying to produce?
Thank you,
Teodor -
Hi,
I would first try to understand why the export is taking so long, or whether most of the time is spent in filling the report, not exporting.
Are you using the DOCX exporter of JR Library?
Do you give enough memory to your application? In case you don't have sufficient memory, a lot of time is spent by the JVM garbage collecting things to free up space.
What version of our products are you using?
Thank you,
Teodor
-
Hi,
Are you looking for a way to display the current date time in your report? Do you really need that as a value in a table column or you actually display it as a single value in your report somewhere?
Thanks,
Teodor -
Hi,
Can you give more details about what you want to achieve? Do you mean you have a parameter that exists in all your reports and you want it to have a default value coming from a resource bundle?
Are you looking for a way to ensure all reports have a parameter already pre-defined in them?
Thanks,
Teodor -
Hi,
Can you attach here the resulting HTML output that gets loaded in your browser? Do you see any error on the browser's Javascript console?
Thank you,
Teodor
-
Hi,
Have you tried the /demo/samples/unicode sample shipped with the JR project package?
I hope this helps.
Teodor
Specifying encoding in Jasperreports source pom.xml file
in Products
Posted
Hi,
I have now updated the pom.xml file both on trunk and on the jr-5-5-1-x branch, both containing work in progress.
Thank you,
Teodor