class PHPExcel_Writer_Excel2007_StringTable extends PHPExcel_Writer_Excel2007_WriterPart

PHPExcelWriterExcel2007_StringTable

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Methods

setParentWriter(PHPExcel_Writer_IWriter $pWriter = null)

Set parent IWriter object

__construct(PHPExcel_Writer_IWriter $pWriter = null)

Set parent IWriter object

string[]
createStringTable(PHPExcel_Worksheet $pSheet = null, string[] $pExistingTable = null)

Create worksheet stringtable

string
writeStringTable(string[] $pStringTable = null)

Write string table to XML format

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

Write Rich Text

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

Write Rich Text

array
flipStringTable(array $stringTable = array())

Flip string table (for index searching)

Details

setParentWriter(PHPExcel_Writer_IWriter $pWriter = null)

Set parent IWriter object

Parameters

PHPExcel_Writer_IWriter $pWriter

Exceptions

PHPExcel_Writer_Exception

PHPExcel_Writer_IWriter getParentWriter()

Get parent IWriter object

__construct(PHPExcel_Writer_IWriter $pWriter = null)

Set parent IWriter object

Parameters

PHPExcel_Writer_IWriter $pWriter

Exceptions

PHPExcel_Writer_Exception

at line 47
string[] createStringTable(PHPExcel_Worksheet $pSheet = null, string[] $pExistingTable = null)

Create worksheet stringtable

Parameters

PHPExcel_Worksheet $pSheet Worksheet
string[] $pExistingTable Existing table to eventually merge with

Return Value

string[] String table for worksheet

Exceptions

PHPExcel_Writer_Exception

at line 95
string writeStringTable(string[] $pStringTable = null)

Write string table to XML format

Parameters

string[] $pStringTable

Return Value

string XML Output

Exceptions

PHPExcel_Writer_Exception

at line 149
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

Exceptions

PHPExcel_Writer_Exception

at line 233
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

Exceptions

PHPExcel_Writer_Exception

at line 306
array flipStringTable(array $stringTable = array())

Flip string table (for index searching)

Parameters

array $stringTable Stringtable

Return Value

array