Page 1 of 1

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

Posted: Fri Sep 17, 2010 2:52 am
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

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

Posted: Fri Sep 17, 2010 4:50 am
by Andrew
Hello,

Please find the attached documentation.

Let us know if you have some additional questions.
Thank you.

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

Posted: Mon Sep 20, 2010 1:48 am
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.

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

Posted: Mon Sep 20, 2010 5:23 am
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.

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

Posted: Thu Sep 23, 2010 3:13 pm
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,