doublep
-
Posts
22 -
Joined
-
Last visited
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 doublep
-
-
Is it possible to find if the given record is the last one? I could probably compare $V{RECORD_COUNT} with something, but with what? Given that there is <sortField>, JR can re-sort input data on the fly, so it knows total number of records. But how do I find it?
-
I have an image element that is used to display user-uploaded images. I.e. I have no idea what the image would be like in advance. No matter how I try to scale the element, it looks ugly in some cases.
* If I use e.g. 200x200 and default scaling mode (retain shape), there is a lot of unused whitespace above and below landscape fotos, as they are downscaled to something like 200x130. Panorama fotos would be even worse.
* If I set dimensions to 200x1 and scaling mode to "real size", it becomes great for landscape. But then portrait fotos take too much space, as they are downscaled to e.g. 200x340 (way too high). If someone uploads a vertical comic strip, it will be even worse.
Is there a way to achieve something in between? I.e. so that there is no unused vertical space, yet images are limited in height?
Last record
in Products
Posted