-
Notifications
You must be signed in to change notification settings - Fork 2.7k
PHPword: insert chart in template #1864
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
Conversation
|
@dbarzin just tried this from your repo but even the sample just returns a corrupt docx file? |
|
Check made from my github and it is working fine. Here is what I have done : git clone https://github.com/dbarzin/PHPWord The generated file is in results/Sample_41_TemplateSetChart.docx |
fixes #1865 Colors not applied correcty in stacked_column charts
|
Add fixes for #1865 Colors not applied correcty in stacked_column charts |
|
I was doing it directly from the browser and when it generated the document it hasn't put anything inside the content_types which is why it was then corrupt I had to change it to the following to get it to work Also correct me if I'm wrong but your most recent commit about colours looks like you've removed all the ability to write charts? lol Looks like stamped over Part\chart.php with Element\chart.php :) |
This reverts commit c79653c.
|
The invalid commit has been reverted. Have you tried the sample 41(Sample_41_TemplateSetChart.php) ? For an easy access to those samples launch php -S localhost:8000 in the samples directory then browse to http://localhost:8000 to view the samples. |
|
Yes I have and it doesn't work in Windows Word, haven't tried Openoffice. |
|
I confirm that the file generated could not be open with Word. I try to
find out why this week.
Le lun. 8 juin 2020 à 10:07, Stephen <notifications@github.com> a écrit :
… Yes I have and it doesn't work in Windows Word, haven't tried Openoffice.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1864 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKJU4KDQ57X4WOEDRVUJW2LRVSL4RANCNFSM4M3JHWCQ>
.
|
This reverts commit c79653c.
|
I have pushed a fix
Le lun. 8 juin 2020 à 16:25, didier barzin <didier@barzin.be> a écrit :
… I confirm that the file generated could not be open with Word. I try to
find out why this week.
Le lun. 8 juin 2020 à 10:07, Stephen ***@***.***> a écrit :
> Yes I have and it doesn't work in Windows Word, haven't tried Openoffice.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#1864 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AKJU4KDQ57X4WOEDRVUJW2LRVSL4RANCNFSM4M3JHWCQ>
> .
>
|
|
will be merged with #2012 |
Description
Add a function in the Word templateProcessor
Fixes # 1058
Checklist:
composer run-script check --timeout=0and no errors were reported