FAQ Database Discussion Community


How to get pdf title using pdf.js? [duplicate]

javascript,pdfjs
This question already has an answer here: JavaScript closures. Access in loop to current i, j variables [duplicate] 5 answers The question is: How can I get the name of the pdf file using pdf.js? I'm running a variation of a pdf.js example from node, and I was wondering...

Modifying viewer.js file

javascript,mozilla,pdfjs
According to Mozilla's pdfjs plugin, I can view my pdfs by passing a query param to viewer.html as shown below: http://localhost/MyProject/viewer.html/?file=file.pdf This is working fine. But I have some different kind of requirement. The requirement in my project is that I need to have tabs like feature on a single...

PDF.js with Google Apps Script

google-apps-script,pdfjs
I'm building a Google Docs plugin and I'm trying to pull a PDF from an external site to parse (for simple things like number of pages, text content, etc. that doesn't require visual rendering of the document). However, I've been having a lot of trouble integrating the Javascript library into...

PDF.js - Printing multiple documents at once

javascript,pdf,pdf.js,pdfjs
I need to place multiple PDFs on a page determined by an AJAX response, and when all documents and pages have rendered, call window.print. The pages (canvases) of each document are being added to a div with class 'pdfdoc' to keep the pages in order by document. I'm new to...