Probably not, because javascript is only allowed very limited access for opening files from and saving files to the local hard drive. Though you could probably use viewer.js to open the files in a http:// context, either with a localhost web server or on a remote server.
But if you have the files locally why not just use File -> Export as PDF ... in OpenOffice or LibreOffice
Chris.
Indifference will be the downfall of mankind, but who cares? Time flies like an arrow, however, fruit flies like a banana. Webmaster Forum
We are running WebODF with NodeJS so access to opening and saving ODT files is working.
The purpose of the request is to complete the 3 rd step in Stenographer process
a) step 1: open and ODT file from a list
b) step 2: edit the ODT file (if needed)
c) step 3: convert the ODT file to a PDF and add it to a History list
I am of course hoping to encounter a developer who has converted a document to PDF programatically in javascript!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.