\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

$parentWriter

$parentWriter : \PhpOffice\PhpSpreadsheet\Writer\Xlsx

Parent Xlsx object.

Type

Xlsx

$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

getParentWriter()

getParentWriter() : \PhpOffice\PhpSpreadsheet\Writer\Xlsx

Get parent Xlsx object.

Returns

\PhpOffice\PhpSpreadsheet\Writer\Xlsx —

__construct()

__construct(\PhpOffice\PhpSpreadsheet\Writer\Xlsx  $pWriter) : mixed

Set parent Xlsx object.

Parameters

\PhpOffice\PhpSpreadsheet\Writer\Xlsx $pWriter

Returns

mixed —

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, mixed  $fontSet) : string

Write fonts to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter
string $latinFont
mixed $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