\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

$parentWriter

$parentWriter : \PhpOffice\PhpSpreadsheet\Writer\Xlsx

Parent Xlsx object.

Type

Xlsx

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 —

createStringTable()

createStringTable(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet  $pSheet, string[]  $pExistingTable = null) : string[]

Create worksheet stringtable.

Parameters

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pSheet

Worksheet

string[] $pExistingTable

Existing table to eventually merge with

Returns

string[] —

String table for worksheet

writeStringTable()

writeStringTable(string[]  $pStringTable) : string

Write string table to XML format.

Parameters

string[] $pStringTable

Returns

string —

XML Output

writeRichText()

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

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) : void

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 —