GithubHelp home page GithubHelp logo

elxml's People

Contributors

alevkon avatar chevett avatar cowabunga1 avatar dunkelrot avatar grin0c avatar kamikat avatar khamasaki avatar lordfriend avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

elxml's Issues

patternFill => bgColor seems useless to set colors.

Hello,
I was looking for a way to fix the color of fonts (by setting cells of course)
Unfortunately, patternFill => bgColor seems useless to set the color.
Sorry if it is not an issue and Thanks in advance for bug fixing

Formula cells don't save correctly

When setting a cell type to "CELL_TYPE_FORMULAR" and the value to a formula string e.g. =SUM(B2:H2) the resulting spreadsheet loads the formula as if it was a string. The cell displays the formula as opposed to actually doing the calculation and displaying the result.

Small error on pattern constants

Small error on pattern constants :
/** @constant PATTERN_TYPE_DARK_DOWN /
exports.PATTERN_TYPE_DARK_DOWN = "darkDown";
/
* @constant PATTERN_TYPE_DARK_DOWN /
exports.PATTERN_TYPE_DARK_DOWN = "darkUp";
Should be :
/
* @constant PATTERN_TYPE_DARK_UP */
exports.PATTERN_TYPE_DARK_UP = "darkUp";

Big Data - process out of memory

FATAL ERROR: CALL_AND_RETRY_2 Allocation failed - process out of memory

on a large amount of rows and columns
more than > 100.000 rows
and > 5 columns

Can't resolve 'fs'

I'm currently getting Can't resolve 'fs' errors in several modules:

Module not found: Error: Can't resolve 'fs' in '\node_modules\archiver\lib'
Module not found: Error: Can't resolve 'fs' in \node_modules\elxml'
Module not found: Error: Can't resolve 'fs' in '\node_modules\fs.realpath'
Module not found: Error: Can't resolve 'fs' in '\node_modules\glob'
Module not found: Error: Can't resolve 'fs' in '\node_modules\graceful-fs'

License

Hi. This is a great library! Have you decided what the licensing for it is going to be? MIT, hopefully :) ?

Excel error if no styles are defined

If you don't define any styles, Excel (2010) throws an "error in styles.xml".

Sample code:

var excel = require("elxml");

var wb = excel.createWorkbook();
// wb.createStyle("Standard");
var sheet = wb.addSheet('test sheet');
var row = sheet.addRow(1);
row.addCell('A').setValue('test value');
wb.save('test-file.xlsx', function() {});

if you include the line wb.createStyle("Standard");, the error goes away.

These are the lines that change in styles.xml:

styles.xml without styles (that throws the error):

<cellStyleXfs count="0"/>
<cellXfs count="0"/>
<cellStyles count="0"/>

styles.xml with styles:

<cellStyleXfs count="1">
    <xf numFmtId="0" fontId="0" fillId="0" borderId="0"/>
</cellStyleXfs>
<cellXfs count="1">
    <xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/>
</cellXfs>
<cellStyles count="1">
    <cellStyle name="Standard" xfId="0" builtinId="0"/>
</cellStyles>

Maybe these tags must not be empty or self closing?

btw. awesome module. Thanks for sharing! :-)

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.