\PHPExcel_Writer_Excel2007_StringTable

PHPExcel_Writer_Excel2007_StringTable

Summary

Methods
Properties
Constants
setParentWriter()
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

setParentWriter()

setParentWriter(\PHPExcel_Writer_IWriter  $pWriter = null) 

Set parent IWriter object

Parameters

\PHPExcel_Writer_IWriter $pWriter

Throws

\PHPExcel_Writer_Exception

getParentWriter()

getParentWriter() : \PHPExcel_Writer_IWriter

Get parent IWriter object

Throws

\PHPExcel_Writer_Exception

Returns

\PHPExcel_Writer_IWriter

__construct()

__construct(\PHPExcel_Writer_IWriter  $pWriter = null) 

Set parent IWriter object

Parameters

\PHPExcel_Writer_IWriter $pWriter

Throws

\PHPExcel_Writer_Exception

createStringTable()

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

Create worksheet stringtable

Parameters

\PHPExcel_Worksheet $pSheet

Worksheet

array<mixed,string> $pExistingTable

Existing table to eventually merge with

Throws

\PHPExcel_Writer_Exception

Returns

array<mixed,string> —

String table for worksheet

writeStringTable()

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

Write string table to XML format

Parameters

array<mixed,string> $pStringTable

Throws

\PHPExcel_Writer_Exception

Returns

string —

XML Output

writeRichText()

writeRichText(\PHPExcel_Shared_XMLWriter  $objWriter = null, \PHPExcel_RichText  $pRichText = null, string  $prefix = NULL) 

Write Rich Text

Parameters

\PHPExcel_Shared_XMLWriter $objWriter

XML Writer

\PHPExcel_RichText $pRichText

Rich text

string $prefix

Optional Namespace prefix

Throws

\PHPExcel_Writer_Exception

writeRichTextForCharts()

writeRichTextForCharts(\PHPExcel_Shared_XMLWriter  $objWriter = null, string|\PHPExcel_RichText  $pRichText = null, string  $prefix = NULL) 

Write Rich Text

Parameters

\PHPExcel_Shared_XMLWriter $objWriter

XML Writer

string|\PHPExcel_RichText $pRichText

text string or Rich text

string $prefix

Optional Namespace prefix

Throws

\PHPExcel_Writer_Exception

flipStringTable()

flipStringTable(array  $stringTable = array()) : array

Flip string table (for index searching)

Parameters

array $stringTable

Stringtable

Returns

array