Font Themes
Font themes define the typefaces and bullet point styles that are made available to users in Microsoft Office via the primedocs ribbon. They are configured per organizational unit and inherited by all child OUs.
Configuration
Font themes are stored as XML in the Font Theme field of the organizational unit.
Example
<FontTheme>
<MajorFont>Calibri Light</MajorFont>
<MinorFont>Calibri</MinorFont>
<Fonts>
<Font>Arial</Font>
<Font>Verdana</Font>
</Fonts>
<Bullets>
<CharacterBullet
translate-DisplayName="Bullets.Arrow"
TextIndent="0.8"
TextIndentRelativeToFontSize="18"
SizeFactor="1.2"
CharCode="252"
FontName="Wingdings">
<Color>
<ThemeIndex>Accent1</ThemeIndex>
</Color>
</CharacterBullet>
<CharacterBullet
translate-DisplayName="Bullets.Dash"
TextIndent="0.8"
TextIndentRelativeToFontSize="18"
SizeFactor="1.0"
CharCode="150"
FontName="Arial">
<Color>
<Hex>000000</Hex>
</Color>
</CharacterBullet>
<ImageBullet TextIndent="0.8" TextIndentRelativeToFontSize="18">
<Base64Png>iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAAXNSR0IArs4c6Q==</Base64Png>
</ImageBullet>
</Bullets>
</FontTheme>
Elements
<MajorFont>
The heading font — corresponds to the Office theme "Headings" font. Used for heading styles in Word and PowerPoint.
<MinorFont>
The body font — corresponds to the Office theme "Body" font. Used for standard paragraph text.
<Fonts> (optional)
A list of additional <Font> elements. These fonts are offered to users via the primedocs ribbon as quick-access options, supplementing the standard Office font list.
<Fonts>
<Font>Consolas</Font>
<Font>Comic Sans MS</Font>
</Fonts>
<Bullets> (optional)
Defines the bullet point styles offered to users in the primedocs ribbon. Two types are supported:
<CharacterBullet>
A bullet defined by a character from a symbol font.
| Attribute | Description |
|---|---|
translate-DisplayName | Translation key for the bullet name. Use DisplayName for a plain string. |
TextIndent | Indent of the bullet text in centimetres. |
TextIndentRelativeToFontSize | Font size (pt) at which the TextIndent value applies. |
SizeFactor | Scale factor for the bullet character relative to the text font size. |
CharCode | Unicode character code of the bullet symbol. |
FontName | Font family containing the symbol (e.g. Wingdings, Arial). |
The <Color> child element sets the bullet color:
<!-- Use a theme accent color -->
<Color>
<ThemeIndex>Accent1</ThemeIndex>
</Color>
<!-- Use a fixed hex color -->
<Color>
<Hex>FF0000</Hex>
</Color>
Valid ThemeIndex values: Dark1, Light1, Dark2, Light2, Accent1–Accent6, Hyperlink, FollowedHyperlink.
<ImageBullet>
A bullet defined by a PNG image encoded as a Base64 string.
| Attribute | Description |
|---|---|
TextIndent | Indent of the bullet text in centimetres. |
TextIndentRelativeToFontSize | Font size (pt) at which the TextIndent value applies. |
<ImageBullet TextIndent="0.8" TextIndentRelativeToFontSize="18">
<Base64Png>iVBORw0KGgo...</Base64Png>
</ImageBullet>
Inheritance
If no font theme is configured on an OU, the configuration from the nearest parent OU that has one is used. To override the parent, define a <FontTheme> element on the child OU.
Font and bullet changes take effect the next time a user synchronises primedocs Desktop or refreshes the web client.