Enabling Right to Left

Stimulsoft Reports.NET discussion
RobFolland
Posts: 8
Joined: Thu Sep 03, 2015 11:06 am

Enabling Right to Left

Post by RobFolland »

I am currently using Stimulsoft Reports.Net version 2014.1.1900 and I am trying to print reports right to left. I have enabled all the right to left properties in the components but my report still comes out left to right. I have attached my report file. Any help would be greatly appreciated.
Attachments
CardHoldersOnSite.mrt
(45.57 KiB) Downloaded 271 times
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Enabling Right to Left

Post by Alex K. »

Hello,

Please check the last build.
If the issue still present please describe your issue in more details, also please send us a test data for your report.

Thank you.
RobFolland
Posts: 8
Joined: Thu Sep 03, 2015 11:06 am

Re: Enabling Right to Left

Post by RobFolland »

Hi,

Thanks for replying so quickly. I have download the 2015 version of Stimulsoft (I'm not sure how to get patches for 2014) and the problem still exists. I have attached a simple mrt. I added a Table and set the table to right to left but it doesn't appear to work, the table is still displayed left to right. I even tried generating the files on an Arabic version of Windows but without success.
Attachments
Report.mrt
(10.78 KiB) Downloaded 279 times
Report.mrt
(10.78 KiB) Downloaded 196 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Enabling Right to Left

Post by HighAley »

Hello, Rob.

There is no universal property in our product that you could set.
Please, set the Right To Left property of all cell where you need to show Right To Left text.
Or you need to change order of the columns?

Thank you.
RobFolland
Posts: 8
Joined: Thu Sep 03, 2015 11:06 am

Re: Enabling Right to Left

Post by RobFolland »

I need to change the order of the columns.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Enabling Right to Left

Post by Alex K. »

Hello,

We have added this task in our to-do list. We will try to add it in the near future.

Let us know if you need any additional help.
Thank you.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Enabling Right to Left

Post by Andrew »

Dear Rob,

Thank you again for the request.

We have made improvement.
The Right To Left property for the table components will work in the rendered report.

Changes will be available in the prerelease build from Friday this week - September, 11.

Please let us know whether this will work for you after you test it.
Thank you.
RobFolland
Posts: 8
Joined: Thu Sep 03, 2015 11:06 am

Re: Enabling Right to Left

Post by RobFolland »

Thanks for the update. The column order is now right to left as expected however I also need the cells in the table to be right to left. The cell property is available and working in Stimulsoft.NET 2014 but does not appear to be there in 2015?
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Enabling Right to Left

Post by HighAley »

Hello, Rob.

You should set the Right To Left property of the each cell.
Please, look at the attached report.
report.mrt
(11.48 KiB) Downloaded 350 times
Thank you.
RobFolland
Posts: 8
Joined: Thu Sep 03, 2015 11:06 am

Re: Enabling Right to Left

Post by RobFolland »

Hi Aleksey,

I downloaded your mrt file and I'm a bit confused as it hasn't got a DataTable and its the cells inside a DataTable that I'm trying to display RightToLeft. If I add <RightToLeft>True</RightToLeft> to each cell in the MRT file (as in Stimusoft 2014) then the data appears on the right but this property isn't available in the Designer UI so I'm not sure if this is the correct thing to do.

Also the text is right justified whereas I was expecting it to be reversed eg 12345 if RightToLeft is False, would appear as 54321 if RightToLeft is set to True.

Thanks for your prompt reply.
Post Reply