\PhpOffice\PhpSpreadsheet\Writer\XlsxComments

Summary

Methods
Properties
Constants
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

$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 —

writeComments()

writeComments(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet  $pWorksheet) : string

Write comments to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pWorksheet

Returns

string —

XML Output

writeVMLComments()

writeVMLComments(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet  $pWorksheet) : string

Write VML comments to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pWorksheet

Returns

string —

XML Output

writeComment()

writeComment(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter  $objWriter, string  $pCellReference, \PhpOffice\PhpSpreadsheet\Comment  $pComment, array  $pAuthors) : void

Write comment to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter

XML Writer

string $pCellReference

Cell reference

\PhpOffice\PhpSpreadsheet\Comment $pComment

Comment

array $pAuthors

Array of authors

writeVMLComment()

writeVMLComment(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter  $objWriter, string  $pCellReference, \PhpOffice\PhpSpreadsheet\Comment  $pComment) : void

Write VML comment to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter

XML Writer

string $pCellReference

Cell reference, eg: 'A1'

\PhpOffice\PhpSpreadsheet\Comment $pComment

Comment