Giter VIP home page Giter VIP logo

Comments (8)

 avatar commented on July 20, 2024

Just found this fork: https://github.com/vtloc/officegen

from officegen.

Ziv-Barber avatar Ziv-Barber commented on July 20, 2024

I want to add this feature but a bug in archiver 0.4.x blocking me from
doing that. I can move to use a newer version of
archiver but then I'll not support node 0.8.x anymore.
What should I do?
I'm still preferring to keep officegen clean of external tools and pure
code as possible.

On Sat, Sep 27, 2014 at 4:55 AM, gradualstudent [email protected]
wrote:

Just found this fork: https://github.com/vtloc/officegen


Reply to this email directly or view it on GitHub
#35 (comment).

from officegen.

spollack avatar spollack commented on July 20, 2024

I think moving to node 0.10.x at this point would be ok (but i'm curious what others think).

from officegen.

Ziv-Barber avatar Ziv-Barber commented on July 20, 2024

OK. Waiting for your comment on this. I want to continue the development of
officegen.

On Sun, Sep 28, 2014 at 4:46 AM, Seth Pollack [email protected]
wrote:

I think moving to node 0.10.x at this point would be ok (but i'm curious
what others think).


Reply to this email directly or view it on GitHub
#35 (comment).

from officegen.

 avatar commented on July 20, 2024

Node 0.10 is fine from my perspective, have long ago migrated from 0.8. Re purity, it would be completely fine to leverage external tools for specific functionality, and to make that a documented dependency.

from officegen.

 avatar commented on July 20, 2024

Out of curiosity, did you add charts and/or is that something you might be able to? This version (i.e. yours, the primary branch) works beautifully in Node 0.10, whereas the fork does not

from officegen.

 avatar commented on July 20, 2024

The vtloc fork works as cloned from https://github.com/vtloc/officegen but it does not work if installed via "npm install officegen-2". If I replace the contents of ./node_modules/officegen-2 with the contents of the GitHub clone then it works correctly.

cd ~/MyRepos/
git clone [email protected]:vtloc/officegen.git --out officegen-2
cd officegen-2
node examples/make_pptx.js  
// open out.pptx - works!  c

cd ~/MyRepos/MyProject
npm install officegen-2 --save
// ... project fails to generate PPTX file, it almost works but hangs without error
cd node_modules/officegen
node examples/make_pptx.js  
// open out.pptx - error opening file, charts are blank after repair
cp -rf ~/MyRepos/officegen2/* .
node examples/make_pptx.js  
// open out.pptx - works! charts appear correct
// project now works correctly


So I suspect the npm version of the vtloc fork is out of date. Would be great to (a) use your version and the updates since then, and (b) get charting in PowerPoint.

from officegen.

 avatar commented on July 20, 2024

Created a fork of the main repo that https://github.com/protobi/officegen that

  • merges in @vtloc 's work,
  • translated the XML strings into JS objects that compile into XML, allowing chart options to be set,
  • Uses jar instead of zip for compression so it works on Heroku (and possibly solves the external dependency issue, or at least converts it into relatively standard).
  • Added basic ability to add tables

from officegen.

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.