Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 223345 - viewer __rtl=true parameter
Summary: viewer __rtl=true parameter
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.2.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 2.3.0 RC3   Edit
Assignee: Yu Chen CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 225536
Blocks:
  Show dependency tree
 
Reported: 2008-03-20 10:11 EDT by Assaf CLA
Modified: 2009-06-22 13:30 EDT (History)
5 users (show)

See Also:
rafsarifard: iplog+


Attachments
Example for chars being placed wrongly without the __rtl option (594.05 KB, image/bmp)
2008-03-23 03:25 EDT, Assaf CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Assaf CLA 2008-03-20 10:11:17 EDT
when using the __rtl=true parameter the viewer export options (pdf/word)
aren't generated in this same __rtl=true manner - this causes a report to be displayed properly in the viewer as HTML but not properly as PDF.

This parameter should be passed on to all exports as well.
Comment 1 Jerry Cheng CLA 2008-03-21 04:52:04 EDT
Reassign to engine to check whether support this feature.
Comment 2 Wei Yan CLA 2008-03-21 05:23:20 EDT
rtl is only supported in HTML.
Comment 3 Assaf CLA 2008-03-23 03:22:23 EDT
Is this an issue to be developed in the near future or is this not on the work plan at all ? This issue is a problematic issue to anyone who needs the __rtl=true option (when using laguages that are written from right to left chars like a period ,parenthisis or question mark that are at the end of the sentence will appear at the begining of the sentence -
 [1]XXX-YYY will become 1]XXX-YYY[  
  ? AAA BBB will become AAA BBB ? (needs to be read from right to left)

only the __rtl parameter solves this..

(In reply to comment #2)
> rtl is only supported in HTML.

Comment 4 Assaf CLA 2008-03-23 03:25:17 EDT
Created attachment 93208 [details]
Example for chars being placed wrongly without the __rtl option
Comment 5 Wenbin He CLA 2008-04-03 13:42:16 EDT
with the enhancement from 225536, BIRT viewer should be able to support RTL output  for PDF, and other non-html formats.
Comment 6 Vincent Petry CLA 2008-05-12 05:17:36 EDT
The "__rtl" value from the URL is already passed by the viewer to the engine through the render options. The engine must now use this value when exporting to non-HTML formats.

Reassigning to engine team.
Comment 7 Yu Chen CLA 2008-05-29 02:46:11 EDT
For __rtl=true passed from render option, Engine makes it take the same effect as <property name="bidiLayoutOrientation">ltr</property> in design file.

In this case, Assaf also need to set "Bidi text direction" to specify the base level for bidi text.

Fixed.