Skip to content
Smart Templates Manual Website Manual for your AI

Texts

In short

A text is the object for everything written in the document: heading, paragraph, address block or footnote. You create it with “Text” in the ribbon or drag a field from the “Data” area onto the sheet. You write and format it by double-clicking in the “Edit text” window; this is described in The “Edit text” window. On the right under “Properties” are line spacing, inner margins, border, size and position. On this page you also find the dynamic text, which changes one spot depending on the data, and the content depending on a condition, which changes the whole text. On the canvas, fields appear as blue markers with their name; the values are shown only by the full preview and the PDF.

Inserting a text

  1. In the ribbon, in the “Elements” section, click “Text”. You can also drag the button to the desired place on the sheet. A box with “Neuer Text” appears and is selected. For the first text of a template, a speech bubble points to it: “Double-click to edit the text”.
  2. Double-click the new text and write your content in the “Edit text” window (see The “Edit text” window). After “Apply”, your text is on the sheet.

Where a click on “Text” puts the new text and what the designer reports in the process is described under The ribbon: Where a click inserts. What happens when you drag the button onto the sheet is described in The ribbon: Dropping by dragging. In the group designer, the same button is in its own ribbon (see The ribbon: The ribbon in the group designer). The other buttons of the ribbon are described in The ribbon.

Tip

If your template already has a group that is not repeated on every page, a text you click into place lands in it without asking. If it should stand freely on the sheet, drag the button to the desired place.

A new text begins like this: content “Neuer Text” (in English if the template language is English), 50 mm wide, “Automatic height (fit to content)” switched on, the template’s default font at 10 pt, color #222222 (almost black), left-aligned and with the positioning behavior “Flowing on contact”. This also applies in a group, where “Fixed position” is otherwise the default (see Positioning behavior: What a new object starts with).

Dragging a field onto the sheet

If you drag a field from the “Data” area onto an empty spot, a new text is created that contains exactly this field. Its width depends on where you release:

  • directly on the sheet: 50 mm, positioning behavior “Flowing on contact”;
  • over the middle of a group on the sheet and, in the group designer, on the free area of the open group: 60 mm, in that group;
  • onto a group that is itself inside a group: 40 mm, in that inner group.

In both group cases, the positioning behavior “Fixed position (default)” applies, without a setting of its own (see Positioning behavior: What a new object starts with). How much of a group that stands directly on the sheet counts, and what is created if you release outside it, is described under Groups: Which area of the group counts; the same applies to the “Text” button that you drag. There are two special cases:

What else is created when dragging a field, for example onto an existing text or with the fields of a rule on a list, is described under Data tree and field picker: Clicking and dragging.

How the canvas shows a text

Excerpt of the canvas with three lines of text one below the other on a white sheet, each in a dashed frame. First line: “Rechnung Nr.”, a marker “Rechnungsnummer” with a blue background, “vom” and a blue marker “Rechnungsdatum”. Second line: “Zahlbar innerhalb von”, a pill “30 Tagen” with a green background and “ohne Abzug.”. Third line: “Seite”, a blue marker “Page #”, “von” and a blue marker “Pages ∑”. Everywhere the names of the fields appear, not values.
Fields and dynamic texts on the canvas: names instead of values.
  1. 1A field marker: blue, with the name of the field. The value appears only in the full preview and in the PDF.
  2. 2A dynamic text: green pill with its label. Which branch is printed is decided only when the document is created.
  3. 3The page numbers are called “Page #” and “Pages ∑” on the sheet.
  • Fields appear as blue markers with their name, not with the value. In a colored passage the marker appears in its color, with a dashed frame; in one highlighted with the highlighter it stays blue and dashed, without a background of its own (see Edit text: Markers in the text). Which field exactly is behind it is shown in the “Edit text” window by the mouse pointer over the marker (name and “Source: …”). The page numbers are called “Page #” and “Pages ∑”, custom variables appear without the @ sign, and a display name you assigned yourself (see The “Edit text” window: Markers in the text) takes precedence over everything.
  • A dynamic text appears as a green pill with its label. It is not evaluated on the canvas.
  • If a display name contains line breaks, the marker keeps room for those lines. This way you see roughly how long the value will be later.
  • A text with content depending on a condition shows the version that matches the sample record.
  • What a text with a fixed height looks like when its content does not fit is described under Width and height.
  • How a text appears in the “Structure” is described under Working on the canvas: The structure.

Dragging to resize, moving and deleting

The properties of a text

If you select a text, its settings are on the right in the “Properties” area. How this area is organized in general is described under The properties panel. For a text there are two variants:

  • Text directly on the sheet: two tabs. “General” contains content, text, line spacing, inner margins (mm), border & background and visibility. “Position & size” contains positioning behavior including arrangement, “Keep together at page break” or the note about it, the position (X, Y) and the size. Below it is the “Actions” section with “🗑 Delete block”. The tab you chose last stays when you switch to the next object.
  • Text in a group or table cell: no tabs, everything one below the other in this order: “⬆ Take out of group” (only in a group), content, position, size, text, line spacing, inner margins (mm), border & background, positioning behavior including arrangement, order in the group, visibility (without a heading of its own) and finally “Actions” with “🗑 Delete element”. “Keep together at page break” does not exist here.

At the very top is the badge “Text” and next to it the beginning of the text. Fields appear in it with their display name, line breaks become spaces. From 41 characters on, it is shortened to 39 characters and “…”; the mouse pointer shows the whole beginning. If the text has versions, the text of the first version is shown there.

The “Properties” area for a selected text directly on the sheet, in full length. At the top the badge “Text” and the beginning of the text “Rechnung Nr. Rechnungsnumme…”, below it the two tabs “General” (active, underlined) and “Position & size”. Under “Content” is the preview of the text (“Rechnung Nr.” with a blue marker “Rechnungsnummer”, in the second line “Vielen Dank für Ihren Auftrag.”), below it the blue button “Edit text” with a pencil and the button “Conditional content …”. Next come the section “Text” with the note that font, size, color, bold, italic and underline are set in the text editor, “Line spacing” with the field “Factor (empty = from the template)” and the gray note “from the template: 1”, “Inner margins (mm)” with the four empty fields Top, Bottom, Left and Right and the sentence “Moves the text inward from the edge/border.”, “Border & background” with the background “none”, the check mark “Turn on border” and the field “Corner radius (mm)”, “Visibility” with the check mark “Turn visibility rules on/off” and at the very bottom “Actions” with the button “Delete block” in red text.
The properties of a text directly on the sheet, “General” tab.
  1. 1Two tabs: the one you chose last stays when you switch to the next object.
  2. 2The preview of the content; a click on it opens the “Edit text” window.
  3. 3The “Edit text” button opens the same window.
  4. 4Switches on content depending on a condition.
  5. 5The line spacing of this text; if empty, the template’s default applies.
  6. 6Background, border and corner radius.

Content

SettingWhat it doesDefault
Preview of the content Shows the text with its formats; fields appear as markers with their name. A click opens the “Edit text” window (mouse pointer: “Click to edit”). An empty text shows “(empty – click to edit)”. –
“✎ Edit text” Opens the “Edit text” window for this text (see The “Edit text” window). –
“Conditional content …” Switches on content depending on a condition (mouse pointer: “Change the content depending on a condition”). The previous text becomes version 1 without a condition, and right away the window “Conditional content — which version?” opens. See Content depending on a condition. off
“N versions — the first one whose condition is met is printed.” with “✎ Edit versions …” Appears instead of the preview and the two buttons above it as soon as the text has versions (for one, it says “1 version”). Below it is each version with number and name, without a name with its condition as a sentence, for example “if Land = DE” or “Otherwise — always applies”. The button opens the versions window. –

Font, size, color and alignment

Under the heading “Text” there is only the sentence “You set the font, size, color and bold/italic/underline in the text editor (✎).”; there is deliberately no field for font, size, color, bold or alignment in the properties. You set all of this in the “Edit text” window: for a passage with the buttons of the toolbar, for the whole text after Ctrl+A with the same buttons (bold, italic and underline then switch the basic style of the whole object), the alignment per paragraph (see The “Edit text” window: The toolbar, The “Edit text” window: Bold, italic, underline and the whole text and The “Edit text” window: Alignment).

Older templates in which font, size, color or alignment are still stored on the whole object continue to print unchanged. The editor shows such an alignment as a pressed button; an explicitly chosen “Align left” in the editor overrides it.

Line spacing

SettingWhat it doesDefault
“Factor (empty = from the template)” under “Line spacing”, with ⓘ Stretches the spacing between the lines of this text: 1 = single, 1.5 = one and a half, 2 = double. The additional spacing goes below each line; the first line keeps its position. At most 5, larger numbers are saved as 5; the arrows on the field go in steps of 0.05. Empty, 0 or a negative number removes the setting; the template’s default line spacing then applies, which the field shows in gray, for example “from the template: 1”. empty
  • Where the value comes from: The setting that is closer to the text always applies: a paragraph with its own spacing before the text object, the text object before the table, the table before the template. You choose a paragraph’s spacing in the editor in the “Line spacing” list (see The “Edit text” window: Size, font and line spacing); the template’s default under Template settings: Font.
  • In a table: If the text is in a cell from the column designer, in an extra row or in a free-form table and the table has a line spacing of its own, the table’s value applies when the field is empty. If you edit the text in the cell designer, the field is called “Factor (empty = from the table)” and shows “from the table: …”. A header cell from the header designer does not follow the table’s value.
  • Canvas, editor and PDF: On the canvas and in the PDF the spacing works the same. In the “Edit text” window you see it only in part: a spacing above 1 is shown by the window only below lines that end with a line break, a spacing below 1 not at all. What counts is the print; check it in the full preview.

Tip

For the whole text it also works in the editor: press Ctrl+A and choose a value in the “Line spacing” list, for example “Line spacing 1.5 — one and a half”. This then applies to all paragraphs of the text. In our current version, the field “Factor (empty = from the template)” loses the cursor when you type after the first character. So set the value with the arrows on the field or in the editor via the list. Click into the field again before using Backspace or the arrow keys: if the cursor is not in an input field, Backspace deletes the selected object, and the arrow keys move it (Ctrl+Z brings back both).

Width and height

The fields for size are on the sheet in the “Position & size” tab under “Size”, in a group or cell in the “Size” section and in the editor under The “Edit text” window: Text box size. What “Width (mm)”, “Automatic height (fit to content)” and “Height (mm)” do is described in Position, size, rotation and arrangement: Width and height for each type of object and Position, size, rotation and arrangement: Automatic height and limits. “Min. height” and “Max. height” under “Advanced (limits)” are described in the next section, Min. height and max. height.

In the PDF, border and background are as tall as the text including inner margins, with “Automatic height” within “Min. height” and “Max. height” (see Min. height and max. height). With a fixed height, they are therefore taller or shorter in the PDF than on the canvas; what else looks different then is described in the box below.

Caution

With a fixed height, canvas and PDF look different as soon as more text goes in than fits in the box. The canvas cuts it off and shows an orange hatched strip below the box at the height of the overflow; the strip appears only for an overflow of more than 0.5 mm. The PDF prints the whole text, border and background become as tall as the text including inner margins, an object with “Flowing” below it moves down by the overflow (see Positioning behavior: Flowing below a text with automatic height), and the document reports the overflow.

An exception is a text in a group or table row with a fixed height: there the strip ends at the edge of the group or row, and the PDF also cuts off at that edge; the message and the tooltip of the strip then say that the rest is missing. Likewise, the PDF cuts off at the fixed height of a cell. All the places where the PDF cuts off are described under Position, size, rotation and arrangement: Where the PDF really cuts off. If a text should grow with its content, leave “Automatic height” switched on and limit it with the “Max. height” if needed.

Two excerpts side by side, on the left with the heading “Draft”, on the right “PDF”. On the left a text box with a light blue background and a blue border that is only about two lines tall: of the sentence “Zahlbar innerhalb von 14 Tagen ohne Abzug. Bei Zahlung innerhalb von 8 Tagen …” two lines can be seen, the third is cut off at the bottom edge. Directly below the box lies a light orange hatched strip, below it in a dashed frame “Mit freundlichen Grüßen”. On the right the same text in full in four lines up to “… unser Eigentum.”; background and border reach to the last line, and “Mit freundlichen Grüßen” stands clearly lower than on the canvas.
The same text with a fixed height: the canvas cuts it off, the PDF prints everything.
  1. 1On the canvas, the box ends at the entered height, the rest of the text is cut off.
  2. 2The hatched strip shows how much text no longer fits in the box.
  3. 3In the PDF, the whole text is printed; background and border become as tall as the text.
  4. 4The object below it with “Flowing” moves down in the PDF by the overflow.

Min. height and max. height

“Min. height” and “Max. height” are in the collapsed area “Advanced (limits)” and appear only as long as “Automatic height (fit to content)” is switched on. Millimeters are meant, counted including inner margins.

  • Min. height: The text box is at least this tall, even if the text is shorter. Border and background reach that far on the canvas as in the PDF.
  • Max. height: The text box never gets taller. What does not fit, the canvas and the PDF cut off; border and background end at the max. height. The canvas shows no strip in this case; the document reports when it is created how much room was missing.
  • An empty field or 0 removes the limit. If the min. height is greater than the max. height, the min. height applies.
  • If you switch off “Automatic height”, both fields disappear. Their numbers stay saved but take effect again only when you set the check mark. A text with a fixed height is therefore never cut off at the max. height.

Also applies here: inner margins, border, position, behavior and visibility

Other objects also have these settings, and each is explained on a page of its own. The table names the default for the text, says briefly what is different for the text, and refers to the explanation.

SettingDefault hereExplained in
“Inner margins (mm)” with “Top”, “Bottom”, “Left” and “Right”empty (0)Border, background and colors: Inner margins
“Border & background” with “Background”, “Turn on border”, “Border color”, “Border thickness (pt)”, “Border lines (sides)” and “Corner radius (mm)”no background and no borderBorder, background and colors: Border and background and Border, background and colors: Color field and color picker; how tall background and border become in the PDF is described under Width and height
“Turn visibility rules on/off” (ⓘ) and “↳ Edit rule”always visibleVisibility
“X (mm)” and “Y (mm)”the position at creationPosition, size, rotation and arrangement: Position and size
“Behavior” under “Positioning behavior” (ⓘ)“Flowing on contact”, also in a group; a field that you drag onto a group or into a table cell, on the other hand, begins with “Fixed position (default)” (see Dragging a field onto the sheet)Positioning behavior and Positioning behavior: What a new object starts with; for an object below a text with automatic height Positioning behavior: Flowing below a text with automatic height
“Move along” (ⓘ) with the check mark “Move along with the object below”on; only for a text directly on the sheetPositioning behavior: Move along
“Minimum gap above (mm)” (ⓘ)emptyPositioning behavior: Minimum gap above and Positioning behavior: Which gap applies where
“Keep together at page break” (ⓘ)on; only for a text directly on the sheet, in a group you set it on the groupAt the page edge: The checkbox “Keep together at page break”; for long texts At the page edge: Recipe: a long text across several pages
“Arrangement” with the layer order0Position, size, rotation and arrangement: Arrangement: layer order and sequence
“Order in the group”the place at creation; only in a group or cell with at least two objectsPosition, size, rotation and arrangement: Order in the group

Taking out and deleting

“⬆ Take out of group” (only in a group, not in a table cell) takes the text up one level; from a group directly on the sheet, it becomes an object of its own just below the group (see Groups: Moving objects in and out). You delete with “🗑 Delete block” directly on the sheet (with a confirmation prompt) or “🗑 Delete element” in a group or cell (without a prompt); see Working on the canvas: Copying, pasting and deleting, where copying and pasting are also described.

Several texts selected, text in a grid cell

  • Several texts: You select several objects with Ctrl+click (see Working on the canvas: Several objects at once). Background and border of a text do not exist there; you change them on each text individually.
  • Grid cell: Older templates can still contain a grid (see Free-form tables). For a grid cell, the “Properties” window does not show the settings of a text but only the preview “(empty – click to edit)”, the button “✎ Edit text”, the color box “Cell background” and a note about merging. Line spacing, inner margins, border, size and positioning behavior are missing. The “Edit text” window opens there without paper; you also switch the basic style of the whole text there with B, I or U when everything is selected. If the section “Text box size” appears there, leave it unchanged (see The “Edit text” window: Text box size).

How fields are printed

How a field is printed depends on its type: text, number, monetary amount, date, date with time, yes/no or custom variable. Which type is printed how and where you set it is shown by the table under Numbers, currency and dates: How fields are printed. For a single number with its own decimal places or its own symbol, see Numbers, currency and dates: Decimal places and symbol for a single field, for the format of a single date field Numbers, currency and dates: The date format of a single field.

Dynamic text

A dynamic text is a spot in the text that reads differently depending on the data: a default and any number of “Except when …” cases. The default is printed unless the first matching rule applies. Empty content means: show nothing at this spot. If the whole text should change instead of one spot, use content depending on a condition.

  1. In the “Edit text” window, select the word, the spot or the marker that should change, and click “◑ Dynamic text”. The spot becomes a green pill, labeled with its first 20 characters, and the “Dynamic text” window opens. The previous content is the default.
  2. Click “Except when” and build the condition, for example “Land is DE”.
  3. Under “→ then show:”, click into the field and write in the large editor what should appear in this case; there you confirm with “Apply”.
  4. Click “Save” and then, in the “Edit text” window, “Apply”.

If nothing is selected or a pill is selected, the designer reports “Please select some text or a variable first.”. The button also exists in the branch of a dynamic text; dynamic texts can therefore be nested.

The “Dynamic text” window. At the top the title and the line “Shows the default — unless a rule applies (the first matching rule wins). Empty content = show nothing.” Below it a card “Default” with the text “30 Tage”. Next a card “Except when …” with the buttons ▲, ▼ and wastebasket at the top right and the condition builder: the choice “AND” is pressed, next to it “OR” and an ⓘ; below it a condition with the field “Rechnung › Kunde › Land”, the comparison “is” and the value “Deutschland”, then the buttons “Condition” and “Subgroup” and the line “→ then show:” with the text “14 Tage”. Below the card the button “Except when”, a gray-backed field “Result with the current sample data: 14 Tage” and the footer with “Remove dynamic behavior” on the left as well as “Cancel” and the blue button “Save” on the right.
A dynamic text with a default and one “Except when” rule.
  1. 1The default: it applies if no rule applies.
  2. 2Change the order or remove the rule.
  3. 3A rule with a condition; the first matching rule wins.
  4. 4What is printed in this case; a click opens the large editor.
  5. 5The result with the sample record.
  6. 6Writes default and rules into the pill; it is in the template only after “Apply”.
Part of the windowWhat it does
Title “Dynamic text” Below it is “Shows the default — unless a rule applies (the first matching rule wins). Empty content = show nothing.”. The window is centered.
Card “Default” Shows the default text in at most three lines; if empty, it says “(empty – show nothing here) · click to edit”. A click (mouse pointer: “Click to edit in the large editor”) opens it in the large editor with the bar “Dynamic text — Default”; the “Dynamic text” window is hidden for as long as it is open.
Card “Except when …” with “▲” “▼” “🗑” A rule from the condition builder with AND and OR (see Conditions: The builder) and the line “→ then show:” with a preview that opens the large editor on click. The bar above it is then called, for example, “Dynamic text — Except when Land = DE”, without a condition “Except when … (no condition yet)”. ▲ and ▼ change the order; the first matching rule wins. 🗑 (“Remove rule”) deletes the rule. A rule without a condition is dropped when saving. In a cell of a data table, different fields apply for the condition (see Conditions in a table cell).
“Except when” Adds an empty rule.
“Result with the current sample data:” Shows what would appear at this spot with the sample record, or “(nothing – hidden at this spot)”. Rules without a condition do not count in this.
“Remove dynamic behavior” Dissolves the pill (“Turns the pill back into plain text; the default text stays”); the default text stays in the text.
“Cancel” Closes the window. If there are changes, the designer asks “Discard the changes to the dynamic text?” (window “Changes not applied”, button “Discard”). A click next to it and Esc work the same way.
“Save” Writes default and rules into the pill. If you have not renamed the pill yourself, it gets a new label from the default (up to 20 characters, longer ones are shortened with “…”; if the default is empty, from the first rule, otherwise “dynamic”). Everything is in the template only after “Apply” in the “Edit text” window.

The footer with “Remove dynamic behavior”, “Cancel” and “Save” stays at the bottom when scrolling. You open an existing pill again by double-clicking or with “◑ Edit dynamic text”; a single click selects it and starts renaming its label (see The “Edit text” window: Markers in the text). Only the matching branch is printed, never the label. On the canvas, the pill appears unevaluated; what is printed is shown only by the line “Result with the current sample data:” and the full preview.

Content depending on a condition

If a whole text should read differently depending on the data, for example “Zahlbar bis …” or “Bereits bezahlt”, you give it versions. The first version whose condition is met is printed. If none is met, the text stays empty; there is no fallback to the old text.

  1. Select the text and, on the right in the properties, click “Conditional content …”. The previous text becomes version 1 without a condition, and the window “Conditional content — which version?” opens.
  2. For version 1, click the row “▸ Otherwise — always applies” and choose field, comparison and value. The row shows the condition as a sentence, for example “if Land = DE”.
  3. Click “Add version” and give the new version a condition, or leave the last version without a condition. Close with “✓ Done”.
  4. Open the window again (double-click the text) and, for a version, click “✎”. Write its text. With “◂ previous” and “next ▸” you switch to the neighboring version, “⚙ Manage versions …” takes you back to the versions window. After “Apply”, you are back on the canvas. On the right it says “2 versions — the first one whose condition is met is printed.”; the canvas shows the version that matches the sample record.

Good to know

A version without a condition always applies. If it is not at the end, the versions below it are never printed. So give version 1 a condition, or move it to the end with ▼.

The window “Conditional content — which version?” with the note “The FIRST version whose condition is met is printed. The name is just for you — it does not appear anywhere in the document.” Below it two cards. Version 1 carries the number “1.”, the name field “Ausland”, a wide row “▾ if Kunde › Land ≠ Deutschland” and, on the right, the blue pencil button as well as the buttons ▲ (grayed out), ▼ and ✕; below it the text line “Please transfer the invoice amount within 14 days.” and the expanded builder with the field “Kunde › Land”, the comparison “≠” and the value “Deutschland”. Version 2 is called “Inland”, shows “▸ Otherwise — always applies” and the text line “Bitte überweisen Sie den Betrag innerhalb von 14 Tagen.” At the bottom the footer with “Add version”, “Turn off conditional content” and the wide blue button “✓ Done”.
Two versions of a text: the first one whose condition is met is printed.
  1. 1The name of the version: for the overview only, it is not printed.
  2. 2The condition as a sentence; a click expands it.
  3. 3Field, comparison and value of the condition.
  4. 4The pencil opens the text of this version in the “Edit text” window.
  5. 5Change the order or remove the version.
  6. 6The footer: add a version, switch off versions or close the window.

The window also opens by double-clicking a text with versions, with “✎ Edit versions …” in the properties and with “⚙ Manage versions …” in the editor. At the top it says “The FIRST version whose condition is met is printed. The name is just for you — it does not appear anywhere in the document.”. The window can be resized by dragging. For each version there is:

SettingWhat it doesDefault
Number and field “Name (optional)” A name for the overview only (“A name for this version — for the overview only, it is not printed.”). Without a name, the condition appears as a sentence in lists and bars. empty
Condition as a sentence with “▸” or “▾” For example “if Kundenland = DE”, “if … is set”, “if … is empty” or “Otherwise — always applies”. A click (“Condition of this version — click to change”) expands and collapses the condition. collapsed
Field list The first entry “(always · otherwise)” means: no condition. Below it are the fields of the sources and their lookups; lists and custom variables do not exist here. A field that the list does not know appears as “… (not in the field list)” and is not lost. (always · otherwise)
Comparison “is set”, “is empty / no”, “is =”, “≠”, “>”, “<”, “≥”, “≤”. Appears only once a field is chosen. “is set” and “is empty / no” check like “is filled in” and “is empty” in the condition builder (see Conditions: Text, choice field and lookup); a yes/no field that is not set counts as No for “is empty / no”. For a choice field whose options the designer knows, only “is set”, “is empty / no”, “is =” and “≠” appear, for a multiple choice instead of the last two “contains” and “does not contain”; above it, “by option value” | “by text” switches as in the builder (see Conditions: Choice fields). is =
Value What is compared with (placeholder “Value (e.g. Germany, true)”). Only for comparisons that need a value. “true” and “false” count as Yes and No, a number like “1000,5” as a number, everything else as text. Write numbers without a thousands separator: “1.000,50” counts as text and is not compared as a number, “1.000” counts as 1. If the field stays empty, the version has no condition, even if the row above shows “if … = …”; the consequence is in the “Good to know” box further up. For “is empty”, choose the comparison “is empty / no”. For a choice field, choose the value “by option value” among its options (“— Choose a value —”); the comparison is then made via the code, and the condition as a sentence names the label. For a yes/no field, choose “Yes” or “No”. empty
“Without a condition this version always applies — the ones below it will then never be printed.” Orange warning for a version without a condition that is not the last one, also in the collapsed state. It disappears as soon as the version has a condition. Why the versions below are never printed is described in the “Good to know” box further up. –
“✎” and the text line Open the text of this version in the “Edit text” window (“Edit the text of this version”, “Click to edit”). The text line shows the text on one line, when empty “(empty – click to edit)”. After “Apply”, you are back on the canvas, not in this window. –
“▲” and “▼” Change the order (“move up — the higher up, the earlier it is checked”, “move down”). ▲ is disabled for the first version, ▼ for the last. –
“✕” Removes the version (“Remove this version”). If it is the only version, this ends the conditional content: your text stays as ordinary text, and the window closes. –

At the bottom of the window are three buttons:

  • “Add version” appends an empty version without a condition at the bottom and expands its condition right away.
  • “Turn off conditional content” (“The content of the first version stays as normal text.”) switches the versions off. The text of the first version stays as ordinary text, even if it is empty; the window closes.
  • “✓ Done” closes the window; Esc and a click next to it do the same. Names and conditions are already saved while you type.

If you edit the text of a version, above the toolbar (see The “Edit text” window: Layout of the window) is the bar “Conditional content — version N of M: »Name«”, without a name with the condition as a sentence; the mouse pointer shows the full sentence. “◂ previous” and “next ▸” first take over your text and then open the neighboring version; for the first or last version, respectively, they are disabled. “⚙ Manage versions …” (“Conditions, names and order — and from there into any other version.”) also takes over and opens the versions window. If you select everything in one version and switch B, I or U, this applies to the whole text, that is, to all versions (see The “Edit text” window: Bold, italic, underline and the whole text).

The condition of a version is a single comparison, without AND and OR. It has a simple input of its own and not the condition builder of the other places (see Conditions: Where conditions occur). If you need several conditions at once, insert a dynamic text within the text, or hide the text with a visibility rule (see Visibility). If a version carries a condition that this input cannot display, for example from an import or from an AI (a == 1 || b == 2, feld == ''), it appears in the box “Written by hand — and this is the condition that applies: …” above empty condition parts. It applies unchanged until you fill in the condition parts below it; then these replace it (see Conditions: Checking for empty in a condition written by hand).

If the text is in a cell of a data table, the versions are checked against the respective row; however, their field list offers only fields of the document, and a field of the document is not found by the condition in the row. If a text in a cell should differ per row, use a dynamic text with the fields under “Per row · …” (see Conditions in a table cell).

Limits and pitfalls

  • Fixed height: The canvas cuts it off, the PDF prints the whole text; see Width and height.
  • Long texts across several pages: A long text such as general terms and conditions continues over the page edge only if you remove the check mark “Keep together at page break”; the steps are described under At the page edge: Recipe: a long text across several pages. Two exceptions: a text that is taller than a whole sheet is split even with the check mark. And a text that is the first object on its sheet and fits on a whole sheet is not split even without the check mark; it extends over the margin at the bottom (see At the page edge: The first object on a page).
  • Blank lines: Blank lines at the very beginning of the text can in some cases result in one more line in print than you typed (see The “Edit text” window: Alignment). In a list, Enter makes a new bullet, Shift+Enter only a new line in the same bullet; empty bullets and empty lines at the end of a bullet are printed as the editor shows them.
  • Field values are longer than their names: The canvas shows names, the PDF the values. A text can thus get more lines and push objects below it. Check such places in the full preview (see Full preview and PDF: The full preview).
  • Fonts: Only what the font contains is printed. A character that is missing in the printed font appears in the PDF as an empty box; the “Special characters” window marks such characters (see The “Edit text” window: The window “Special characters”). Fonts of your own must be uploaded to Dynamics (see Image library and fonts: Managing fonts and Fonts and images: Providing fonts).
  • Line spacing in the editor: The “Edit text” window shows it only in part; what counts is the print (see Line spacing).
  • Image field as a marker: An image field that stands in the text as an ordinary marker prints nothing. You insert an image in the text with “🖼 Image” and “From the data” (see The “Edit text” window: An image in the middle of the text).
  • Fields of a rule on a list cannot currently be placed in a free text, see The “Edit text” window: Fields of a rule.
  • What the canvas does not evaluate: dynamic texts (see Dynamic text); what is printed is shown only by the full preview.
  • Links are clickable in the PDF only if the address begins with http://, https://, mailto: or tel:.

What changes in the document?

On the canvas

Fields appear as blue markers with their name, dynamic texts as green pills without evaluation. A text with versions shows the version that matches the sample record; visibility rules have no effect (see Visibility: What changes in the document?). A text with a fixed height is cut off, and a hatched strip shows the overflow (see Width and height). What the “Edit text” window changes on the canvas is described under The “Edit text” window: What changes in the document?.

In the PDF

Fields appear with their values, in the format of their type and the template settings. Only the matching version and the matching branch are printed; hidden texts are missing. A text with “Automatic height” grows with its content, a text with a fixed height is nevertheless printed in full; where the PDF cuts off is described under Position, size, rotation and arrangement: Where the PDF really cuts off. Objects below it move away according to their positioning behavior. What the “Edit text” window changes in the PDF, for example for links, is described under The “Edit text” window: What changes in the document?.