Namespace EasyXLS.Themes
Class ExcelTheme
System.Object
EasyXLS.Themes.ExcelTheme
public class ExcelTheme
extends System.Object
This class stores the theme information like theme colors, theme fonts and theme effects.
 A theme can be assigned to the document.
- 
Constructor SummaryConstructorsConstructorDescriptionDefines a theme that is initialized with the default Office theme schemes: colors, fonts and effects.ExcelTheme(System.String builtInTheme) Defines a theme that is one of the built-in themes.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the color scheme of the theme.Returns the effect scheme of the theme.Returns the font scheme of the theme.System.StringgetName()Returns the name of the theme.voidInitAs(System.String builtInTheme) Initializes the theme that is one of the built-in themes.voidsetColorScheme(ExcelColorScheme colorScheme) Sets the color scheme of the theme.voidsetEffectScheme(ExcelEffectScheme effectScheme) Sets the effect scheme of the theme.voidsetFontScheme(ExcelFontScheme fontScheme) Sets the font scheme of the theme.voidsetName(System.String name) Sets the name of the theme.Methods inherited from class System.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Constructor Details- 
ExcelThemepublic ExcelTheme()Defines a theme that is initialized with the default Office theme schemes: colors, fonts and effects.
- 
ExcelThemepublic ExcelTheme(System.String builtInTheme) Defines a theme that is one of the built-in themes.- Parameters:
- builtInTheme- the built-in theme. Possible values are available in- Themeclass.
 
 
- 
- 
Method Details- 
getNamepublic System.String getName()Returns the name of the theme.- Returns:
- the name of the theme
- See Also:
 
- 
setNamepublic void setName(System.String name) Sets the name of the theme.- Parameters:
- name- the name of the theme
- See Also:
 
- 
getColorSchemeReturns the color scheme of the theme.- Returns:
- the color scheme of the theme
- See Also:
 
- 
setColorSchemeSets the color scheme of the theme.- Parameters:
- colorScheme- the color scheme of the theme.
- See Also:
 
- 
getFontSchemeReturns the font scheme of the theme.- Returns:
- the font scheme of the theme
- See Also:
 
- 
setFontSchemeSets the font scheme of the theme.- Parameters:
- fontScheme- the font scheme of the theme.
- See Also:
 
- 
getEffectSchemeReturns the effect scheme of the theme.- Returns:
- the effect scheme of the theme
- See Also:
 
- 
setEffectSchemeSets the effect scheme of the theme.- Parameters:
- effectScheme- the effect scheme of the theme.
- See Also:
 
- 
InitAspublic void InitAs(System.String builtInTheme) Initializes the theme that is one of the built-in themes.- Parameters:
- builtInTheme- the built-in theme. Possible values are available in- Themeclass.
 
 
-