Dynamic Text Properties
Auto convert to nonbreaking spaces and hyphens
There are times when you do not want the variable data to break across paragraph lines.
One option is to use InDesign's No Break feature on static or dynamic text (content objects) to prevent selected text from breaking across lines. However, this InDesign feature is not available when using XMPie's XLIM document format, and sometimes it prevents breaks that you do want (for example, the period at the end of a sentence).
Another option is to use Auto Convert to Nonbreaking Spaces and Hyphens, which will replace any spaces or hyphens coming in from a text content object value with their special, nonbreaking across lines, characters.
To set nonbreaking spaces and hyphens:
-
Select the text of the text content object.
-
Right-click it, and then select DynamicContent > Auto convert to nonbreaking spaces and hyphens.
Dynamic text file nested composition
Text file content objects will import text values or formatted text values from a given file (text file asset) into your document template. Use nested composition to allow the inserted content object values to be calculated and placed within your text files before the text file is imported into the template.
Content objects can be added in two ways:
-
Using double-curly brackets containing the content object name (for example, {{CouponAmount}} ). This is best used within Adobe InDesign tagged text, rich text, plain text, or Microsoft Word document files.
-
For XNIP (the XLIM version of a tagged-text file), you will place the content object into the text before you generate the XNIP file. This will put our code within the tagged text file.
To set nested composition for a text file content object:
-
Select the text of the text file content object.
-
Right-click it, and then select DynamicContent > Enable Nested Composition.