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

shehab.nearat

Members
  • Posts

    4
  • Joined

  • Last visited

shehab.nearat's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I have a logo image in my Page Header and while the other text and stuff are shown on every page as is the expected behavior of elements in a Page Header, the image is only shown on the first page? I am hardcoding the bytes in my jrxml and assigning to a variable, meaning I am not passing in the input stream in my application. Then I am referencing that variable to create the image. This is my jrxml concerning the image (I havent added the actual bytes for privacy purposes) <variable name="logo" class="java.lang.String"> <initialValueExpression><![CDATA["goAAAANSUhEUgAAACoAAblahblah"]]></initialValueExpression></variable><image scaleImage="RetainShape" isUsingCache="true" onErrorType="Icon"> <reportElement positionType="Float" x="0" y="2" width="60" height="59" uuid="7df72a07-61b7-40e3-bd8a-680c425d003d"/> <imageExpression><![CDATA[new java.io.ByteArrayInputStream(org.apache.commons.codec.binary.Base64.decodeBase64($V{logo}.getBytes()))]]></imageExpression></image>
  2. I tried a few things,so i already have a footer that i am using so i tried adding a frame at the very beginning and setting the top border, while this does create a line it is not connected to the sides i think some default spacing between the detail section and footer section is present. I also tried the group but that only displays the line on the last page i want it to be after the last detail on each page. I also tried column footer and i got the same issue with the footer, its closer to the detail side borders but still wont connect. I dont know how to remove the space in between since the footer is on the 0 y coordinate so i cant move it up further. I've attached the image depicting what using a footer looks like, similar to column footer.
  3. So i have a basic report with Column headers and then a detail band under. When i run it i get the headers and then the rows of all the detail bands with borders on the sides and the bottom. However, I need to remove the lines in between each detail band, and that was easy i can just adjust the border of each detail band to only have the sides. However then there is no closing line after the last detail band on each page, and I need to have it closed as if the detail bands are all in one box. Is there a way i can do this dynamically since I dont know how many detail bands will be created it depends on the query.
  4. I have a few textfields with parameters, so sometimes the parameters will be english sometimes french, so the length will be different. Im not sure how I can make sure for both english and french the words are never cut off, is this possible? For instance say this is my text field with english text (imagine width ends after how): Hello, how are you[/code] Then french (widths ends after c): Bonjour, ca va?[/code] This is kind of a simplified example of what im facing, how can i get it to dynamically stretch such that it shows Bonjour, cava?[/code] I have tried setting these properties: <property name="net.sf.jasperreports.text.truncate.at.char" value="false"/> <property name="net.sf.jasperreports.text.save.line.breaks" value="true"/>[/code] and setting stretch with overflow to true. If i try to hardcode the textfield size so that it works for english, it wont work for french and vice versa
×
×
  • Create New...