\PhpOffice\PhpSpreadsheet\Writer\XlsxTheme

Summary

Methods
Properties
Constants
getParentWriter()
__construct()
writeTheme()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
writeFonts()
writeColourScheme()
$parentWriter
$majorFonts
$minorFonts
$colourScheme
N/A

Properties

$majorFonts

$majorFonts : array

Map of Major fonts to write.

Type

array — of string

$minorFonts

$minorFonts : array

Map of Minor fonts to write.

Type

array — of string

$colourScheme

$colourScheme : array

Map of core colours.

Type

array — of string

Methods

writeTheme()

writeTheme(\PhpOffice\PhpSpreadsheet\Spreadsheet  $spreadsheet) : string

Write theme to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet

Returns

string —

XML Output

writeFonts()

writeFonts(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter  $objWriter, string  $latinFont,   $fontSet) : string

Write fonts to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter
string $latinFont
$fontSet

Returns

string —

XML Output

writeColourScheme()

writeColourScheme(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter  $objWriter) : string

Write colour scheme to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter

Returns

string —

XML Output