Comments (4)
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.
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.
- read in the file
- print the top half of the file to some new file
- transform the data row you have and then output it should be simple
- 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.
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.
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)
- How to change the default data type of a column?
- RubyZip 3.0 will introduce breaking changes that rubyXL will currently depend upon HOT 1
- Got a string with a part missing when i read value from cell. HOT 1
- Cannot open xlsx file using rubyXL HOT 3
- cell and styles.xml HOT 1
- can't change border diagonal
- "Nokogiri::XML::SyntaxError (1:1: FATAL: Document is empty)" on parsing the buffer more than once HOT 1
- GitHub sponsor/open collective HOT 2
- `insert_column` with existing styled cell doesn't set cell `@worksheet`, causing failure in `LegacyCell#validate_worksheet` HOT 1
- How can I make a cell in the sheet dropdown list with accept multiple values? (multiple selection)? HOT 1
- Storage class not found for docProps/app.xml and xl/workbook.xml leading to error opening file
- AWS setup for E-mail processing HOT 1
- MissingFile error during send_file in rails
- Re-open #332
- undefined method `change_row_italics' HOT 1
- Obscure error raised when calling `parse_buffer` with an empty buffer HOT 1
- when i parse a xlsx file, change_contents not found. and how can i change merged cell content? HOT 1
- External link can not write to new file
- `#parse_buffer` unexpectedly modifies input buffer HOT 3
- Error Parsing Xlsx when it has links to other files
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 rubyxl.