22 $objWriter =
new XMLWriter(XMLWriter::STORAGE_MEMORY);
26 $objWriter->startDocument(
'1.0',
'UTF-8',
'yes');
29 $objWriter->startElement(
'Relationships');
30 $objWriter->writeAttribute(
'xmlns',
'http://schemas.openxmlformats.org/package/2006/relationships');
31 $objWriter->startElement(
'Relationship');
32 $objWriter->writeAttribute(
'Id',
'rId1');
33 $objWriter->writeAttribute(
'Type',
'http://schemas.microsoft.com/office/2006/relationships/vbaProjectSignature');
34 $objWriter->writeAttribute(
'Target',
'vbaProjectSignature.bin');
35 $objWriter->endElement();
36 $objWriter->endElement();
38 return $objWriter->getData();
getDiskCachingDirectory()
Get disk caching directory.
getParentWriter()
Get parent Xlsx object.
writeVBARelationships(Spreadsheet $spreadsheet)
Write relationships for a signed VBA Project.
getUseDiskCaching()
Get use disk caching where possible?