Code Monkey home page Code Monkey logo

Comments (4)

amanfredi avatar amanfredi commented on June 25, 2024

I think supporting this would be quite challenging. The XML data format is not friendly in any way. As I recall, Excel itself does not handle large spreadsheets very gracefully.

from rubyxl.

brazir avatar brazir commented on June 25, 2024

older versions of excel i think were limited to 64k lines and newer versions implement some kind of paging so performance in newer versions of excel shouldn't be that terrible. However, as amenfredi commented it wouldn't be a simple task to implement a stream if you are looking into this and you only need to output it then you should be able to just have a blank excel file saved some where and then you could copy it open the archive and read in the excel worksheet and then just insert a bunch of cells as text.

  1. read in the file
  2. print the top half of the file to some new file
  3. transform the data row you have and then output it should be simple
  4. print the bottom of the file

in the archive the file would be in xl > worksheets > sheet1.xml
the section you would add it into is sheetdata
and example of a row is


0

from rubyxl.

brazir avatar brazir commented on June 25, 2024

lol github converted the xml I included

they look basicaly like
row r="1"
c r="A1" s="1" t="s"
v 0 /v
/c
/row

from rubyxl.

weshatheleopard avatar weshatheleopard commented on June 25, 2024

The problem is that the files are severely interconnected. Besides, how do you imagine further manipulating that Excel file in, well, Excel without loading it into memory? I'm afraid this request is not doable.

from rubyxl.

Related Issues (20)

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.