Documentation

Theme
in package

Table of Contents

Constants

COLOR_SCHEME_2007_2010  = ['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_2007_2010_NAME  = 'Office 2007-2010'
COLOR_SCHEME_2013_PLUS  = ['dk1' => '000000', 'lt1' => 'FFFFFF', 'dk2' => '44546A', 'lt2' => 'E7E6E6', 'accent1' => '4472C4', 'accent2' => 'ED7D31', 'accent3' => 'A5A5A5', 'accent4' => 'FFC000', 'accent5' => '5B9BD5', 'accent6' => '70AD47', 'hlink' => '0563C1', 'folHlink' => '954F72']
COLOR_SCHEME_2013_PLUS_NAME  = 'Office 2013+'
FONTS_ARIAL_SUBSTITUTIONS  = ['Jpan' => 'MS Pゴシック', 'Hang' => '맑은 고딕', 'Hans' => '宋体', 'Hant' => '新細明體', 'Arab' => 'Arial', 'Hebr' => 'Arial', 'Thai' => 'Tahoma', 'Ethi' => 'Nyala', 'Beng' => 'Vrinda', 'Gujr' => 'Shruti', 'Khmr' => 'DaunPenh', 'Knda' => 'Tunga', 'Guru' => 'Raavi', 'Cans' => 'Euphemia', 'Cher' => 'Plantagenet Cherokee', 'Yiii' => 'Microsoft Yi Baiti', 'Tibt' => 'Microsoft Himalaya', 'Thaa' => 'MV Boli', 'Deva' => 'Mangal', 'Telu' => 'Gautami', 'Taml' => 'Latha', 'Syrc' => 'Estrangelo Edessa', 'Orya' => 'Kalinga', 'Mlym' => 'Kartika', 'Laoo' => 'DokChampa', 'Sinh' => 'Iskoola Pota', 'Mong' => 'Mongolian Baiti', 'Viet' => 'Arial', 'Uigh' => 'Microsoft Uighur', 'Geor' => 'Sylfaen']
FONTS_TIMES_SUBSTITUTIONS  = ['Jpan' => 'MS Pゴシック', 'Hang' => '맑은 고딕', 'Hans' => '宋体', 'Hant' => '新細明體', 'Arab' => 'Times New Roman', 'Hebr' => 'Times New Roman', 'Thai' => 'Tahoma', 'Ethi' => 'Nyala', 'Beng' => 'Vrinda', 'Gujr' => 'Shruti', 'Khmr' => 'MoolBoran', 'Knda' => 'Tunga', 'Guru' => 'Raavi', 'Cans' => 'Euphemia', 'Cher' => 'Plantagenet Cherokee', 'Yiii' => 'Microsoft Yi Baiti', 'Tibt' => 'Microsoft Himalaya', 'Thaa' => 'MV Boli', 'Deva' => 'Mangal', 'Telu' => 'Gautami', 'Taml' => 'Latha', 'Syrc' => 'Estrangelo Edessa', 'Orya' => 'Kalinga', 'Mlym' => 'Kartika', 'Laoo' => 'DokChampa', 'Sinh' => 'Iskoola Pota', 'Mong' => 'Mongolian Baiti', 'Viet' => 'Times New Roman', 'Uigh' => 'Microsoft Uighur', 'Geor' => 'Sylfaen']

Properties

$majorFontComplexScript  : string
$majorFontEastAsian  : string
$majorFontLatin  : string
$majorFontSubstitutions  : array<string|int, string>
Map of Major (header) fonts to write.
$minorFontComplexScript  : string
$minorFontEastAsian  : string
$minorFontLatin  : string
$minorFontSubstitutions  : array<string|int, string>
Map of Minor (body) fonts to write.
$themeColorName  : string
$themeColors  : array<string|int, string>
$themeFontName  : string

Methods

getMajorFontComplexScript()  : string
getMajorFontEastAsian()  : string
getMajorFontLatin()  : string
getMajorFontSubstitutions()  : array<string|int, mixed>
getMinorFontComplexScript()  : string
getMinorFontEastAsian()  : string
getMinorFontLatin()  : string
getMinorFontSubstitutions()  : array<string|int, mixed>
getThemeColorName()  : string
getThemeColors()  : array<string|int, mixed>
getThemeFontName()  : string
setMajorFontValues()  : self
setMinorFontValues()  : self
setThemeColor()  : self
setThemeColorName()  : self
setThemeFontName()  : self

Constants

COLOR_SCHEME_2007_2010

public mixed COLOR_SCHEME_2007_2010 = ['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_2007_2010_NAME

public mixed COLOR_SCHEME_2007_2010_NAME = 'Office 2007-2010'

COLOR_SCHEME_2013_PLUS

public mixed COLOR_SCHEME_2013_PLUS = ['dk1' => '000000', 'lt1' => 'FFFFFF', 'dk2' => '44546A', 'lt2' => 'E7E6E6', 'accent1' => '4472C4', 'accent2' => 'ED7D31', 'accent3' => 'A5A5A5', 'accent4' => 'FFC000', 'accent5' => '5B9BD5', 'accent6' => '70AD47', 'hlink' => '0563C1', 'folHlink' => '954F72']

COLOR_SCHEME_2013_PLUS_NAME

public mixed COLOR_SCHEME_2013_PLUS_NAME = 'Office 2013+'

FONTS_ARIAL_SUBSTITUTIONS

public mixed FONTS_ARIAL_SUBSTITUTIONS = ['Jpan' => 'MS Pゴシック', 'Hang' => '맑은 고딕', 'Hans' => '宋体', 'Hant' => '新細明體', 'Arab' => 'Arial', 'Hebr' => 'Arial', 'Thai' => 'Tahoma', 'Ethi' => 'Nyala', 'Beng' => 'Vrinda', 'Gujr' => 'Shruti', 'Khmr' => 'DaunPenh', 'Knda' => 'Tunga', 'Guru' => 'Raavi', 'Cans' => 'Euphemia', 'Cher' => 'Plantagenet Cherokee', 'Yiii' => 'Microsoft Yi Baiti', 'Tibt' => 'Microsoft Himalaya', 'Thaa' => 'MV Boli', 'Deva' => 'Mangal', 'Telu' => 'Gautami', 'Taml' => 'Latha', 'Syrc' => 'Estrangelo Edessa', 'Orya' => 'Kalinga', 'Mlym' => 'Kartika', 'Laoo' => 'DokChampa', 'Sinh' => 'Iskoola Pota', 'Mong' => 'Mongolian Baiti', 'Viet' => 'Arial', 'Uigh' => 'Microsoft Uighur', 'Geor' => 'Sylfaen']

FONTS_TIMES_SUBSTITUTIONS

public mixed FONTS_TIMES_SUBSTITUTIONS = ['Jpan' => 'MS Pゴシック', 'Hang' => '맑은 고딕', 'Hans' => '宋体', 'Hant' => '新細明體', 'Arab' => 'Times New Roman', 'Hebr' => 'Times New Roman', 'Thai' => 'Tahoma', 'Ethi' => 'Nyala', 'Beng' => 'Vrinda', 'Gujr' => 'Shruti', 'Khmr' => 'MoolBoran', 'Knda' => 'Tunga', 'Guru' => 'Raavi', 'Cans' => 'Euphemia', 'Cher' => 'Plantagenet Cherokee', 'Yiii' => 'Microsoft Yi Baiti', 'Tibt' => 'Microsoft Himalaya', 'Thaa' => 'MV Boli', 'Deva' => 'Mangal', 'Telu' => 'Gautami', 'Taml' => 'Latha', 'Syrc' => 'Estrangelo Edessa', 'Orya' => 'Kalinga', 'Mlym' => 'Kartika', 'Laoo' => 'DokChampa', 'Sinh' => 'Iskoola Pota', 'Mong' => 'Mongolian Baiti', 'Viet' => 'Times New Roman', 'Uigh' => 'Microsoft Uighur', 'Geor' => 'Sylfaen']

Properties

$majorFontComplexScript

private string $majorFontComplexScript = ''

$majorFontEastAsian

private string $majorFontEastAsian = ''

$majorFontLatin

private string $majorFontLatin = 'Cambria'

$majorFontSubstitutions

Map of Major (header) fonts to write.

private array<string|int, string> $majorFontSubstitutions = self::FONTS_TIMES_SUBSTITUTIONS

$minorFontComplexScript

private string $minorFontComplexScript = ''

$minorFontEastAsian

private string $minorFontEastAsian = ''

$minorFontLatin

private string $minorFontLatin = 'Calibri'

$minorFontSubstitutions

Map of Minor (body) fonts to write.

private array<string|int, string> $minorFontSubstitutions = self::FONTS_ARIAL_SUBSTITUTIONS

$themeColorName

private string $themeColorName = 'Office'

$themeColors

private array<string|int, string> $themeColors = self::COLOR_SCHEME_2007_2010

$themeFontName

private string $themeFontName = 'Office'

Methods

getMajorFontComplexScript()

public getMajorFontComplexScript() : string
Return values
string

getMajorFontEastAsian()

public getMajorFontEastAsian() : string
Return values
string

getMajorFontLatin()

public getMajorFontLatin() : string
Return values
string

getMajorFontSubstitutions()

public getMajorFontSubstitutions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getMinorFontComplexScript()

public getMinorFontComplexScript() : string
Return values
string

getMinorFontEastAsian()

public getMinorFontEastAsian() : string
Return values
string

getMinorFontLatin()

public getMinorFontLatin() : string
Return values
string

getMinorFontSubstitutions()

public getMinorFontSubstitutions() : array<string|int, mixed>
Return values
array<string|int, mixed>

getThemeColorName()

public getThemeColorName() : string
Return values
string

getThemeColors()

public getThemeColors() : array<string|int, mixed>
Return values
array<string|int, mixed>

getThemeFontName()

public getThemeFontName() : string
Return values
string

setMajorFontValues()

public setMajorFontValues(string|null $latin, string|null $eastAsian, string|null $complexScript, array<string|int, mixed>|null $substitutions) : self
Parameters
$latin : string|null
$eastAsian : string|null
$complexScript : string|null
$substitutions : array<string|int, mixed>|null
Return values
self

setMinorFontValues()

public setMinorFontValues(string|null $latin, string|null $eastAsian, string|null $complexScript, array<string|int, mixed>|null $substitutions) : self
Parameters
$latin : string|null
$eastAsian : string|null
$complexScript : string|null
$substitutions : array<string|int, mixed>|null
Return values
self

setThemeColor()

public setThemeColor(string $key, string $value) : self
Parameters
$key : string
$value : string
Return values
self

setThemeColorName()

public setThemeColorName(string $name[, array<string|int, mixed>|null $themeColors = null ]) : self
Parameters
$name : string
$themeColors : array<string|int, mixed>|null = null
Return values
self

setThemeFontName()

public setThemeFontName(string|null $name) : self
Parameters
$name : string|null
Return values
self

        
On this page

Search results