export to pdf/rtf/jpeg :: right to left document direction

Stimulsoft Reports.NET discussion
Post Reply
Houssam Hamdan
Posts: 33
Joined: Fri Aug 20, 2010 3:46 am
Location: Lebanon - Beirut

export to pdf/rtf/jpeg :: right to left document direction

Post by Houssam Hamdan »

Hello,

We would like to know if it is possible to flip the generated pdf/rtf/jpeg documents' direction right to left.

The required behavior is successfully done through the following line of code with Excel:
StiOptions.Export.Excel.ColumnsRightToLeft = True

Thank you in advance for your prompt reply.

Cheers
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

export to pdf/rtf/jpeg :: right to left document direction

Post by Andrew »

Hello,

Please find the attached documentation.

Let us know if you have some additional questions.
Thank you.
Attachments
597.RightToLeft.pdf
(723.5 KiB) Downloaded 1371 times
Houssam Hamdan
Posts: 33
Joined: Fri Aug 20, 2010 3:46 am
Location: Lebanon - Beirut

export to pdf/rtf/jpeg :: right to left document direction

Post by Houssam Hamdan »

Hi Andrew,

Thank you for the document. Unfortunately, it did not meet our requirements.

Is there a container component that displays its child elements from right to left and vice-versa?

We would like to know if we can use the same .mrt file for the arabic and english language.

Thank you for your cooperation.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

export to pdf/rtf/jpeg :: right to left document direction

Post by Andrew »

Hello,

Unfortunately, there is no simle solution for this problem.
As a workaround, you may add script in the BeginRender event that will set the required values for all components of a report.

Thank you.
Houssam Hamdan
Posts: 33
Joined: Fri Aug 20, 2010 3:46 am
Location: Lebanon - Beirut

export to pdf/rtf/jpeg :: right to left document direction

Post by Houssam Hamdan »

While playing with the StiText object properties in the designer, i found out that the required behavior is achieved as follows:

1- StiText.TextOptions.RightToLeft = True;

2- StiText.DockStyle = StiDockStyle.Right;

The Text fields columns would flip as required if they belong to the same Header Band.

Cheers,
Post Reply