javascript - PDFTron - get data from IndexedDB -


i'm using pdftron library (javascript) download files , store inside indexeddb. pdftron use initofflinedb initializes offline database. know can data inside indexeddb, don't know db name use html5 method.

last question, possible download .doc files? there method convert pdf, doc.. in xod type?

thanks lot guys , hava day.

francesco.

please refer our offline library sample here https://www.pdftron.com/webviewer/demo/samples/offline-library/

as can see unique document ids required store , retrieve documents indexeddb. document interface (https://www.pdftron.com/webviewer/demo/lib/html5/doc/symbols/corecontrols.document.html) provides methods check if file in storage isdownloaded or save storage storeoffline etc

if wish inspect indexeddb storage use chrome developer tools -> resources -> indexeddb

in order open office files webviewer have convert files .xod first pdfnet sdk https://www.pdftron.com/pdfnet/index.html or pws https://www.pdftron.com/pws/


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -