-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Embed pdf to Word Document #1141
Comments
@vasundhara0494 can you give me some example code for the embedding? I suspect a mimetype problem. |
@vasundhara0494 Can you write a small example how you load and embed the files? Meanwhile, can you edit
Add 'pdf' to the array of supported Ole's... And then try again... |
@FBnil I have made the following changes:
Instead of creating binary I have tried to put the pdf file as it is.
I have tried making the same changes for |
@vasundhara0494 Wow, thanks for so much information. I embedded a pdf the normal way in LibreOffice, and found that the mime is as follows: instead of |
@FBnil Tried that too. Not working! |
@vasundhara0494 @FBnil @RomanSyroeshko is anyone able to use PHPWord for pdf embeddings inside of Word successfully? We'd like to use this library instead of others out there but I'd like to know that it works. |
@tglines http:https://phpword.readthedocs.io/en/latest/elements.html#objects |
this is going to be difficult to investigate for me as I'm having the following issue: |
I am not able to embed pdf files to the word document as oleObject. Neither am I able to embed text files. Excel/doc/ppt/docx/pptx files are easily embedded though. Is there any compatibility issue with embedding Non-ms Office files?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: