Table of Contents

Method CreateOfficeDefault

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

CreateOfficeDefault()

Creates the Office default theme used when a document carries no theme part: the current Office theme (Aptos Display major, Aptos minor, the Office 2023 colour set).

public static DocumentTheme CreateOfficeDefault()

Returns

DocumentTheme

The default theme.

Remarks

This is what Word applies to a package that has no theme1.xml, and it is measured rather than assumed: Word's export of the corpus chart documents — bare packages with no theme part — sets their labels in Aptos and paints their series with 156082, E97132 and 196B24, the first three accents below, and the same package with an Office 2013 theme part added takes Calibri and 4472C4 instead. Until Phase 63 this returned the 2013 set, which was what Word applied a decade earlier and what no current Word applies to a bare package.