0.0.2 • Published 6 years ago
xploreoffice v0.0.2
XploreOffice: Office Open XML Documents to HTML Converter.
xploreoffice is designed to parse Office Open XML standard documents into HTML documents.
Under development
Overview
The aim of this project is to convert Open Office XML (.docx, .pptx and .xlsx) documents into HTML documents.
Usage
const office = require('xploreoffice')
// Create word file instance
const word = new office().Word('./file.docx')
// Convert .docx to HTML
word.createHtml((err, html) => {
if (err) {
console.error(err)
} else {
// .docx file is converted into HTML string
console.log(html)
}
})
Test
- git clone
https://github.com/xplorebits/xploreoffice.git
- Go to xploreoffce/ and do
npm install
- run
npm test
ToDo
- .docx Documents
- Text only documents
- List item support
- Table support
- Image support
- Page frame support
- .pptx Documents
- .xlsx Documents
Contact
hello@xplorebits.com