Skip to content

taoabc/msoconv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

msoconv

Build Status

Document convert package which use microsoft automation

Only for windows platform

attention

  1. Need PowerPoint installed!
  2. Only support PowerPoint file to convert yet.

next

  1. Convert any document type which microsoft office support

usage

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
})

release note

0.3

  1. We can convert powerpoint file to bmp, gif, png, pdf, xps, jpg

0.2

  1. Now we can convert document with C++ native code, not exe, 😆.

About

document convert package for microsoft automation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published