Re: [jasperreports-questions] Pdf report does not show japaneesec haracters

2006-09-20 Thread Kalpesh Chordia
Title: RE: [jasperreports-questions] Pdf report does not show japaneesecharacters





You may want to install the Japanese language pack for Adobe Acrobat.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 20, 2006 5:03 PM
To: JasperreportsQuestions (E-mail)
Subject: [jasperreports-questions] Pdf report does not show
japaneesecharacters



Hi all,


I have a report in PDF in our application. I use the pdf servlet to generate
the report in PDF.
I need this report in japaneese also. I have a resource property file
wherein I have the key values in unicode(converted from japaneese). However,
the report does not show anything in japaneese. it shows ?? in place of
the japaneese words. All the japaneese characters are shown properly in the
excel file. I also have the japaneese font set installed on my machine.


Please help, it's a very urgent problem & I am stuck for a long time now.
Thanks & Regards,
Meenakshi.


PS: All ideas & suggestions are welcome



The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus/trojan/worms/malicious code transmitted by this email.

www.mind-infotech.com 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Package names soon to be changed

2006-08-27 Thread Kalpesh Chordia
Title: RE: [jasperreports-questions] Package names soon to be changed





Hello Rao,


Thanks for the reply. 


Please See Below for my understandings and comments.


Pls advise.


Thanks,
Kalpesh


-Original Message-
From: Rao Peruri [mailto:[EMAIL PROTECTED]]
Sent: Saturday, August 26, 2006 5:45 AM
To: Kalpesh Chordia
Cc: jasperreports-questions@lists.sourceforge.net; Teodor Danciu
Subject: Re: [jasperreports-questions] Package names soon to be changed



Hi Kalpesh,


We were a vendor.  We handed over the code to the customer and didnt 
have to migrate to the new net.sf package structure.


Having said that jrprint files are essentially represented as 
net.sf.jasperreports.engine.JasperPrint  files.  The JasperPrint object 
has an empty constructor.  So I guess it should be possible to
a) include both the old and new jasper reports jar files in the class path
[Kalpesh] both the jars are in the classpath
b) open the old JRPRINT files using the old jasper jar file
[Kalpesh] Loaded old jrprint using old jar file
JasperPrint jasperPrint = (JasperPrint)JRLoader.loadObject(oldJRP);
c) construct the net.sfJasperPrint using the contents of the old 
JasperPrint
[Kalpesh] JRPrint is an empty constructor. How do I construct new JRPrint using old jrprint ?
net.sf.jasperreports.engine.JasperPrint newJRP = new net.sf.jasperreports.engine.JasperPrint();
d) Serialise the JasperPrint object to JRPRINT.
[Kalpesh] I have not understood this step.
Let me know if you need any further help on this matter.


Regards
Rao


Kalpesh Chordia wrote:
> Hello Rao,
>  
> How you had deled with the existing jrprint files with the new 
> packaging structure for converting jrprint to html etc.  We are in a 
> desperate need of it.
>  
> I hope you will help.
>  
> Regards,
> Kalpesh
>
> -Original Message-
> *From:* Rama Mohan Pacific Net [mailto:[EMAIL PROTECTED]]
> *Sent:* Sunday, May 23, 2004 4:05 PM
> *To:* jasperreports-questions@lists.sourceforge.net
> *Cc:* Teodor Danciu
> *Subject:* [jasperreports-questions] Package names soon to be changed
>
> Hi Teodor,
>  
> Our application uses some of the Jasper API.  Specifically for
> filling, converting JRPRINT to HTML,  printing, etc.  However, a
> move to change the root package name from dori to net.sf should be
> OK with us.
>  
> Best Regards
> Rao
>



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Package names soon to be changed

2006-08-25 Thread Kalpesh Chordia



Hello 
Rao, 
 
How 
you had deled with the existing jrprint files with the new packaging structure 
for converting jrprint to html etc.  We are in a desperate need of 
it.
 
I hope 
you will help.
 
Regards,
Kalpesh

  -Original Message-From: Rama Mohan Pacific Net 
  [mailto:[EMAIL PROTECTED]Sent: Sunday, May 23, 2004 4:05 
  PMTo: jasperreports-questions@lists.sourceforge.netCc: 
  Teodor DanciuSubject: [jasperreports-questions] Package names soon 
  to be changed
  Hi Teodor,
   
  Our application uses some of the Jasper 
  API.  Specifically for filling, converting JRPRINT to HTML,  
  printing, etc.  However, a move to change the root package name from dori 
  to net.sf should be OK with us.
   
  Best Regards
  Rao
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] jrprint created using JR 0.5.2 and used in JR 1.2.5

2006-08-25 Thread Kalpesh Chordia
Title: jrprint created using JR 0.5.2 and used in JR 1.2.5





Hi,


We are using JR 0.5.2. version and soon will be upgraded to the latest version 1.2.5.


In context to this, we want to provide the upgrade path to the existing reports created in the system.


My question is Can we use the existing JRPRINT objects created in earlier version of JR 0.5.2 for EXPORTING to HTML/ PDF/ EXCEL in the latest upgraded version ?

I tried to use them with latest JR.  


But, getting the clsssNotFound Error => dori.jasper. etc etc.


Please help other wise we will not be able to update our reporting tool to the latest version to use the new features.


Thanks,
Kalpesh



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Third Party JARs reqd for PDF and XLS Export

2006-07-27 Thread Kalpesh Chordia
Title: Third Party JARs reqd for PDF and XLS Export





Hi,


Can anybody please tell me exactly which third party JARS are required for PDF and XLS export out of all the jars present under  folder of JasperReports Project ?

Also, which all jars are required for FILLING task.


We want to club only those JARS out of the LIB folder for generating the reports in HTML, XLS, PDF and CSV format. 


Tasks included Compile, Fill, View, HTML, XLS, PDF, CSV and Print.


Thanks,
Kalpesh



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Background image not appearing in h tml &excel output

2006-07-20 Thread Kalpesh Chordia
Title: RE: [jasperreports-questions] Background image not appearing in html &excel output





If I am not wrong, images are not supported in excel and back ground image is not supported in html.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 20, 2006 7:25 PM
To: JasperreportsQuestions (E-mail)
Subject: [jasperreports-questions] Background image not appearing in
html &excel output



Hi all,


Can anybody help me in this.


I have a background image in my reports. The background is coming fine in
pdf but not in html & excel formats.


Please help me get the image in background for html & excel report too.


Thanks & Regards,
MS.



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] Multi page html report

2006-07-05 Thread Kalpesh Chordia
Title: RE: [jasperreports-questions] Multi page html report





Check demo\samples\webapp\jsp\viewer.jsp in which prev, next, first and last are implemented. If you have any internal link (within a report - from page 1 to say pang 5 etc), that will not work with pagination because in this pages gets exported to html at run-time, on the request of prev, next, first and last.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 05, 2006 5:57 PM
To: JasperreportsQuestions (E-mail)
Subject: [jasperreports-questions] Multi page html report



Hi all,



I would like to be able to split a report generated by JasperReports in a
few HTML pages with 'Next' and 'Previous' buttons.


Would anybody provide some help?


Thanks & Regards,
MS.



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] i18n - Resource Bundle

2006-06-22 Thread Kalpesh Chordia
Title: i18n - Resource Bundle



Hello 
Raffi,
 
One 
more Q. I hope you will respond to 
this positively.
 
We are 
trying to integrate i18n sample into our web based 
application.
 
i18n 
sample is kept under  folder where as properties files are kept 
under  folder which is there in the class 
path.
 
Without any error, sample is getting compiled, filled. BUT, it is NOT 
generating any pages. I think it is not able to read the locale specific 
properties file. 
 
I am 
trying all these using ANT utility in stand along 
application.
 
It 
would be great if we know how exactly Jasper Reads the Properties files specific 
to the locale passed.
 
Thanks,
Kalpesh
 

  -Original Message-From: S, Mohamed Raffi (Mohamed) 
  [mailto:[EMAIL PROTECTED]Sent: Thursday, June 22, 2006 8:00 
  PMTo: Kalpesh Chordia; 
  'jasperreports-questions@lists.sourceforge.net'Subject: RE: 
  [jasperreports-questions] i18n - Resource Bundle
  In 
  the  element of the jrxml file.
   
  Form 
  the samples of JasperReports:
     
  name="I18nReport"   columnCount="1"   
  printOrder="Vertical"   orientation="Portrait"   
  pageWidth="595"   pageHeight="842"   
  columnWidth="555"   columnSpacing="0"   
  leftMargin="20"   rightMargin="20"   
  topMargin="30"   bottomMargin="30"   
  whenNoDataType="NoPages"   
  isTitleNewPage="false"   
  isSummaryNewPage="false"   
  resourceBundle="catalog/i18n1">
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]On Behalf 
Of Kalpesh ChordiaSent: Thursday, June 22, 2006 7:59 
PMTo: 'S, Mohamed Raffi (Mohamed)'; 
'jasperreports-questions@lists.sourceforge.net'Subject: Re: 
[jasperreports-questions] i18n - Resource Bundle
THanks Raffi for the prompt and exact reply. 
 
Can you please elaborate more on...
 

If 
you place these files in a directory (say catalog) and place the root 
directory (which contains the catalog) in classpath,
then you need to mention as "catalog\propFileName", similar as the 
package name conventions.
     
Where do I need to mention above thing 
?

  -Original Message-From: S, Mohamed Raffi 
  (Mohamed) [mailto:[EMAIL PROTECTED]Sent: Thursday, June 22, 
  2006 7:53 PMTo: Kalpesh Chordia; 
  'jasperreports-questions@lists.sourceforge.net'Subject: RE: 
  [jasperreports-questions] i18n - Resource Bundle
  Hi Kalpesh,
  1) You can Localize your reports to the any language without any 
  modification in the report layout.
  2) Properties should be in classpath.
  3) Standard Java i18n conventions 
   
  i18n1.properties
  i18n1_de_DE.properties
  i18n1_fr_FR.properties
   
  If you place these files in a directory (say catalog) and place the 
  root directory (which contains the catalog) in 
  classpath,
  then you need to mention as "catalog\propFileName", simillar as the 
  package name conventions.
   
  And you can access the catalog values using $R{} convention or 
  str() function.
   
  Refer the samples in the jasperReports for more details. Location: 
  "jasperreports-X.X.X\demo\samples\i18n"
   
  Regards,
  Raffi
   
   
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]On 
Behalf Of Kalpesh ChordiaSent: Thursday, June 22, 2006 
7:43 PMTo: 
'jasperreports-questions@lists.sourceforge.net'Subject: 
[jasperreports-questions] i18n - Resource Bundle
Hi, 
We are trying to evaluate i18n sample 
provided with the latest version 1.2.3 
1. What is the importance of 
resourceBundle="i18n" in  ?
2. Where should the properties files be 
placed ? 
3. What are the naming conventions for these 
properties files ? 
Thanks, Kalpesh 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] i18n - Resource Bundle

2006-06-22 Thread Kalpesh Chordia
Title: i18n - Resource Bundle



THanks 
Raffi for the prompt and exact reply. 
 
Can 
you please elaborate more on...
 

If you 
place these files in a directory (say catalog) and place the root directory 
(which contains the catalog) in classpath,
then 
you need to mention as "catalog\propFileName", similar as the package name 
conventions.
 
Where do I need to mention above thing 
?

  -Original Message-From: S, Mohamed Raffi (Mohamed) 
  [mailto:[EMAIL PROTECTED]Sent: Thursday, June 22, 2006 7:53 
  PMTo: Kalpesh Chordia; 
  'jasperreports-questions@lists.sourceforge.net'Subject: RE: 
  [jasperreports-questions] i18n - Resource Bundle
  Hi 
  Kalpesh,
  1) 
  You can Localize your reports to the any language without any modification in 
  the report layout.
  2) 
  Properties should be in classpath.
  3) 
  Standard Java i18n conventions 
   
  i18n1.properties
  i18n1_de_DE.properties
  i18n1_fr_FR.properties
   
  If 
  you place these files in a directory (say catalog) and place the root 
  directory (which contains the catalog) in classpath,
  then 
  you need to mention as "catalog\propFileName", simillar as the package name 
  conventions.
   
  And 
  you can access the catalog values using $R{} convention or str() 
  function.
   
  Refer the samples in the jasperReports for more details. Location: 
  "jasperreports-X.X.X\demo\samples\i18n"
   
  Regards,
  Raffi
   
   
  
-Original Message-From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]On Behalf 
Of Kalpesh ChordiaSent: Thursday, June 22, 2006 7:43 
PMTo: 
'jasperreports-questions@lists.sourceforge.net'Subject: 
[jasperreports-questions] i18n - Resource Bundle
Hi, 
We are trying to evaluate i18n sample provided 
with the latest version 1.2.3 
1. What is the importance of 
resourceBundle="i18n" in  ?
2. Where should the properties files be placed 
? 
3. What are the naming conventions for these 
properties files ? 
Thanks, Kalpesh 
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] i18n - Resource Bundle

2006-06-22 Thread Kalpesh Chordia
Title: i18n - Resource Bundle





Hi,


We are trying to evaluate i18n sample provided with the latest version 1.2.3


1. What is the importance of resourceBundle="i18n" in 
 ?

2. Where should the properties files be placed ?


3. What are the naming conventions for these properties files ?



Thanks,
Kalpesh



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


Re: [jasperreports-questions] chart not displayed properly

2006-06-21 Thread Kalpesh Chordia



I 
guess, images are not supported in eXcel.

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]Sent: 
  Wednesday, June 21, 2006 4:52 PMTo: 
  jasperreports-questions@lists.sourceforge.netSubject: 
  [jasperreports-questions] chart not displayed properly
  
  Hi
   
  When I export my report to excel 
  chart does not get displayed but when I export it to PDF chart is 
  displayed.
  Can anyone let me know a solution 
  to this?
   
   
  Thanks and Regards, 
  
  Kapil Shewate. 
  
   
  Emptoris Technologies India Pvt Ltd 
  
  B101, Pune IT Park, 
  
  34 Aundh 
  Road, Bhau Patil Marg 
  
  Pune 411020 
  Phone: +91 (20) 25810422 ext 278 
  
  Mobile: +91 9890516667 
  
   
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


[jasperreports-questions] Current Stable Version

2006-06-06 Thread Kalpesh Chordia
Title: Current Stable Version





Hi,


We are using JasperReports 0.5.2 version for our reporting requirements.


Now, we are planning to upgrade to the latest and most stable version as of now.


Could any one suggest the version to be used from their past experience ?


Our main requirement for moving to latest is Internationalization and Localization, Charts.


Thanks,
Kalpesh



___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions


RE: [jasperreports-questions] Can I merce 2 report??

2006-05-10 Thread Kalpesh Chordia



You 
can create one master report and add all four reports as subreports to master 
report. 

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]Sent: 
  Thursday, May 11, 2006 10:04 AMTo: 
  jasperreports-questions@lists.sourceforge.netSubject: 
  [jasperreports-questions] Can I merce 2 report??Hi 
  everybody,I work with a report which has more than 200 Static text and 
  parameter. So i cannot put all of them in one report. I have to split them to 
  4 report (for 4 pages).My problem is when i export to pdf file, it has 4 
  files for 4 pages, sound not good. I want put all of them in only one pdf 
  file. Do you have any solutions for this.Thank you so 
  much.Best Regards.Quang


RE: [jasperreports-questions] Japser Report - JRTextExporter issu e

2006-05-10 Thread Kalpesh Chordia



Hello 
Shikha,
 
Is 
there any specific reason for exporting the jrprint to text and then printing it 
on dot matrix printer ?
 
There are APIs available in JasperPrintManager class for printing 
the jrprint directly without exporting.
 
JasperPrintManager.printReport(jasperPrint, true)
 
OR 

 
is it 
a web application and you want client side printing of the report instead of 
server side printing.
 
I hope 
this helps.
 
Regards,
Kalpesh
 
 

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]Sent: 
  Tuesday, May 09, 2006 4:23 PMTo: 
  jasperreports-questions@lists.sourceforge.netSubject: 
  [jasperreports-questions] Japser Report - JRTextExporter 
  issue
  
  
  Hi,
   
  In our project we are using the JasperReports-1.2.0 . The 
  requirement in this project is such that a report can be used to generate the 
  PDF , HTML , XLS or it can be used to print to a Laser  printer 
  or to the Dot Matrix printer.  
   
  Now to print on the Dot Matrix printer I have used  the 
  JRTextExporter to convert the .jrprint file into TXT file. But in the 
  generated .Txt file the printed area seems to be less & the data 
  is truncated . I have specified the pageWidth="842" & 
  pageHeight="595" & orientation="Landscape" but I think 
  JRTextExporter  is not using these values as the .txt output 
  is generated in half the size of  that. If the same report is 
  generated in the PDF format the page size and the data populated comes to be 
  fine on it .
   
  I have tried changing the parameter setting of the 
  JRTextExporter to increase the size of the .txt 
  file (JRTextExporterParameter.PAGE_HEIGHT  and the 
  JRTextExporterParameter.PAGE_WIDTH )  but this doesn't seem to work. 
  
   
  I am attaching the output comparison of the Txt and PDF file 
  . 
   
  Please guide me in resolving this difference of element positioning 
  and page size setting of .txt file. 
   
  Is this a known issue with JRTextFormatter , is there a workaround 
  or patch (Fix) for this available ? 
   
  Should I use any other approach to achieve the same?
   
  Any suggestions and views are welcome.
   
  Many Thanks...
  Shikha 


[jasperreports-questions] Displaying big data separately on the pages

2006-04-27 Thread Kalpesh Chordia
Title: Displaying big data separately on the pages





Hi,
I have designed a .jrXML template using iReport.
There are two big text fields in it. I am populating these fields using java object. The value of these two fields is of course dynamic.

The requirement is 

If the value of both fields gets fit into single page, then it will be displayed the one page PDF. 
In case the value of first fields gets increased to its field size (I have already set the option "STRETCH WHEN OBVERFLOW" in field property). 

I want to display the second text field completely on second page of PDF. 

It means that I don't want to display the part of second field into first page and remaining into second page.
If you have any idea to solve this problem, please let me know.


Thanks,
Kalpesh





RE: [jasperreports-questions] [ANN] JasperServer 0.9.0 released

2006-04-07 Thread Kalpesh Chordia
Title: RE: [jasperreports-questions] [ANN] JasperServer 0.9.0 released





Hello Teodor,


Can it be possible to integrate the Jasper Viewer i.e. swing application into web application in the form of servlet so that all the features of pagination, zoom, print etc. will be available. We are looking at solid powerful jasper viewer so as avoid exporting of jrprint each time.

Thanks,
Kalpesh



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, April 07, 2006 9:37 PM
To: Teodor Danciu
Cc: 'jasperreports-questions@lists.sourceforge.net'
Subject: Re: [jasperreports-questions] [ANN] JasperServer 0.9.0 released



Hi!


I just finished the download. I am going to try check it all out with JBoss on 
Windows.


One question.. are you going to abstract away from MySQL and support other db 
servers?


Manfred


Teodor Danciu wrote:
> 
> Hello, Manfred
> 
> We hope that this new open source product will solve many of the issues 
> that existing JasperReports users have faced along the way.
> The most common was the lack of infrastructure around JasperReports as a 
> library so that reporting functionality be readily available to end users.
> We think that JasperServer will close this gap and be useful to the 
> community.
> 
> As usual, feedback and contributions are always welcomed.
> This is what open source is all about.
> 
> Thank you,
> Teodor
> 
> 
> Manfred Moser wrote:
>> Teodor Danciu wrote:
>>>
>>> JasperServer 0.9.0 released
>>> JasperServer/JasperIntelligence home page:
>>> http://jasperintel.sourceforge.net
>>
>> This is awesome. I already have a servlet for creating my reports 
>> (about 30 with > 100 sub reports) and continuously get requests for 
>> features just like the JasperServer implements (or got on the 
>> roadmap). I will definitely look at using it rather than reinvent the 
>> wheel. And I suppose you are not opposed to user 
>> suggestions/contributions ;-)
>>
>> manfred




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions





RE: [Ireport-questions] RE: [jasperreports-questions] [ANN] iRepo rt 1.2.0 released!

2006-03-19 Thread Kalpesh Chordia
Title: RE: [jasperreports-questions] [ANN] iReport 1.2.0 released!



Sorry 
Giulio, I don't understand what you want to say.
 
I have 
copied iReport project at 
D:\Jasper\iReport-1.2.0\iReport-1.2.0
 
iReport.bat file is located at 
D:\Jasper\iReport-1.2.0\iReport-1.2.0
 
Can 
you please exactly pin point the line which I should change and try 
?
 
Thanks,
Kalpesh
 

  -Original Message-From: Giulio Toffoli 
  [mailto:[EMAIL PROTECTED]Sent: Monday, March 20, 2006 11:57 
  AMTo: Kalpesh ChordiaCc: 'Giulio Toffoli'; 
  ireport-questions; JasperreportsQuestions (E-mail)Subject: Re: 
  [Ireport-questions] RE: [jasperreports-questions] [ANN] iReport 1.2.0 
  released!I think the problem can be your Look and 
  feel.remove directory ".ireport" from your home directory (make a 
  backup if you want) and try again.GiulioKalpesh Chordia wrote: 

  

Hi, 
I am trying to run iReport 1.2.0 using the modified 
iReport.bat file. 
My modified iReport.bat file is - 
@echo off 
cd . set 
JAVA_HOME=D:\j2sdk1.4.0 set 
ANT_HOME=D:\Jasper\apache-ant-1.6.1-bin\apache-ant-1.6.1 set IREPORT_HOME=. 
rem %ANT_HOME%\bin\ant javadocs 
echo 
=== 
echo   Ant script for iReport.   Ant 
1.6 or greater required. echo 
=== 
echo 
%ANT_HOME%\bin\ant iReport ~~ 

While running this bat file from command prompt,I am getting 
following error at init main frame component. 
=== 
  Ant script for iReport.   Ant 1.6 or 
greater required. === 
ECHO is off. Buildfile: 
build.xml 
prepare: 
compile: 
iReport:  
[java] TinyLaF v1.3.03  
[java] 'Default.theme' not found - using YQ default theme.  [java] java.lang.NullPointerException 
 [java] at 
javax.swing.JToolBar$Separator.getPreferredSize(JToolBar.java:676) 
 [java] at 
javax.swing.JToolBar$Separator.getMinimumSize(JToolBar.java:654) 
 [java] at 
javax.swing.BoxLayout.checkRequests(BoxLayout.java:426)  [java] at 
javax.swing.BoxLayout.preferredLayoutSize(BoxLayout.java:244) 
 [java] at 
javax.swing.JToolBar$DefaultToolBarLayout.preferredLayoutSize(JToolBar.java:749) 
 [java] at 
java.awt.Container.preferredSize(Container.java:989)  [java] at 
java.awt.Container.getPreferredSize(Container.java:973)  [java] at 
javax.swing.JComponent.getPreferredSize(JComponent.java:1264) 
 [java] at 
java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:569) 
 [java] at 
java.awt.Container.preferredSize(Container.java:989)  [java] at 
java.awt.Container.getPreferredSize(Container.java:973)  [java] at 
javax.swing.JComponent.getPreferredSize(JComponent.java:1264) 
 [java] at 
java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:564) 
 [java] at 
java.awt.Container.preferredSize(Container.java:989)  [java] at 
java.awt.Container.getPreferredSize(Container.java:973)  [java] at 
javax.swing.JComponent.getPreferredSize(JComponent.java:1264) 
 [java] at 
javax.swing.JRootPane$RootLayout.preferredLayoutSize(JRootPane.java:801) 
 [java] at 
java.awt.Container.preferredSize(Container.java:989)  [java] at 
java.awt.Container.getPreferredSize(Container.java:973)  [java] at 
javax.swing.JComponent.getPreferredSize(JComponent.java:1264) 
 [java] at 
java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:564) 
 [java] at 
java.awt.Container.preferredSize(Container.java:989)  [java] at 
java.awt.Container.getPreferredSize(Container.java:973)  [java] at 
java.awt.Window.pack(Window.java:415)  [java] at 
it.businesslogic.ireport.gui.MainFrame.initComponents(MainFrame.java:3553) 
 [java] at 
it.businesslogic.ireport.gui.MainFrame.(MainFrame.java:313) 
 [java] at 
it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:6685) 
~~    

Can anybody please help me in using the iReport 1.2.0 
? 
I have copied tools.jar to lib folder. 
Thanks, Kalpesh 
-Original Message- From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, March 01, 2006 7:32 AM To: ireport-questions; JasperreportsQuestions (E-mail) 
Subject: [jasperreports-questions] [ANN] iReport 1.2.0 
r

RE: [jasperreports-questions] [ANN] iReport 1.2.0 released!

2006-03-19 Thread Kalpesh Chordia
Title: RE: [jasperreports-questions] [ANN] iReport 1.2.0 released!





Hi,


I am trying to run iReport 1.2.0 using the modified iReport.bat file.


My modified iReport.bat file is -


@echo off


cd .
set JAVA_HOME=D:\j2sdk1.4.0
set ANT_HOME=D:\Jasper\apache-ant-1.6.1-bin\apache-ant-1.6.1
set IREPORT_HOME=.


rem %ANT_HOME%\bin\ant javadocs


echo ===
echo   Ant script for iReport.   Ant 1.6 or greater required.
echo ===
echo 


%ANT_HOME%\bin\ant iReport
~~


While running this bat file from command prompt,I am getting following error at init main frame component.



===
  Ant script for iReport.   Ant 1.6 or greater required.
===
ECHO is off.
Buildfile: build.xml


prepare:


compile:


iReport:
 [java] TinyLaF v1.3.03
 [java] 'Default.theme' not found - using YQ default theme.
 [java] java.lang.NullPointerException
 [java] at javax.swing.JToolBar$Separator.getPreferredSize(JToolBar.java:676)
 [java] at javax.swing.JToolBar$Separator.getMinimumSize(JToolBar.java:654)
 [java] at javax.swing.BoxLayout.checkRequests(BoxLayout.java:426)
 [java] at javax.swing.BoxLayout.preferredLayoutSize(BoxLayout.java:244)
 [java] at javax.swing.JToolBar$DefaultToolBarLayout.preferredLayoutSize(JToolBar.java:749)
 [java] at java.awt.Container.preferredSize(Container.java:989)
 [java] at java.awt.Container.getPreferredSize(Container.java:973)
 [java] at javax.swing.JComponent.getPreferredSize(JComponent.java:1264)
 [java] at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:569)
 [java] at java.awt.Container.preferredSize(Container.java:989)
 [java] at java.awt.Container.getPreferredSize(Container.java:973)
 [java] at javax.swing.JComponent.getPreferredSize(JComponent.java:1264)
 [java] at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:564)
 [java] at java.awt.Container.preferredSize(Container.java:989)
 [java] at java.awt.Container.getPreferredSize(Container.java:973)
 [java] at javax.swing.JComponent.getPreferredSize(JComponent.java:1264)
 [java] at javax.swing.JRootPane$RootLayout.preferredLayoutSize(JRootPane.java:801)
 [java] at java.awt.Container.preferredSize(Container.java:989)
 [java] at java.awt.Container.getPreferredSize(Container.java:973)
 [java] at javax.swing.JComponent.getPreferredSize(JComponent.java:1264)
 [java] at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:564)
 [java] at java.awt.Container.preferredSize(Container.java:989)
 [java] at java.awt.Container.getPreferredSize(Container.java:973)
 [java] at java.awt.Window.pack(Window.java:415)
 [java] at it.businesslogic.ireport.gui.MainFrame.initComponents(MainFrame.java:3553)
 [java] at it.businesslogic.ireport.gui.MainFrame.(MainFrame.java:313)
 [java] at it.businesslogic.ireport.gui.MainFrame.main(MainFrame.java:6685)
~~    


Can anybody please help me in using the iReport 1.2.0 ?


I have copied tools.jar to lib folder.


Thanks,
Kalpesh



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 01, 2006 7:32 AM
To: ireport-questions; JasperreportsQuestions (E-mail)
Subject: [jasperreports-questions] [ANN] iReport 1.2.0 released!



The iReport Team is pleased to announce the new iReport release: 1.2.0.  
 
- Full support for JasperReports 1.2.0 (conditional styles, new 
evaluation time auto, crosstab header cell,...) 
- Improved report wizard to use non-JDBC datasources (like Hibernate 
datasource) 
- Full support for HQL (Hibernate query language) 
- Support for the new CSV datasource provided by JasperReports 
- New one-click subreport access 
- _expression_ editor populated according with the context 
- New popup menu for the crosstab object list 
- New formatting tools for cell elements 
- Serveral bug fixes and improvements 
 
 
And much more...  
 
See details on iReport 1.2.0 What's new? page!  
(http://ireport.sourceforge.net/index.php?p_module=page&pageid=31 
)  
 
iReport home page:  
http://ireport.sf.net  
 
Download it now:  
http://sourceforge.net/project/showfiles.php?group_id=64348



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live web

[jasperreports-questions] HTML, PDF, EXCEL & CSV Friendly Reports

2006-02-15 Thread Kalpesh Chordia
Title: HTML, PDF, EXCEL & CSV Friendly Reports





Hello all,


I am using JasperReports 0.5.2 version.


Our report layouts are inefficient layouts i.e. we give one pixel space between two report elements as a separator. To, overcome this issue, we are planning to remove all the unwanted spaces and gaps from the design layout. But, for separation purpose, we want to give a border to the report elements. Is it possible to have such feature with the version we are using. Are there any tips and tricks for making grid friendly layout ? 

I have already looked at tips & tricks section of Jasper website.


Thanks,
Kalpesh





RE: [jasperreports-questions] HTML tags support in PDF ... featur e request

2006-01-12 Thread Kalpesh Chordia
Title: RE: [jasperreports-questions] HTML tags support in PDF ... feature request





Hello Teodor,


Thank you for your reply. 


What if my text field contains html content and I am doing pdf export.


Sorry if I am asking same question again as I would like you to clarify this point based on that we are going to take some decisions.

Thanks,
Kalpesh



-Original Message-
From: Teodor Danciu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 12, 2006 7:10 PM
To: Kalpesh Chordia
Cc: 'jasperreports-questions@lists.sourceforge.net'
Subject: Re: [jasperreports-questions] HTML tags support in PDF ...
feature request




Hi,


We only support a few HTML tags in styled-text. I don't think we are 
going to support all the standard HTML tags, at least not very soon.


Thanks,
Teodor



Kalpesh Chordia wrote:


> Are there any chances of supporting all standard HTML tags in PDF 
> Exporter and support of HTML in text field in near future ?
>





[jasperreports-questions] HTML tags support in PDF ... feature request

2006-01-12 Thread Kalpesh Chordia
Title: HTML tags support in PDF ... feature request





Are there any chances of supporting all standard HTML tags in PDF Exporter and support of HTML in text field in near future ?




RE: [jasperreports-questions] How to embed the true type font to pdf file with JasperReport

2005-12-23 Thread Kalpesh Chordia
Title: RE: [jasperreports-questions] How to embed the true type font to pdf file with JasperReport





use isPdfEmbedded = "true"


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, December 23, 2005 1:16 PM
To: jasperreports-questions@lists.sourceforge.net
Subject: [jasperreports-questions] How to embed the true type font to
pdf file with JasperReport



Hi all,


I'm working with JasperReport on export to pdf file function.
My report is in Vietnamese so it can't be read in Adobe Reader.\


I don't know how to write code to embed the true type font
(such as Times New Roman, Arial, and so on) to a pdf file.


if possible, can you send me a small example?


Thank you very much.
Merry Christmas and Happy new Year!


Best regards,


Quang.



---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=ick
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions





[jasperreports-questions] Upgrading from 0.5.2 to 1.1.1

2005-12-19 Thread Kalpesh Chordia
Title: Upgrading from 0.5.2 to 1.1.1





Hi,


We have developed couple of reports using JasperReports 0.5.2 & iReport 0.3.0. We are thinking of upgrading to the latest versions of JasperReports & iReport. How much efforts does it involve ? Does changing the file extensions from .xml to .jrxml will help or it is more that that ?

Thanks,
Kalpesh







RE: [jasperreports-questions] Urgent help needed- Jasper Reports deployment problem

2005-11-28 Thread Kalpesh Chordia



SET 
JVM PROPERTY => -Djava.awt.headless=true

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]Sent: 
  Tuesday, November 29, 2005 12:04 PMTo: JasperreportsQuestions 
  (E-mail)Subject: [jasperreports-questions] Urgent help needed- 
  Jasper Reports deployment problem
  Hi 
  all,
   
  I have an 
  application which is developed using websphere studio & uses jasper 
  reports 1.1.0. The hasper reports works fine in websphere. However, the 
  application needs to be deployed on Linux. When I try to deploy the 
  application on Linus it gives me the following error given below:. Please help 
  me solve this problem. I m not getting any clues as to why it's giving me an 
  error like this.
   
  Thanks 
  & Regards,
  Meenakshi.
  
   
   [11/29/05 
  11:39:12:305 IST]  e9353f0 SystemOut O Hi Rajieev 
  Jasper Listen me, I am you Boss understand  ..!
  [11/29/05 
  11:39:13:076 IST]  e9353f0 WebGroup  E 
  SRVE0026E: [Servlet Error]-[Can't connect to X11 window server using 
  ':0.0' as the value of the DISPLAY variable.]: 
  java.lang.InternalError: Can't connect to X11 window server using ':0.0' as 
  the value of the DISPLAY variable.
      
  at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
      
  at     at 
  sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:161).null(Unknown 
  Source)
      
  at java.lang.Class.forName1(Native Method)
      
  at java.lang.Class.forName(Class.java(Compiled Code))
      
  at 
  java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:90)
      
  at 
  net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer.java:58)
      
  at 
  net.sf.jasperreports.engine.fill.JRBaseFiller.(JRBaseFiller.java:412)
      
  at 
  net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:91)
      
  at 
  net.sf.jasperreports.engine.fill.JRVerticalFiller.(JRVerticalFiller.java:73)
      
  at 
  net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:113)
      
  at 
  net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:57)
      
  at 
  net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:247)
      
  at 
  com.mind.tms.report.HtmlServlet.service(HtmlServlet.java:127)
      
  at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      
  at 
  com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
      
  at 
  com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
      
  at 
  com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
      
  at 
  com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
      
  at 
  com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
      
  at 
  com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
      
  at 
  com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
      
  at 
  com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
      
  at 
  com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
      
  at 
  com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:248)
      
  at 
  org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:991)
      
  at 
  org.apache.jsp._HtmlReportFormat._jspService(_HtmlReportFormat.java:104)
      
  at 
  com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
      
  at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      
  at 
  com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
      
  at 
  com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:662)
      
  at 
  com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
      
  at 
  javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      
  at 
  com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
      
  at 
  com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
      
  at 
  com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
      
  at 
  com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
     

RE: [jasperreports-questions] Images path while exporting to html file.

2005-11-09 Thread Kalpesh Chordia



While 
exporting the jrprint to html, do not create html files on file system. Instead 
use outputstream and out this to web.
 
Kalpesh
 

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]Sent: 
  Wednesday, November 09, 2005 4:53 PMTo: 
  jasperreports-questions@lists.sourceforge.netSubject: 
  [jasperreports-questions] Images path while exporting to html 
  file.
  Hi,
   
  I am using jasperreport for reporting tool for our product where i 
  prepared designs which are .jasper file which will be filled dynamically from 
  web application. i got problem in as when i export it to html format it store 
  images in reportname_files folder.
  i want to change this folder path so that i can use these html pages in 
  my web application. Pls help me to solve this problem.
   
  Thanks & Regards,
  Abhijit
   
   
   
  
  
  Enjoy this Diwali with Y! India Click 
here


RE: [jasperreports-questions] Images missing in Html Report

2005-11-07 Thread Kalpesh Chordia
Title: RE: [jasperreports-questions] Images missing in Html Report





Hello Meekanshi,


You need to set complete absolute path of the image file in jrxml design template. 


Image servlet should be in the classpath and should be accessible from http://localhost:9080/StrutsProj/servlets/image


Code for HTML EXPORTER 


JRHtmlExporter exporter = new JRHtmlExporter();


Map imagesMap = new HashMap();
session.setAttribute("IMAGES_MAP", imagesMap);


exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRHtmlExporterParameter.OUTPUT_WRITER, out);
exporter.setParameter(JRHtmlExporterParameter.HTML_FOOTER," ");
exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN, Boolean.FALSE);
exporter.setParameter(JRHtmlExporterParameter.IMAGES_MAP, imagesMap);
exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, "image?image=");
exporter.exportReport();


I hope this helps.


Regards,
Kalpesh


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, November 07, 2005 2:15 PM
To: jasperreports-questions@lists.sourceforge.net
Subject: [jasperreports-questions] Images missing in Html Report



hi all,


I have a report to be generated in html. When I put an image in the
report,it doesn't show it. It shows as a blank image.  when I check the
property of the image by right-clicking on it. it shows..as
 image?image=img_0.
& the image url is
http://localhost:9080/StrutsProj/servlets/image?image=img_0


& the code to generate the html report is:


JRHtmlExporter exporter = new JRHtmlExporter();


request.getSession().setAttribute(ImageServlet.DEFAULT_JASPER_PRINT_SESSION_
ATTRIBUTE, jasperPrint);
exporter.setParameter(JRHtmlExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRHtmlExporterParameter.OUTPUT_WRITER, out);


exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI, "image?image=");
Map imagesMap = new HashMap();
request.getSession().setAttribute("IMAGES_MAP", imagesMap);
exporter.setParameter(JRHtmlExporterParameter.IMAGES_MAP, imagesMap);


exporter.setParameter(JRHtmlExporterParameter.IS_USING_IMAGES_TO_ALIGN,
Boolean.FALSE);
exporter.setParameter(JRHtmlExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_
ROWS, Boolean.FALSE);
exporter.setParameter(JRHtmlExporterParameter.SIZE_UNIT, "px");


exporter.exportReport();


Plz let me know if I m making any mistakes or what else shud I do to solve
this problem.


Thanks & Regards,
Meenakshi.




---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
jasperreports-questions mailing list
jasperreports-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jasperreports-questions