\PhpOffice\PhpSpreadsheet\Writer\XlsxDrawing

Summary

Methods
Properties
Constants
getParentWriter()
__construct()
writeDrawings()
writeChart()
writeDrawing()
writeVMLHeaderFooterImages()
allDrawings()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
writeVMLHeaderFooterImage()
writeHyperLinkDrawing()
$parentWriter
N/A

Properties

Methods

writeDrawings()

writeDrawings(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet  $pWorksheet, boolean  $includeCharts = false) : string

Write drawings to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pWorksheet
boolean $includeCharts

Flag indicating if we should include drawing details for charts

Returns

string —

XML Output

writeChart()

writeChart(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter  $objWriter, \PhpOffice\PhpSpreadsheet\Chart\Chart  $pChart, integer  $pRelationId = -1) 

Write drawings to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter

XML Writer

\PhpOffice\PhpSpreadsheet\Chart\Chart $pChart
integer $pRelationId

writeDrawing()

writeDrawing(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter  $objWriter, \PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing  $pDrawing, integer  $pRelationId = -1, null|integer  $hlinkClickId = null) 

Write drawings to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter

XML Writer

\PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing $pDrawing
integer $pRelationId
null|integer $hlinkClickId

writeVMLHeaderFooterImages()

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

Write VML header/footer images to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pWorksheet

Returns

string —

XML Output

allDrawings()

allDrawings(\PhpOffice\PhpSpreadsheet\Spreadsheet  $spreadsheet) : array<mixed,\PhpOffice\PhpSpreadsheet\Worksheet\Drawing>

Get an array of all drawings.

Parameters

\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet

Returns

array<mixed,\PhpOffice\PhpSpreadsheet\Worksheet\Drawing> —

All drawings in PhpSpreadsheet

writeHyperLinkDrawing()

writeHyperLinkDrawing(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter  $objWriter, null|integer  $hlinkClickId) 

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter
null|integer $hlinkClickId