Rich Text Attribute

The RichTextAttribute allows the user to create rich text content. Rich text includes text in different colors, fonts and font sizes, images, bullet point- and numbered lists, hyperlinks, tables and more.

Example

XML Syntax

<RichTextAttribute Name="Description"> 
  <Template>Calibri11.rtf</Template>
</RichTextAttribute>

Appearance

XML Attributes

Template

Defines the rich text style for a RichTextAttribute such a font family, font size, line height etc. It is specified in the rtf file and needs to exist on the same folder level as the rvt file in which the attribute is used.

Inserting Rich Text attributes in Word Documents

When a RichTextAttribute value is inserted into a Word document, the content is displayed with the font family and font sizes used in the saved attribute value. The style does not adapt to the target word documents styles (as opposed to the behavior of the StringAttribute).

How to decide on a font family and font size

Therefore, the font family and font size defined in the .rft template shall correspond to the font family and font size used as Normal style in the organization's/customer's Master Word Template.

Last updated

Was this helpful?