Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
PhpOffice\PhpSpreadsheet\Theme Class Reference

Public Member Functions

 getMajorFontComplexScript ()
 
 getMajorFontEastAsian ()
 
 getMajorFontLatin ()
 
 getMajorFontSubstitutions ()
 
 getMinorFontComplexScript ()
 
 getMinorFontEastAsian ()
 
 getMinorFontLatin ()
 
 getMinorFontSubstitutions ()
 
 getThemeColorName ()
 
 getThemeColors ()
 
 getThemeFontName ()
 
 setMajorFontValues (?string $latin, ?string $eastAsian, ?string $complexScript, ?array $substitutions)
 
 setMinorFontValues (?string $latin, ?string $eastAsian, ?string $complexScript, ?array $substitutions)
 
 setThemeColor (string $key, string $value)
 
 setThemeColorName (string $name, ?array $themeColors=null)
 
 setThemeFontName (?string $name)
 

Public Attributes

const COLOR_SCHEME_2007_2010
 
const COLOR_SCHEME_2007_2010_NAME = 'Office 2007-2010'
 
const COLOR_SCHEME_2013_PLUS
 
const COLOR_SCHEME_2013_PLUS_NAME = 'Office 2013+'
 
const FONTS_ARIAL_SUBSTITUTIONS
 
const FONTS_TIMES_SUBSTITUTIONS
 

Member Data Documentation

◆ COLOR_SCHEME_2007_2010

const PhpOffice\PhpSpreadsheet\Theme::COLOR_SCHEME_2007_2010
Initial value:
= [
'dk1' => '000000',
'lt1' => 'FFFFFF',
'dk2' => '1F497D',
'lt2' => 'EEECE1',
'accent1' => '4F81BD',
'accent2' => 'C0504D',
'accent3' => '9BBB59',
'accent4' => '8064A2',
'accent5' => '4BACC6',
'accent6' => 'F79646',
'hlink' => '0000FF',
'folHlink' => '800080',
]

◆ COLOR_SCHEME_2013_PLUS

const PhpOffice\PhpSpreadsheet\Theme::COLOR_SCHEME_2013_PLUS
Initial value:
= [
'dk1' => '000000',
'lt1' => 'FFFFFF',
'dk2' => '44546A',
'lt2' => 'E7E6E6',
'accent1' => '4472C4',
'accent2' => 'ED7D31',
'accent3' => 'A5A5A5',
'accent4' => 'FFC000',
'accent5' => '5B9BD5',
'accent6' => '70AD47',
'hlink' => '0563C1',
'folHlink' => '954F72',
]

The documentation for this class was generated from the following file: