Select Page

Search Knowledge Base by Keyword

Clauses

Clauses add a precise structure to Legito templates to ensure that generated documents exactly follow the conditions and other logical dependencies added to the template. Templates are built from Clauses, and made from Elements.

There are five layers to Legito Clause structure. In descending order:

Articles
Paragraphs
Subparagraphs
—-Points
—–Items

When building a template, begin with an Article and then add the remaining levels of the Clause Structure () in declining order as needed. Each Clause aspect must follow the one directly above it in the hierarchy. For instance, it is not possible to add a Subparagraph aspect to an Article unless there is first a Paragraph aspect.  It is, however, possible to add a Paragraph aspect by leave it empty of content.

The most important point to remember about Clauses is that the descending structure controls how the Clauses are affected by applied Conditions or Repeats. Clauses operate using a “parent – child” relationship, meaning that logical dependencies applied to a top level of a clause will trickle down to the lower levels.

For instance, when applying a condition to a Subparagraph, the condition will apply to that Subparagraph as well as its Points and Items. However, the clause containing the modified Subparagraph, in this case, the Paragraph, and its parent clause, the Article, will not be affected by the condition.

The same principle applies to the Elements within a Clause. Conditions applied to a clause will apply to every Element inside that clause.

This feature makes it possible to create complex logical dependencies with ease because instead of adding multiple conditions to the various Elements in a Clause, the “single rule” Condition feature can be employed.

Every Clause aspect placed unto the Editor Canvas automatically createsText Element.

Clauses have their own menu items and navigational tools which appear when the cursor hovers over them. Clicking the Edit button, allows you to maintain focus on a clause, “freezing” the Clause for editing. A Clause selected in this manner will be highlighted in orange. Once a Clause’s Edit button is clicked upon, details of the clause can be further modified in the top menu with the following new tabs: Conditions, Repeat, Tags, Proprieties, Help, and Design.

Other Clause modification tools include:

  • On the top right, an icon of four arrows will appear (allows users to move a Clause throughout the Editor Canvas using a click and drag functionality, much like the structure widgets on the left menu.

  • Between the Move icon and the Edit button, are Hierarchy arrows. After placing a structure widget on to the Editor Canvas, it’s possible to move it up or down a level, depending on your need (e.g. change a subparagraph to paragraph).

  • You will also see an option to add a Question that will be attached directly to that specific clause aspect. A Question can be deleted by clicking the gray “trash” icon to the right of it, which should not be confused with the red trash icon at the top of the clause aspect, which will delete the entire Clause. If you attach Question directly to a Clause, such clause will have separate System Name and Help text for the Clause and its Question.

  • Adding an existing Clause from another section of the template or an entirely different template using the feature;

  • Enabling or disabling numbering. Clicking on a number to the left of a clause aspect will remove that number (or add one if not already present), and the remaining numbers to each of the Clause aspects in the template shall automatically reconcile.

  • Collapsing Article to a single line in order to simplify the view.
  • Enabling the Bilingual hide feature, which allows for certain content to be hidden in the second language of a bilingual Documents.
  • Activating the “Own Clause” feature which permits users to add their own Paragraphs to the Article.

  • Adding Help text under the Help tab which lets the template designer add Help text attached to a Clause aspect to guide users generating a Smart Document from the template. In Document Editor, the Help text can be displayed by clicking on a question mark symbol on the right side of a Clause.

Article is a special type of Clause that could have only its title from which Legito will automatically generate a system name for the article. Elements cannot be currently inserted directly to Article, but you can of course insert Paragraphs.