Code Monkey home page Code Monkey logo

Comments (3)

nikkyb8 avatar nikkyb8 commented on July 20, 2024

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).

my-filename-2.xlsx

cordially

from excel-merge.

infostreams avatar infostreams commented on July 20, 2024

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.

infostreams avatar infostreams commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.