Skip to main content

Text

Element type: Dictionary

This component allows you to display a text to the end user.

Keys

NameTypePossible valuesRequired
TypeStringTextRequired
TextString-Required
TextFontConfigurationDictionary (Font)-
MarginsDictionary (Margins)-
BorderDictionary (Border)-
Condition PRODictionary (Condition)-

Detail

Type Required

Type: String
Explanation: The type of the component which has to be Text

Text Required

Type:String
Explanation: The text which will be displayed as content.

TextFontConfiguration

Type: Dictionary (Font)
Explanation: Allow to customize the font to use for the text.

Margins

Type: Dictionary (Margins)
Explanation: Add padding to the component's sides.

Border

Type: Dictionary (Border)
Explanation: Add a top or bottom border to a component.

Condition PRO

Type: Dictionary (Condition)
Explanation: Allows to hide or show the component using a boolean expression.

Example

The following displays an innovative stub text.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<!-- ... -->
<key>Slides</key>
<array>
<dict>
<key>Containers</key>
<array>
<dict>
<key>Components</key>
<array>
<dict>
<key>Type</key>
<string>Text</string>
<key>Text</key>
<string>Lorem ipsum dolor sit amet...</string>
</dict>
</array>
</dict>
</array>
</dict>
</array>
<!-- ... -->
</dict>
</plist>