Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 875 Bytes

README.md

File metadata and controls

41 lines (31 loc) · 875 Bytes

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, 😆.