Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding OLEObject is not working #1350

Closed
SomayaMomtaz opened this issue Apr 15, 2018 · 3 comments
Closed

Adding OLEObject is not working #1350

SomayaMomtaz opened this issue Apr 15, 2018 · 3 comments

Comments

@SomayaMomtaz
Copy link

this is sample 16
expecting object added as icon or inline text or as object but nothing added i tried with diffrent files but still not working

no object added to word document in the result

<?php
require __DIR__ . '/vendor/autoload.php';

$phpWord = new \PhpOffice\PhpWord\PhpWord();
$section = $phpWord->addSection();
$section->addText('You can open this OLE object by double clicking on the icon:');
$section->addTextBreak(2);
$section->addOLEObject('resources/_sheet.xls');


### Context

* PHP 5:
* PHPWord version: 0.14
windows7 ultimate sp1
MS Office 2010
@SomayaMomtaz
Copy link
Author

Please help

@troosan
Copy link
Contributor

troosan commented Apr 18, 2018

@troosan troosan closed this as completed Apr 18, 2018
@sambenne
Copy link

This is still broken in version 0.18.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants