\PhpOffice\PhpSpreadsheet\Writer\XlsxStringTable

Summary

Methods
Properties
Constants
getParentWriter()
__construct()
createStringTable()
writeStringTable()
writeRichText()
writeRichTextForCharts()
flipStringTable()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$parentWriter
N/A

Properties

Methods

createStringTable()

createStringTable(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet  $pSheet, array<mixed,string>  $pExistingTable = null) : array<mixed,string>

Create worksheet stringtable.

Parameters

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pSheet

Worksheet

array<mixed,string> $pExistingTable

Existing table to eventually merge with

Returns

array<mixed,string> —

String table for worksheet

writeStringTable()

writeStringTable(array<mixed,string>  $pStringTable) : string

Write string table to XML format.

Parameters

array<mixed,string> $pStringTable

Throws

\PhpOffice\PhpSpreadsheet\Writer\Exception

Returns

string —

XML Output

flipStringTable()

flipStringTable(array  $stringTable) : array

Flip string table (for index searching).

Parameters

array $stringTable

Stringtable

Returns

array