Jump to content
We've recently updated our Privacy Statement, available here ×

jewendt

Members
  • Posts

    3
  • 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

Everything posted by jewendt

  1. I am about to create several dynamic reports utilizing ireport but I am struggling with deciding on a standard for making dynamic fields. It seem like the most flexible way to do was to utilize the <style>...</style> tags inside of text expression editor setting things like font size, background color etc. This however seems to have limitations 1). Setting properties this way only sets them for the font itself not the entire text box. For example, setting the background color only changes the text background color it does not change the entire text box. 2). I cannot use this method to dynamically set things like frames and rectangles. The other option is Style Conditions. These work however when you want to change to dynamically change more than one attribute (for example font size and color) the number of combinations of style conditions required become excessive. In addition, the "code" now is distributed between the report itself and the java code calling it (to set the conditions). Is there something I am missing with either of these options or is there a third option that I am not even aware of?
  2. When I set the background color of a text box using edit expression functionality, it only sets the background color of the font itself, it does not set the whole text box rectangle to a different background color. How can I dynamically set the whole text box background color. Here is the expression I am using today that is only setting the font background color: "<style mode='Opaque' isBold='TRUE' pdfFontName='Helvetica-Bold' backcolor='red' size='10'>" + $F{moreText} + "</style>"
  3. Is there a way to programatically within ireport, set the backgound color of a Frame? I know that it can be done with style conditions but I looking for a way that it can by done similar to how a text tield can use <style>.....</style> type settings in the expression editor. Is there a similar type expression editor funciton for a frame object?
×
×
  • Create New...