Jump to content
Changes to the Jaspersoft community edition download ×

forhitesh

Members
  • Posts

    54
  • Joined

  • Last visited

forhitesh's Achievements

Enthusiast

Enthusiast (6/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Hi Teodor, I am starting this new thread as per discussion with you. I am putting a page break in summary band which appears on the last page if the number of pages are odd. This works perfectly fine and a blank page appears in the last if number of pages are odd. I am using below condition on print when expression: new Boolean(!( ($V{PAGE_NUMBER}.intValue())%2==0 )) This gets printed on last page because currently it has been put on summary band and summary band is printed in the last. Now, the client requirements have changed and client wants header and footer to be printed on this blank page. I want to put it in detail section so that my page header and page footer can also come on this blank page. I tried to put it on detail section but it does not work because it does not able to recognize the last page as it does in summary. I am using a dummy condition in summary to determine the last page : new Boolean($P{REPORT_PARAMETERS_MAP}.put("LastPageNumber",$V{PAGE_NUMBER}).equals("dummyPrintWhen")) Now, in detail I am putting the condition to determine the last page new Boolean ( $V{PAGE_NUMBER}.equals($P{REPORT_PARAMETERS_MAP}.get("LastPageNumber")) && (!( ($V{PAGE_NUMBER}.intValue())%2==0 )) ) This condition works perfectly fine if I put it in footer section but as per the requirements I want to put it in detail so that the page header and footer can be displayed on the blank page. This trick has been explained in the thread http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=46357 Please help.
  2. I completely agree with you and apologies for that. I am starting new thread for new problem of page break, please give your valuable inputs on new thead. Thanks for all your support on this thread.
  3. I am using version 2.0.5. Is the new line coming at your end? Are you fetching this data "Test Message\nafter the message" from a table or resource file?
  4. Thanks Teodor, I would surely like to have help from Jaspersoft support. Can you please tell me how much do they charge for the support because it is not mentioned on the website? I would request if you can tell me something coming to your mind which might lead to solve this problem so that I can do some self RnD. I need one help from you in this report, actually I am putting a page break in summary band which appears on the last page if the number of pages are odd. This works perfectly fine and a blank page appears. I want to put it in detail section so that my page header and page footer can also come on this blank page. I tried to put it on detail section but it does not work because it does not able to recognize the last page as it does in summary.
  5. I am printing $F{MESSAGE} in detail section which can have a newline character \n, but newline does not appear in this. Plesae refer to the attached jrxml. Data coming in query fiedl $F{MESSAGE} is : "Test Message\nafter the message". I am expecting the text to appear as: Test Message after the messgae
  6. Dear Teodor, Would appreciate your response. Please it's very urgent.
  7. I have maintained a text like "Test Message \nafter the message" in the database table and the same is fetched in the field in query and displayed. Underlining of the text is happening but new line is not appearing in the field element. But when I maintain the same text in resource file and displays it on report the new line appears perfectly. I have set the property isStyledText="true". Please help me to get this resolved.
  8. Hi Teodor, It's humble request to you to reply on my query. I know that I have taken a lot of time and effort of yours for this thread. Actually, this is very urgent and important for our client delivery. I hope you can understand my problem. Please refer to the attached screenshot in which content from detail section are overidding the column footer. Thanks Hitesh
  9. Currently in jasper reports the content gets moved up if the contents placed above are not printing or blank(this is possible by making "remove line when blank","print blank when null", "position type as float"). I am trying to say that is the vice-versa is posible i.e. can the content in the report move down in case the contents below are not printed?
  10. I have a subreport in which three text fields are displayed. All have the property "position type" as Float and "remove line when blank" as true and "blank when null" is also true. Now when any of the text fields is null the fields below it gets moved to upwards. Is it possible that fields gets moved to downwards? Can the content move to downwards direction?
  11. I was trying your solution for controlling the detail band or some other content from above, does not print OVER the column footer on the first page, but it does not fulfill my requirement. Actually I have a master report in which many subreport are placed in the detail band and due to this the detail band spans on more than one pages. The query used in the master report returns only single record so the detail band is executed only once. I tried your solution but it does not fit in this architecture because my detail band does not end at first page and I want the control on first page only. I have attached the master report for your reference. Can you please tell me any other way to handle this?
  12. I understand your point that column footer is not mend for stretching. I have manged to put subreport on column footer because I stretched the subreport upto the maximum size it can expand. I managed to release the space on subsequent pages by using the solution provided in the thread "http://jasperforge.org/plugins/espforum/view.php?group_id=83&forumid=101&topicid=19573" I would like to say thanks for all your support and assistance. Due to lack of time I was not able to do self RnD much.
  13. Thanks Teodor, I managed to handle this by increasing the size of summary. Thanks for all your support.
×
×
  • Create New...