RTL language Alignment problem

Posted by: ilia on 27 June 2018, 4:08 pm EST

    • Post Options:
    • Link

    Posted 27 June 2018, 4:08 pm EST - Updated 30 September 2022, 6:12 pm EST

    I use last version of AR 12.1.

    I use Hebrew language in my section report. I some cases I need to align the text to right side. First Detail line of second page is not aligned properly in both Viewer and Export to Pdf.

    Example attached. SectionReportApplication2.zip

  • Posted 28 June 2018, 1:35 am EST - Updated 30 September 2022, 6:12 pm EST

    First Detail line of second page is not aligned properly and renders LeftToRight instead of RightToLeft or RightToLeft instead of LeftToRight

  • Posted 28 June 2018, 5:10 am EST

    Hello,

    Please use the “BeforePrint” event of the “Detail” section instead “Format” event. Please refer the modified application.

    Thanks,

    Mohit

    SectionReportApplication2_Modified.zip

  • Posted 28 June 2018, 8:18 am EST

    Using BeforePrint is a workaround.

    Usually, in addition to changing the reading order of the text, I do other actions for each ARcontrol in the Detail_Format event (for example, IsHebrewText) and do not use the “BeforePrint” event, I prefer that this bug be fixed. I hope that it’s not difficult.

  • Posted 28 June 2018, 10:11 am EST

    Hello Ilia,

    There are many possible report designs, the event-raising sequence is dynamic in order to accommodate individual report demands. The only guaranteed sequence is that a section’s Format event is raised before the BeforePrint event, which in turn occurs before the AfterPrint event but not necessarily all together. Reports should not be designed to rely on these events being raised in immediate succession.

    Also, a section’s height is unknown until the Format event finishes, it is possible for a section’s Format event to be raised while the report is on a page to which the section is not rendered.

    Hope it clarifies.

    Thanks,

    Mohit

  • Posted 29 June 2018, 12:58 am EST

    Why can I change other properties of TextBox in Detail_Format (Colors,Text,Alignment,…), but RightToLeft does not?

  • Posted 2 July 2018, 7:31 am EST

    Hello,

    I have escalated this to the development team(260217) and will revert you back once have any information from them.

    Thanks

    Mohit

  • Posted 3 July 2018, 6:28 am EST

    Hello,

    Issue is fixed in our internal build. Do you need the hotfix for the same.

    Thanks,

    Mohit

  • Posted 3 July 2018, 9:00 am EST

    After installing of last hotfix it still does not work properly.

  • Posted 4 July 2018, 4:19 am EST

    Hello,

    Hotfix for this issue is not yet prepared. I have asked the developer team to prepare the hotfix for this issue.

    Thanks,

    Mohit

  • Posted 5 July 2018, 5:36 am EST

    Hello,

    Please use the following hotfix for the fix of this issue.

    http://cdn.grapecity.com/ActiveReports/ar12/hotfixes/ActiveReports-v12.1.13748.0.msi

    Hope it resolves your issue.

    Thanks,

    Mohit

  • Posted 5 July 2018, 7:27 am EST

    It works now. Thanks.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels