title: How to make a report page direction to change to "rtl"?
body: <p>I am creating a report with <em>JasperReports</em>, using <em>iReport</em> generated jrxml file.</p>
  
  <p>My application is multilingual, (English (LTR) and Persian (RTL)). In tables generated, regarding to the direction of text I need to swap the whole page direction. Plus I use <strong>locale</strong> feature. </p>
  
  <p>I googled a lot and finally found an attribute <code>JRXlsAbstractExporter.PROPERTY_SHEET_DIRECTION, "RTL"</code> but setting this attribute in excel generated formats don't have any impact on my report.</p>
  
  <pre><code>    params.put(JRXlsAbstractExporter.PROPERTY_SHEET_DIRECTION, "RTL");
      JasperPrint jasperPrint = JasperFillManager.fillReport(report,params, 
             dataSource != null ? new JRMapArrayDataSource(dataSource) : new JREmptyDataSource());    
  </code></pre>
  
  <p>another thing I tried is setting this in exporter parameters as following:</p>
  
  <pre><code>    JRExporter exporter = new JRXlsxExporter();
      exporter.setParameter(JRXlsAbstractExporter.PROPERTY_SHEET_DIRECTION, "RTL");
      exporter.exportReport();
  </code></pre>
  
  <p>but  setting this parameter is not allowed and I get error.<br/>
  If you have any experience for how to make a report page direction (or in other words mirror the whole report in specific locale) to change please help. </p>