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

marzieh.beiraghdar

Members
  • Posts

    2
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Posts posted by marzieh.beiraghdar

  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...