Jump to content
Changes to the Jaspersoft community edition download ×

marzieh.beiraghdar

Members
  • Posts

    2
  • Joined

  • Last visited

marzieh.beiraghdar's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. I am trying to export excel jasper report in RTL mode.It does not appear that my report properties are working correctly. In this report I am using the below property to direct my excel sheet ti RTL. net.sf.jasperreports.export.xlsx.sheet.direction=RTL[/code]I tried another way too: exporter = new JRXlsxExporter();exporter.setExporterOutput(new SimpleOutputStreamExporterOutput(out));SimpleXlsReportConfiguration configuration = new SimpleXlsReportConfiguration();configuration.setSheetDirection(RunDirectionEnum.RTL);exporter.setConfiguration(configuration);[/code]None of the above solutions are working. Please,somebody help me out.
  2. I am trying to add Tahoma font to jasper report in my web app. I use font extension mechanism. This exception was thrown: net.sf.jasperreports.engine.util.JRFontNotFoundException: Font 'TahomaFont' is not available to the JVM. See the Javadoc for more details. Here is my font.xml file: <fontFamiles> <fontFamily name="TahomaFont"> <normal>export/fonts/BTahoma.ttf</normal> <pdfEncoding>Identity-H</pdfEncoding> <pdfEmbedded>true</pdfEmbedded> </fontFamily><fontFamiles>[/code]and here is my jasperreports.properties file : net.sf.jasperreports.extension.registry.factory.simple.font.families=net.sf.jasperreports.engine.fonts.SimpleFontExtensionsRegistryFactorynet.sf.jasperreports.extension.simple.font.families.TahomaFont=export/fonts/fonts.xml[/code]Also i have put Tahoma.ttf font file in my classpath. Here is the style tag in jasper report: <style fontName="TahomaFont" name="tahoma"/>[/code]Please let me know where i am going wrong. Thanks in advance.
×
×
  • Create New...