\PHPExcel_Writer_Excel2007_Comments

PHPExcel_Writer_Excel2007_Comments

Summary

Methods
Properties
Constants
setParentWriter()
getParentWriter()
__construct()
writeComments()
_writeComment()
writeVMLComments()
_writeVMLComment()
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

writeComments()

writeComments(\PHPExcel_Worksheet  $pWorksheet = null) : string

Write comments to XML format

Parameters

\PHPExcel_Worksheet $pWorksheet

Throws

\PHPExcel_Writer_Exception

Returns

string —

XML Output

_writeComment()

_writeComment(\PHPExcel_Shared_XMLWriter  $objWriter = null, string  $pCellReference = 'A1', \PHPExcel_Comment  $pComment = null, array  $pAuthors = null) 

Write comment to XML format

Parameters

\PHPExcel_Shared_XMLWriter $objWriter

XML Writer

string $pCellReference

Cell reference

\PHPExcel_Comment $pComment

Comment

array $pAuthors

Array of authors

Throws

\PHPExcel_Writer_Exception

writeVMLComments()

writeVMLComments(\PHPExcel_Worksheet  $pWorksheet = null) : string

Write VML comments to XML format

Parameters

\PHPExcel_Worksheet $pWorksheet

Throws

\PHPExcel_Writer_Exception

Returns

string —

XML Output

_writeVMLComment()

_writeVMLComment(\PHPExcel_Shared_XMLWriter  $objWriter = null, string  $pCellReference = 'A1', \PHPExcel_Comment  $pComment = null) 

Write VML comment to XML format

Parameters

\PHPExcel_Shared_XMLWriter $objWriter

XML Writer

string $pCellReference

Cell reference

\PHPExcel_Comment $pComment

Comment

Throws

\PHPExcel_Writer_Exception