0.0.2 • Published 6 years ago

xploreoffice v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

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

  1. git clone https://github.com/xplorebits/xploreoffice.git
  2. Go to xploreoffce/ and do npm install
  3. 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

0.0.2

7 years ago

0.0.1

7 years ago