Skip to main content

Build an Arabic right-to-left template

Make a template that prints from right to left, so the first column of a table is at the right of the page and text lines up with the right edge. The designer window always stays left to right. The direction is a choice you save with the template.

Before you begin​

  • Open the designer from a saved document, on a template you may change. See Design an advanced report.
  • The direction belongs to the template, not to the language of the program. A template saved as right to left prints that way for every user who prints with it, whatever the program language. See Template storage, sharing and defaults.

Steps​

  1. Design the report in the designer as you see it, from left to right. Place the first column at the left, the second next to it, and so on.

  2. Click Save. If the template is new, or you click Save As..., the Save As window appears.

  3. Tick Right-to-Left Layout. Type the Name, such as Invoice Arabic, and click Ok.

  4. To change the direction of a template that is already saved, close the designer and open Advanced reports management. Select the template, click Edit, tick or clear Right-to-Left Layout, and click Ok.

  5. To check the result, print or preview a document with the template from the Print window. See the viewer.

Result​

When the document is previewed, printed or exported, the program turns the report to right to left, including the subreports: the controls are mirrored across the page, so the column you placed first at the left prints first at the right, and the text reads from the right. The thumbnail of the template is made the same way. The saved design itself stays as you drew it, so you can open it again and keep working from left to right.

What to know​

  • Plain Save keeps the direction. Only Edit in the management window changes the direction of a saved template. Save As... and Create a Duplicate make a new template with the direction you tick, and an imported template takes the direction stored in the file.
  • The report property Right To Left Layout does not appear in the Properties panel. Use the window above.
  • Setting the report's Right To Left property in the Properties panel does not last: the program clears it when it saves. Use the option in the save window.
  • The designer window and its Preview tab show the design as you drew it. Use the viewer to see the printed direction.
  • A template cannot change direction by the language of the user. See One template for Arabic and English.

If something goes wrong​

SituationWhy it happensWhat to do
The print is left to right.Right-to-Left Layout is not ticked for this template.Tick it with Edit in the management window.
The columns are in the wrong order on paper.The design was drawn from right to left, and the program mirrored it again.Draw the design from left to right.
The message "The template name is already in use. Choose another name" appears.Another template of this document type has this name.Type another Name.
The thumbnail in the list still shows the old direction.Edit does not rebuild the thumbnail.Open the template in the designer and click Save.

This page applies to alameen ERP 10, version 10.1.79.764.