Skip to content

A utility which converts Word, PowerPoint and Excel documents to PDF, which will be later rendered in LaunchMenu with PDF.js

Notifications You must be signed in to change notification settings

sancarn/mso-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSO-PDF

This is likely extremely poorly written, but as is life

This utility converts word, excel and powerpoint documents to pdf using the Excel/Word/PowerPoint interop libraries.

Usage

	const toPdf = require('mso-pdf')
	var source 		= "C:\\Users\\sancarn\\Documents\\TestToPDF.xlsx"
	var destination	= "C:\\Users\\sancarn\\Documents\\TestToPDF.pdf"
	toPdf.convert(source,destination,function(errors){
		if(errors) console.log(errors)
		console.log(destination + " converted")
	})
	

About

A utility which converts Word, PowerPoint and Excel documents to PDF, which will be later rendered in LaunchMenu with PDF.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published