--- title: "DOCX Output (Phrases) - Lasernet Form editor 9 Training" slug: "docx-output-phrases" description: "In this exercise, you are proposed to update the available auto vacation reply template with a signature added as a phrase." tags: ["DOCX", "Lasernet 9 ", "Lasernet Developer", "Phrases"] updated: 2026-03-06T07:50:23Z published: 2026-03-06T07:50:23Z canonical: "kb.lasernetgroup.com/docx-output-phrases" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # DOCX Output (Phrases) **Applies to:** Lasernet 9 ## Introduction The **Phrase** tool is designed to add definite content as a stand-alone entity to a document or a report. For example, you need to create several reports for different departments; with that, all reports are to contain the same fragment. So, to avoid adding the fragment to each report separately, you can only create a global phrase, add this fragment to this phrase, and then insert it into each report. It could be, for example, a company's legal information fragment, etc. For this purpose, global phrases are recommended to use. On the other hand, you would like to show one fragment and hide another one in your output based on certain criteria, or vice versa. To this end, it is recommended that the required number of inline phrases be created and that certain criteria for each of them be specified based on the DataSet input or JobInfos. In this exercise, you are proposed to update the available auto vacation reply template with a signature added as a phrase. Specify a criterion for this phrase based on which two different versions of signature texts can be shown: a short one for internal use and a full one for external use. > [!NOTE] > Note > > This article describes a software version that is no longer supported. Although the software will no longer receive updates or technical support, existing documentation, such as this article, will be retained for reference purposes but will no longer be updated. If you have any questions, contact [Lasernet Support](https://support.lasernetgroup.com/new-ticket). ## Exercise Start by downloading and importing the attached configuration, **07. DOCX Output (Phrases)** i**n Lasernet Developer 9**. Afterward, navigate to the **Forms** section and open the **Sample** form. Once you are done, follow the steps listed below. 1. Place the cursor at the end of the last line, and then click the **ENTER** key three times to move it down. So, you have created three blank lines between the last paragraph and a signature you are to add. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204203SQTQEMYNLPBIZCP0-1_cursor.png) > [!NOTE] > Note: > > To be precise in modifying your layout, you can enable showing paragraph marks and other hidden formatting symbols. To this end, click the **Show/Hide** button on the **Property** bar. 1. On the **Developer** toolbar, click **Phrase**, and then **Insert Inline Phrase...**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204204NYBOEAOBQLMKSEA0-2-insert-inline-phrase.png) 1. In the **Phrase** dialog displayed, type a phrase name (Internal), and then click the **Edit** button. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204206JDDWOYDLFQATBLV0-3-phrase-dialog.png) 1. In the **Inline Phrase** dialog displayed, type a phrase text as it is shown in the following image. 2. For the text, specify the following font style values: Segoe UI, 14 pt. 3. Click the **Save** button, and then click a little cross to close the dialog. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204207MPKSLQLPZLPKILT0-4_edit-inline-phrase.png) Once you are done, click **Ok** in the **Phrase** dialog to save changes. 1. In the output, right-click the phrase you have just added, and then click **Add DataSet Criterion...** on the context menu that appears. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204208ETCSQQJHWZUBWGW0-5-add-dataset-criterion.png) 1. Click the **internal** node in the dataset. 2. In the dialog displayed, click **Ok** to confirm changes. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204209UBEAHDLDPBTXVOB0-6-add-dataset-criterion.png) Afterward, click **Ok** once again in the **Phrase** dialog displayed. 1. Switch to the **External.xml** grab file tab in the input. Instead of the phrase text you have just added based on the **Internal.xml** grab file, you can see a notification that criteria are not met. It is so because the internal field value for the **External.xml** grab file is set to **false**. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204210JSHBHISASQJTQVU0-7-external-tab.png) 1. Click the **Preview** button, and you can see that no text is shown in the **External.xml** output as a signature you have added based on the **Internal.xml** input. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204211QIDKWAUICCSNKRS0-8-preview.png) You are now proposed to add a phrase based on the **External.xml** grab file and specify a criterion for it (internal field value = false). To this end, follow the steps listed below: 1. Place the cursor at the end of the notification text in the output. 2. On the Developer toolbar, click **Phrase**, and then click **Insert Inline Phrase....** ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204212JIMEVVZNCEUJKVE0-9-insert-inline-phrase.png) 1. In the **Phrase** dialog displayed, type a phrase name (External), and then click the **Edit** button. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204213EBSUYWQBUYBEMAL0-10-phrase-dialog.png) 1. In the **Inline Phrase** dialog displayed, enter a text of the signature for the external use. - First, type the following text: Kind regards, (specify the following font style values: Segoe UI, 14 pt) OLA NORRMAN (specify the following font style values: Segoe UI, 10 pt, Bold) Information Assistance Specialist (specify the following font style values: Segoe UI, 10 pt) Formpipe Lasernet (specify the following font style values: Segoe UI, 10 pt) - Afterwards, drag fields from the dataset in the following order: **companyaddress** **zipcode** **companyphonenumber** **logo** (the field has a base64 string as a value, that is why an image is inserted. Note that the image is inserted in its original size. To resize it, drag one of the control points on the sides or corners of the selection box) For the text fields you have dragged, specify the following font style values: Segoe UI, 10 pt. As a result, the signature looks as follows: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204219OSUSMMFHTCODUJJ0-11-edit-inline-phrase.png) Once you are done, click the **Save** button to save all changes, and then click a little cross to close the dialog. Afterwards, click **Ok** once again in the **Phrase** dialog. Let's now add a criterion for the phrase you have just added. To this end, repeat steps 7-9. As a result, you have now two versions of the signature, each of which is shown in the document according to the specified criterion. To view the required version of the document, click the **Preview** being switched to the required tab. Preview of the internal signature version: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204220QZYMMAGFDXUBAUL0-12_preview-interenal.png) Preview of the external signature version: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/4204221LTVWSNPTWREUONY0-13_preview-external.png) > [!WARNING] > Important: > > Phrases are not a part of the standard Lasernet Rich Text license. Phrases requires an additional Lasernet license. If no valid license is found the areas that contains the phrases will be left empty. ## Attachments - [07.-DOCX-Output-Phrases.lnconfigx](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/07.-DOCX-Output-Phrases.lnconfigx)