$parentWriter
$parentWriter : \PhpOffice\PhpSpreadsheet\Writer\Xlsx
Parent Xlsx object.
$parentWriter : \PhpOffice\PhpSpreadsheet\Writer\Xlsx
Parent Xlsx object.
getParentWriter() : \PhpOffice\PhpSpreadsheet\Writer\Xlsx
Get parent Xlsx object.
__construct(\PhpOffice\PhpSpreadsheet\Writer\Xlsx $pWriter)
Set parent Xlsx object.
\PhpOffice\PhpSpreadsheet\Writer\Xlsx | $pWriter |
writeWorksheetRelationships(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pWorksheet, integer $pWorksheetId = 1, boolean $includeCharts = false) : string
Write worksheet relationships to XML format.
Numbering is as follows: rId1 - Drawings rId_hyperlink_x - Hyperlinks
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $pWorksheet | |
integer | $pWorksheetId | |
boolean | $includeCharts | Flag indicating if we should write charts |
XML Output
writeDrawingRelationships(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pWorksheet, $chartRef, boolean $includeCharts = false) : string
Write drawing relationships to XML format.
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $pWorksheet | |
$chartRef | ||
boolean | $includeCharts | Flag indicating if we should write charts |
XML Output
writeUnparsedRelationship(\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet $pWorksheet, \PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, $relationship, $type)
\PhpOffice\PhpSpreadsheet\Worksheet\Worksheet | $pWorksheet | |
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | |
$relationship | ||
$type |
writeRelationship(\PhpOffice\PhpSpreadsheet\Shared\XMLWriter $objWriter, integer $pId, string $pType, string $pTarget, string $pTargetMode = '')
Write Override content type.
\PhpOffice\PhpSpreadsheet\Shared\XMLWriter | $objWriter | XML Writer |
integer | $pId | Relationship ID. rId will be prepended! |
string | $pType | Relationship type |
string | $pTarget | Relationship target |
string | $pTargetMode | Relationship target mode |