Document convert package which use microsoft automation
Only for windows platform
- Need PowerPoint installed!
- Only support PowerPoint file to convert yet.
- Convert any document type which microsoft office support
const msoconv = require('msoconv')
msoconv('C:/test.pptx', 'C:/test.pdf')
.then(() => {
console.log('convert ok')
})
.catch(err => {
// 1 unknown error
// 2 parameter error
// 3 powerpoint error
// 4 presentations error
// 5 open file error
// 6 unsupport type
// 7 save as error
})
- We can convert powerpoint file to bmp, gif, png, pdf, xps, jpg
- Now we can convert document with C++ native code, not exe, 😆.