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

karenper

Members
  • Posts

    12
  • 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 karenper

  1. Hello, I am facing problem in the crosstab report. I have one main report in which I have added one subreport which is a crosstab report which renders data fine.The problem is that I need to display a header on all the pages but because the crosstab is in the summary band, this header (whcih i have included in the pageheader section of the subreport file) is displayed only on hte first page. Is there any way i can pass the dataset from the main report to this subreport and use it in the crosstab??? How can I solve this problem?Pls help! thanks.... [file name=LotAssignedValueReportHeader.jrxml size=35176]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/LotAssignedValueReportHeader.jrxml[/file] Post edited by: karenper, at: 2007/05/02 07:44
  2. Hi llk, I tried accessing the link you've mentioned in the above post but am unable to do so.Could you help me out further? Please reply asap!!! klp
  3. Hi I am facing this problem when trying to export a report to PDF from my application.I am using the style tag to indicate the Font and encoding for unicode characters in the jrxml as follows: <variableExpression><![CDATA[$F{param}.indexOf("<i>") != -1 ?"<style pdfFontName="Helvetica-BoldOblique" pdfEncoding="CP1250">" + $F{param}.substring($F{param}.indexOf("<i>")+3,$F{param}.indexOf("</i>")) + "</style><style pdfFontName="Helvetica-Bold" pdfEncoding="CP1250">" + $F{param}.substring($F{param}.indexOf("</i>")+4) + "</style>" :$F{param}]]></variableExpression> This variable is then used in a text field. However I get the following exception: ExceptionConverter: java.io.UnsupportedEncodingException: CP1250 at sun.io.Converters.getConverterClass(Converters.java:114) at sun.io.Converters.newConverter(Converters.java:145) at sun.io.CharToByteConverter.getConverter(CharToByteConverter.java:64) at java.lang.StringCoding.encode(StringCoding.java:358) at java.lang.String.getBytes(String.java:586) at com.lowagie.text.pdf.PdfEncodings.convertToBytes(PdfEncodings.java:197) at com.lowagie.text.pdf.Type1Font.<init>(Type1Font.java:278) at com.lowagie.text.pdf.BaseFont.createFont(BaseFont.java:389) at com.lowagie.text.pdf.BaseFont.createFont(BaseFont.java:342) at com.lowagie.text.FontFactory.getFont(FontFactory.java:225) at net.sf.jasperreports.engine.export.JRPdfExporter.getChunk(JRPdfExporter.java:1356) at net.sf.jasperreports.engine.export.JRPdfExporter.getPhrase(JRPdfExporter.java:1311) at net.sf.jasperreports.engine.export.JRPdfExporter.exportText(JRPdfExporter.java:1631) at net.sf.jasperreports.engine.export.JRPdfExporter.exportElements(JRPdfExporter.java:559) at net.sf.jasperreports.engine.export.JRPdfExporter.exportPage(JRPdfExporter.java:523) at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:488) at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:271) The strange part is that this works fine on other machines but not on mine.Am I missing something here?Can someone help??
  4. Hi all. Im facing this same problem. In my case the text fields are retrieved from the database so they will come dynamically.All other tags like subscript and superscript work perfectly fine,even in the PDF. Then why not bold and italic????I am using jasperreports 1.2.7 and jasperreports1.2.7 applet jars... Pls reply asap....
  5. Hi all. Im facing this same problem. In my case the text fields are retrieved from the database so they will come dynamically.All other tags like subscript and superscript work perfectly fine,even in the PDF. Then why not bold and italic????I am using jasperreports 1.2.7 and jasperreports1.2.7 applet jars... Pls reply asap.... Post edited by: karenper, at: 2007/02/12 06:28
  6. HI, I need to use the "order by" clause in a query for the report in IReport.but i realise it does nto work directly. So i tried simply puttin that query into a procedure and calling that proc from the report instead. but for some reason this does not work either. the report includes a crosstab.could this be the problem?ive tried to run the report without it and here it runs ok.how can i order the elements in the crosstab??? pls help..... Post edited by: karenper, at: 2007/01/23 11:20
  7. Hi Lucian, Thanks a lot for your help. It worked very well.
  8. rsilver@bfm.bm wrote: Do you mean export your report to a jpeg, or actually take a capture of the report file text and store it as a jpeg? I am not sure of an exporter which exports directly to jpeg, gif etc. But if you export to pdf, there are many ways to convert to an image file. Although pdf itself is a pretty universal format. You can always print-screen the jrxml file in a text editor of your choosing to capture that text. Hth, RobinI mean mean export my report to a jpeg. I found this tool called ImageMagick which runs a command line function to convert files.but will this help me? this is wat i found - In my program, I start a minimized command prompt and need to wait until the process is finished. This can be done like this: System.out.println("invoking convert..."); Process proc = Runtime.getRuntime().exec("cmd /c start /wait /MIN c:\ImageMagick2\convert test1.pdf toto.jpg"); try { proc.waitFor(); } catch (InterruptedException intex) { } System.out.println("done convert..."); pls reply asap....
  9. also all methods of JRGraphics2DExporter return void. so how can i export the report to a BufferedImage?by report do you mean the pdf file or the compiled jrxml file? My requirement is that from a web application when a report is created it has to be converted to a jpeg image so that this image can be used for certain other reports.all this then has to be done at the server end and cannot involve the client doing anything like saving the image....plllls reply asap... regards, karen Post edited by: karenper, at: 2006/10/13 05:44 Post edited by: karenper, at: 2006/10/13 05:45
  10. hi lucian...thanks for replying..i am kind of new to all this so can u maybe put up a small sample code which involves using exportReportToGraphics2D methods?thanks in advance....
  11. Hi can anyone tell me if its possible to convert a jrxml file to a jpeg image??? pllllllllllllllls this is very urgent....
×
×
  • Create New...