You can then save and open the document to make any changes you need to. That is all it takes to complete your PDF to Word file conversion. Link.appendChild(document.createTextNode("Download Link Text")) ĭocument.getElementById("example"). 'Choose File' or drag and drop a PDF into the appropriate spot. English OCRSpanish OCRRussian OCRGerman OCRFrench OCRItalian OCRVietnamese OCRJapanese OCR. Modified: new Date() // optional Date Object Convert PDF to editable DOC Convert Scanned Documents and Images into Editable Word, Pdf, Excel and text output formats. LastModifiedBy: "Last person to modify", // optional StringĬreated: new Date(), // optional Date Object Var docObject = docx.export(docDOM, // required DOM Object Support for tables and lists (bulleted and numbered) will likely come in the future, but is not currently present.ĭemo-Usage of ZerdaH's Fork: var docDOM = document.getElementById('example') For reading, it supports all of the above plus embedded PNGs. The author of jsPdf made a document generator for Microsoft Word documents in Pure client-side JavaScript called DOCX.js and recommends the usage of Stephen Hardy's DOCX.js.ĭOCX.js depends on JSZip and supports the writing of bold, italic, underline, strikethrough, subscript, superscript, font sizes, font color, highlights, and horizontal alignment.
0 Comments
Leave a Reply. |