Theme

Overview

Theme is a class in Aspose.Words FOSS for Java. Inherits from: IThemeProvider, IDmlExtensionListSource, Cloneable.

Represents document Theme, and provides access to main theme parts including MajorFonts, MinorFonts and Colors To learn more, visit the Working with Styles and Themes documentation article.

Edition status of its 6 listed members (a property and its accessor methods are listed separately, overloads once): 6 not yet exercised by a verified example.

This class declares 3 methods for Theme objects in Java programs. Available methods include: getColors, getMajorFonts, getMinorFonts. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: colors, majorFonts, minorFonts.

Properties

NameTypeAccessDescription
majorFontsThemeFontsReadAllows to specify the set of major fonts for different languages.
minorFontsThemeFontsReadAllows to specify the set of minor fonts for different languages.
colorsThemeColorsReadAllows to specify the set of theme colors for the document.

Methods

SignatureDescription
getMajorFonts() → ThemeFontsAllows to specify the set of major fonts for different languages.
getMinorFonts() → ThemeFontsAllows to specify the set of minor fonts for different languages.
getColors() → ThemeColorsAllows to specify the set of theme colors for the document.

See Also