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

cgarrison4

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 cgarrison4

  1. It is for work on a U.S. government project. We are compiling information as to why we selected Jasper Reports as our reporting engine. In these packages, it is common for them to look for white paper type sources. The STIG is evidently a semi-standard security document that some companies complete. You may not have anything like this. Really I'm looking for any official document that addresses any security aspects of jasper. If you have something like this, great .
  2. http://www.juneauempire.com/images/110305/11577_500.jpg Anyone? Post Edited by cgarrison4 at 01/20/2010 16:42
  3. Does anyone know of any technical/security documentation regarding Jasper Reports? I'm looking for some sort of Security Technical Information Guide.(STIG) I didn't find any on the site. Thank You. Post Edited by cgarrison4 at 01/20/2010 16:49
  4. "The only font attribute you need ...." Actually I read in another post that said you don't need the pdfFont attribute, which is partially true. It's not that you don't need it, it's that it won't work if it is present. I removed all references to pdfFont in all reports, and it now works. The error message "cannot load font.." was evidently only caused by the Deprecated attribute. Deprecated means you need to find a new call but the item in question will still work. I think the pdfFont option should be considered "no longer supported" rather than deprecated. Anyway - my 2 cents. Thanks for the response and I hope this can help someone else.
  5. I am getting the following error message when running a report from my application: Loading XML bean definitions from URL [jar:file:/…...jar!/fonts/fonts1260992387609.xml] net.sf.jasperreports.engine.JRRuntimeException: Could not load the following font : pdfFontName : cour.ttf pdfEncoding : Cp1252 isPdfEmbedded : true at net.sf.jasperreports.engine.export.JRPdfExporter.getFont(JRPdfExporter.java:1865) at net.sf.jasperreports.engine.export.JRPdfExporter.writePageAnchor(JRPdfExporter.java:641) at net.sf.jasperreports.engine.export.JRPdfExporter.exportReportToStream(JRPdfExporter.java:581) at net.sf.jasperreports.engine.export.JRPdfExporter.exportReport(JRPdfExporter.java:380) at net.sf.jasperreports.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:122) I have tried and tried to get this to work, but I can’t seem to figure it out. I originally created these with Ireports 3.0 specifying the pdf font (although it never worked so the default font was displayed). I have upgraded to 3.7. I have done the following. I have Installed Courier New from the Ireport Fonts menu in Netbeans. I pointed to the WINDOWS/FONTS folder. I have no font mappings or Locales. I have Exported as extension and put this at various places in the jar file. (I’m not sure what this does – but I think it is being found when reports are running) . I have set my build (ant) classpath to point to both the WINDOWS/FONT folder as well as the exported jar as created above. I have also set the iReports classpath to point to both of these (checking the “reloadable option”. Also in the fonts menu, I have added these to the PDF fonts path which ( I know they are deprecated – but I don’t know what else to try). These are checked. Here is the jasperreports_extension.properties file: net.sf.jasperreports.extension.registry.factory.fonts=net.sf.jasperreports.extensions.SpringExtensionsRegistryFactory net.sf.jasperreports.extension.fonts.spring.beans.resource=fonts/fonts1260992387609.xml Inside the fonts folder there are the .ttf files (cour.ttf, courbd.ttf, courbi.ttf, couri.ttf) and the fonts1260992387609.xml. This originally pointed to /fonts/fonts1260992387609.xml (note the slash before fonts). It couldn't find it with the slash so I removed it. ?? The xml file is as follows: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> <bean id="fontBean1260992387609" class="net.sf.jasperreports.engine.fonts.SimpleFontFamily"> <property name="name" value="Courier New"/> <property name="normal" value="fonts/cour.ttf"/> <property name="bold" value="fonts/courbd.ttf"/> <property name="italic" value="fonts/couri.ttf"/> <property name="boldItalic" value="fonts/courbi.ttf"/> <property name="pdfEncoding" value="Identity-H"/> <property name="pdfEmbedded" value="true"/> </bean> </beans> I have put in a purchase order to buy the documentation, but it won't be approved until the new year. Your help is appreciated.
  6. I wrote many scriptlets while working on a project with Version 3.0.0. I just upgraded to 3.7 and I can't seem to find the jar that contains it.businesslogic.ireport.IReport. It used to be in iReport.jar, but I can't find that in the new version. Any suggestions?
  7. I have a text field which calls a scriptlet to read an rtf document. This method reads the file and returns (as a string) the content to the text field. I have selected "RTF" in the markup dropdown box. The underlies show up as does all the conent in the RTF file, but not the bold or italics formatting. I am using 3.0.0 (I'm almost finished with this project, so unless there is a specific fix in the new version, I'd like to stay at the version I'm at.) Any clue as to why these formats don't display?
  8. 1 more time. I have a report that needs to dispaly .rtf documents saved on local disc. . I am able (via scriplet) to read the .rft, but I am unable to display it satisfactorally in the report. It display sthe actual formatting text like {rtf1adeflang1025ansiansicpg1252uc .... and on and on. Can iReport interpret this correctly as an .RTF file so it will display the formatted text? How do you do it?
  9. I need to read rtf files (from disc) and display in a report. I have created a scriplet which reads the file, but how to I get that object/data back into the report? Any help would be appreciated.
  10. I need to put (lets say 12) columns of text on a report and only 8 fit in the width of a page. I need the remaining 4 to print on the following page. How do I accomplish this? I have tried many times with the "Print in first whole band", " Print when detail overflows" , "Stretch with Overflow" but none do what I need it to do. Landscape or larger paper is not a feasable solution. Is there a way to do this? Thanks.
×
×
  • Create New...