\PHPExcel_Writer_Excel2007_Comments

PHPExcel_Writer_Excel2007_Comments

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

Summary

Methods
Properties
Constants
setParentWriter()
getParentWriter()
__construct()
writeComments()
writeVMLComments()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
writeComment()
writeVMLComment()
$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

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

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

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