skmp / node-msoffice-pdf Goto Github PK
View Code? Open in Web Editor NEWModule to export Word, Excel & PowerPoint to PDF. Requires windows and installed office 2013
Module to export Word, Excel & PowerPoint to PDF. Requires windows and installed office 2013
I'm curious does it work with ms office 2013 only or it works with 2013 up?
Please extend the support for Office 2015.
when try to lunch app after installing, get this error
/home/user/Desktop/test-app/pdf/node_modules/edge/lib/edge.js:36
throw new Error('The edge native module is not available at ' + builtEdge
^
Error: The edge native module is not available at /home/user/Desktop/test-app/pdf/node_modules/edge/build/Release/edge_coreclr.node. You can use EDGE_NATIVE environment variable to provide alternate location of edge.node. If you need to build edge.node, follow build instructions for your platform at https://github.com/tjanczuk/edge
at Object. (/home/user/Desktop/test-app/pdf/node_modules/edge/lib/edge.js:36:11)
at Module._compile (module.js:541:32)
at Module._extensions..js (module.js:550:10)
at Object.require.extensions.(anonymous function) as .js
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
at require (internal/module.js:20:19)
at Object. (/home/user/Desktop/test-app/pdf/node_modules/node-msoffice-pdf/lib.js:1:74)
at Module._compile (module.js:541:32)
at Module._extensions..js (module.js:550:10)
at Object.require.extensions.(anonymous function) as .js
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
i am using OSx and it says following error
Error: assembly specified in the dependencies manifest was not found -- package: 'Edge.js.CSharp', version: '1.2.0', path: 'lib/netstandard1.6/Edge.js.CSharp.dll'
/Users/hatchitup/node_modules/edge/lib/edge.js:169
return edge.initializeClrFunc(options);
^
TypeError: edge.initializeClrFunc is not a function
Could you please give detailed instructions how to run this on linux env?
I use the word templates to wordbuffer,And then to convert to PDF,It does not support nodebuffer,If can support is very good
Hello,
When we try to run the node module as a service (in Windows) it doesn't seem to do the conversion.
Do you have an idea what's happening or what we could try to debug the issue?
Thanks so much,
Dimitri
Welcome to Node.js v14.15.4.
Type ".help" for more information.
> let msopdf = require('node-msoffice-pdf');
Uncaught:
Error: The edge module has not been pre-compiled for node.js version v14.15.4. You must build a custom version of edge.node. Please refer to https://github.com/tjanczuk/edge for building instructions.
at determineVersion (C:\Users\ACondict\Development\AOCA-PurchasedDocDump\node_modules\edge\lib\edge.js:20:11)
at Object.<anonymous> (C:\Users\ACondict\Development\AOCA-PurchasedDocDump\node_modules\edge\lib\edge.js:32:102)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
>
Error: assembly specified in the dependencies manifest was not found -- package: 'Edge.js.CSharp', version: '1.2.0', path: 'lib/netstandard1.6/Edge.js.CSharp.dll'
Hello Team,
i have a requirement on my project in which i have to convert JPEG images and docx to PDF. the feature should work in all operating systems like Windows, Linux ,Mac .
therefore asking , can i use this package to fulfil my requirements.
i am using angular 6 for front end with nodejs server.
please let me know as soon as possible
Hello! First of all I want to appreciate your work. But I’ve got a problem during building an app that converts an docx/xlsx file to pdf. The is in the edge-js library. But, when I changed a requirement in lib.js from (‘edge’) to (‘edge-js’) it worked. So, I’d like to ask you to change a requirement to proper. Thanks
Since this depends on MS-office, are there any best practices for how to set this up as a standalone web service? I have no experience with Azure, but I assume there is an optimal setup with a windows server that could make this work?
Looking for suggestions and tips from those using this.
Thanks!
Can the office window be hidden ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.