Comments (8)
Just found this fork: https://github.com/vtloc/officegen
from officegen.
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.
I think moving to node 0.10.x at this point would be ok (but i'm curious what others think).
from officegen.
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.
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.
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.
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.
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 ofzip
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)
- how to set header and footer inside docx using officegen HOT 1
- How to make a particular page Orientation to A3 / Landscape ? HOT 2
- How to add Sections in word file with Officegen ? and how to set font size and to make it bold for entire column in a table
- How to set the first line indentation for a paragraph in word?
- Can i remove Header and Footer from First page ( Title Page ) and some more queries
- Why does the table fill color not work?
- Cannot generate word file in render process for one Electron app
- How to add repeat header in table docx
- How to insert image into tableceil in docx
- how to open a word document ?
- Is addImage with svg supported for pptx file?
- How to assign color property to newline in table cell in word document ?
- 如何将word转换html,html里面的style css可以转换?
- Embedded File is still being accessed by createReadStream asynchronously even after deletion in officegen for Word Document
- Make the generated document read-only of password protected?
- Can I set a password to access Word
- How to add Number Bullet lists and Sub Number Bullet list
- How can i set auto-warp attribute to a column or cell in Excel file?
- Suggestion:Footer supports inserting tables
- May I ask if it is possible to add a background color to the Word document
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 officegen.