\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

Returns

string —

XML Output

writeRichText()

writeRichText(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter  $objWriter, \PhpOffice\PhpSpreadsheet\RichText\RichText  $pRichText, string  $prefix = null) 

Write Rich Text.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter

XML Writer

\PhpOffice\PhpSpreadsheet\RichText\RichText $pRichText

Rich text

string $prefix

Optional Namespace prefix

writeRichTextForCharts()

writeRichTextForCharts(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter  $objWriter, \PhpOffice\PhpSpreadsheet\RichText\RichText|string  $pRichText = null, string  $prefix = null) 

Write Rich Text.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter

XML Writer

\PhpOffice\PhpSpreadsheet\RichText\RichText|string $pRichText

text string or Rich text

string $prefix

Optional Namespace prefix

flipStringTable()

flipStringTable(array  $stringTable) : array

Flip string table (for index searching).

Parameters

array $stringTable

Stringtable

Returns

array