Comments (3)
I have corrected this: if (count($elems) > 1 && $elems->item(0)->hasChildNodes()) {
By cons on the output file, I have the image that on the 1st page with an error at the opening (see pj).
cordially
from excel-merge.
Hi, I'm sorry that you have run into this problem. The problem is that I didn't explicitly add support for images, because I didn't need it myself. So in a way, this is not a bug, it's a lack of a feature 😐
Unfortunately, I don't have time now or in the near future to write this code. I barely have enough time to finish my paid projects, let alone my unpaid (open source) projects. I did correct the bug you found in the Styles.php file mentioned above, but the bigger issue (that merging these two files results in a broken file) is not addressed yet.
What you can try is adding an intermediate step and pass these two files through PHPExcel first. Basically you first read them with PHPExcel and then immediately write them out again. Then merge the files that were written by PHPExcel instead of the two files you attached. Seems that 'native' Excel files result in errors, and I don't know why. Not sure if this will help you though.
Good luck! And apologies that I can't be more helpful at this point.
from excel-merge.
If anyone wants to address this, please be my guest. I don't have time to implement it myself, unfortunately, so I'm closing this issue.
from excel-merge.
Related Issues (12)
- Cannot use object of type DOMNodeList as array HOT 2
- Errors HOT 4
- Support PHP 8.1 HOT 1
- Add PR #13 to a new tag HOT 3
- Got error Undefined offset: 164 HOT 9
- Question - Merging sheet content with the same name HOT 3
- Directory name lost HOT 1
- Temporary folder not unique HOT 1
- how can i integrate this with my laravel 5.2 ? HOT 2
- Getting ZipArchive::extractTo(): Invalid or uninitialized Zip object HOT 3
- Excel with images HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from excel-merge.