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