[jasperreports-questions] avoid extra blank space in reports...

2008-09-17 Thread BalaKishore Pamarti
Hello:
 
I created a jasperreport with a subreport embedded beneath every row in the 
main report. Everything works fine but there is an extra white space beneath 
every row in the main report when there is no data in the subreport.
 
And also in other reports I noticed that there is extra space left unfilled in 
the detail section eventhough there is space to fit in couple of rows of data.
 
I am sure there has to be some setting to eliminate this whitespace ... can 
anyone shed some light on this...
 
Thanks a lot!


Peace is found not in what surrounds us, but in what we hold within.


  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Fw: problem with printWhenExpression

2008-09-25 Thread BalaKishore Pamarti
Thanks Sitaram...it works like a charm!
 
I just found that we can also get this accomplished using conditionalStyles...
 
thanks,
BalaKishore

 

Peace is found not in what surrounds us, but in what we hold within.

--- On Wed, 9/24/08, Sitaraman Trikkumadom Balaraman [EMAIL PROTECTED] wrote:

From: Sitaraman Trikkumadom Balaraman [EMAIL PROTECTED]
Subject: RE: [jasperreports-questions] Fw: problem with printWhenExpression
To: Sitaraman Trikkumadom Balaraman [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Date: Wednesday, September 24, 2008, 7:14 PM



I am just rephrasing the last step.


After you are done iwth the two text fields, Place the first text field exactly 
above the second text field.

Let me know if this was of any help

Regards
Sitaram


-Original Message-
From: Sitaraman Trikkumadom Balaraman
Sent: Thu 9/25/2008 4:42 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [jasperreports-questions] Fw: problem with printWhenExpression

Hi Balakishore,

I am not sure whether this would work..Please try the below steps

 Lets say you have the column 3 as the field that needs to be printed as blue 
bold when the condition is true or else printed as normal black font

 a) Create two new TextField that displays the column3 value.

 b) for the first textfield include the necessary expression to display it as 
blue bold (Follow the same step that you had done previously)
 c) For the second textfield, dont include the condition, but make sure it is 
normal black font

 d) place both textfields one after another (Superimpose it in the report)

Try running the report now and see if it works.

If you dont mind could you let me know if it worked for you or not? I am just 
curious

Thanks a lot
Regards
Sitaram





-Original Message-
From: BalaKishore Pamarti [mailto:[EMAIL PROTECTED]
Sent: Thu 9/25/2008 4:10 AM
To: jasperreports-questions@lists.sourceforge.net
Subject: [jasperreports-questions] Fw: problem with printWhenExpression

Hi Group:
 
I have created a report where I want one of the columns (say col3) to be 
printed in a blue bold font when certain condition is satisfied else I want 
them to be printed in normal black font.  
 
I have included the following expression in the printWhenExpression tag in 
the reportElement tag
 
new Boolean(!($F{col1}.equalsIgnoreCase(N/A))  
!($F{col2}.equalsIgnoreCase(N/A)))
 
When I run the report only those values which qualify for the above expression 
are printed and the rest are not printed in the report and left blank
 
Am I missing something here?
 
Regards,
BalaKishore




Peace is found not in what surrounds us, but in what we hold within.

--- On Fri, 9/19/08, jamshaid ashraf [EMAIL PROTECTED] wrote:

From: jamshaid ashraf [EMAIL PROTECTED]
Subject: Re: [jasperreports-questions] avoid extra blank space in reports...
To: [EMAIL PROTECTED]
Date: Friday, September 19, 2008, 8:58 AM






Hi,

Check the remove line when empty option , i think this will work.

cheers.
jimmy

--- On Wed, 17/9/08, BalaKishore Pamarti [EMAIL PROTECTED] wrote:

From: BalaKishore Pamarti [EMAIL PROTECTED]
Subject: [jasperreports-questions] avoid extra blank space in reports...
To: jasperreports-questions@lists.sourceforge.net
Date: Wednesday, 17 September, 2008, 6:50 PM







Hello:
 
I created a jasperreport with a subreport embedded beneath every row in the 
main report. Everything works fine but there is an extra white space beneath 
every row in the main report when there is no data in the subreport.
 
And also in other reports I noticed that there is extra space left unfilled in 
the detail section eventhough there is space to fit in couple of rows of data.
 
I am sure there has to be some setting to eliminate this whitespace ... can 
anyone shed some light on this...
 
Thanks a lot!


Peace is found not in what surrounds us, but in what we hold within.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



Unlimited freedom, unlimited storage. Get it now


 





  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports

Re: [jasperreports-questions] Extra white space when detail section overflows...

2008-09-25 Thread BalaKishore Pamarti
Hi Group:
 
In my report whenever the detail section overflows to the next page there's an 
extra white space left at the bottom (where a couple of rows of data easily 
fits)
 
Does any of you guys know how to eliminate this space.
 
Thanks,
Pamarti



Peace is found not in what surrounds us, but in what we hold within.


  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] sub reports auto compile

2008-09-26 Thread BalaKishore Pamarti
Just try --
 
JasperCompileManager.compileReportToFile(request.getSession().getServletContext().getRealPath(/jasperreports/
 + fileName + .jrxml)); 
 
 
Pamarti




Peace is found not in what surrounds us, but in what we hold within.

--- On Fri, 9/26/08, Philippe Couas [EMAIL PROTECTED] wrote:

From: Philippe Couas [EMAIL PROTECTED]
Subject: [jasperreports-questions] sub reports auto compile
To: jasperreports-questions@lists.sourceforge.net
Date: Friday, September 26, 2008, 12:57 AM




Hi,
 
I have an main report with many sub reports.
Into my directory i have jrxml file , How could i found sub report name and 
directory from main report ?
I have tried following code, but that's not allawys true.
 

String fileName=c:\\prj_java\\TestAgarder\\jasperxml01\\CustomersReport.jrxml;
 JasperCompileManager.compileReportToFile(fileName); 
 JasperReport  jasperReport = 
JasperCompileManager.compileReport(fileName); 
 
 JRBand jb = jasperReport.getDetail();
  // jb children Expression
  java.util.List jl=jb.getChildren();
 JRBaseSubreport  jsr=(JRBaseSubreport)jl.get(3);
 JRExpression jre=jsr.getExpression();
 JRExpressionChunk[] jch=jre.getChunks();
 String fichierjasper=jch[0].getText();
 
 
Regards
Philippe-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] sub reports auto compile

2008-10-04 Thread BalaKishore Pamarti
Regarding the subreports what I do is compile them individually and standalone 
reports and place the .jasper files along with the main report .jasper file and 
pass the parameter SUBREPORT_DIR to the main report
 
In the subreportExpression tag you use this.
 
Hope this helps.
 
thanks,
Pamarti



Peace is found not in what surrounds us, but in what we hold within.

--- On Fri, 9/26/08, Philippe Couas [EMAIL PROTECTED] wrote:

From: Philippe Couas [EMAIL PROTECTED]
Subject: Re: [jasperreports-questions] sub reports auto compile
To: jasperreports-questions@lists.sourceforge.net
Date: Friday, September 26, 2008, 10:23 AM



Hi,
If my CustomersReport.jrxml contains two sub reports they are compiled too ?
 
Regards
Philippe



De : BalaKishore Pamarti [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 26 septembre 2008 16:16
À : jasperreports-questions@lists.sourceforge.net; Philippe Couas
Objet : Re: [jasperreports-questions] sub reports auto compile







Just try --
 
JasperCompileManager.compileReportToFile(request.getSession().getServletContext().getRealPath(/jasperreports/
 + fileName + .jrxml)); 
 
 
Pamarti




Peace is found not in what surrounds us, but in what we hold within.

--- On Fri, 9/26/08, Philippe Couas [EMAIL PROTECTED] wrote:

From: Philippe Couas [EMAIL PROTECTED]
Subject: [jasperreports-questions] sub reports auto compile
To: jasperreports-questions@lists.sourceforge.net
Date: Friday, September 26, 2008, 12:57 AM




Hi,
 
I have an main report with many sub reports.
Into my directory i have jrxml file , How could i found sub report name and 
directory from main report ?
I have tried following code, but that's not allawys true.
 

String fileName=c:\\prj_java\\TestAgarder\\jasperxml01\\CustomersReport.jrxml;
 JasperCompileManager.compileReportToFile(fileName); 
 JasperReport  jasperReport = 
JasperCompileManager.compileReport(fileName); 
 
 JRBand jb = jasperReport.getDetail();
  // jb children Expression
  java.util.List jl=jb.getChildren();
 JRBaseSubreport  jsr=(JRBaseSubreport)jl.get(3);
 JRExpression jre=jsr.getExpression();
 JRExpressionChunk[] jch=jre.getChunks();
 String fichierjasper=jch[0].getText();
 
 
Regards
Philippe-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions

-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Run jasper reports on automated schedule

2008-10-08 Thread BalaKishore Pamarti
You pull the data using a stored procedure and get the List of data with Beans 
and feed that into the JasperReports engine and have it create a report file 
(say pdf) with a datatime stamp in some folder.
 
Now you can set this java program as a simple scheduled job in linux to run at 
specified intervals.
 
Hope this helps!



Peace is found not in what surrounds us, but in what we hold within.

--- On Wed, 10/8/08, mrbelvedr [EMAIL PROTECTED] wrote:

From: mrbelvedr [EMAIL PROTECTED]
Subject: [jasperreports-questions] Run jasper reports on automated schedule
To: jasperreports-questions@lists.sourceforge.net
Date: Wednesday, October 8, 2008, 12:26 AM

We are running Jasper Reports (it is integrated into another product named
Hyperic HQ Server). We have created 30 Jasper reports and we run them via
the web interface.

We need to somehow automate these reports so they run on a scheduled basis
with several report arguments (datestarted, dateend, etc).

We are not sure if we need to upgrade to a higher level of Jasper Reports.
Or maybe there is a backend way to run the reports automatically form linux
command line.

Can somebody please tell us how to do this? We will pay to have this work
done. 
-- 
View this message in context:
http://www.nabble.com/Run-jasper-reports-on-automated-schedule-tp19872097p19872097.html
Sent from the jasperreports-questions mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions