\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

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

writeDrawings()

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

Write drawings to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pWorksheet
bool $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, int  $pRelationId = -1) : void

Write drawings to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter

XML Writer

\PhpOffice\PhpSpreadsheet\Chart\Chart $pChart
int $pRelationId

writeDrawing()

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

Write drawings to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter

XML Writer

\PhpOffice\PhpSpreadsheet\Worksheet\BaseDrawing $pDrawing
int $pRelationId
null|int $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) : \PhpOffice\PhpSpreadsheet\Worksheet\Drawing[]

Get an array of all drawings.

Parameters

\PhpOffice\PhpSpreadsheet\Spreadsheet $spreadsheet

Returns

\PhpOffice\PhpSpreadsheet\Worksheet\Drawing[] —

All drawings in PhpSpreadsheet

writeVMLHeaderFooterImage()

writeVMLHeaderFooterImage(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter  $objWriter, string  $pReference, \PhpOffice\PhpSpreadsheet\Worksheet\HeaderFooterDrawing  $pImage) : void

Write VML comment to XML format.

Parameters

\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter

XML Writer

string $pReference

Reference

\PhpOffice\PhpSpreadsheet\Worksheet\HeaderFooterDrawing $pImage

Image

writeHyperLinkDrawing()

writeHyperLinkDrawing(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter  $objWriter, null|int  $hlinkClickId) : void

Parameters

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