All Questions
29
questions
0
votes
0
answers
16
views
2012 Mozilla pdf.js- Preventing window.history.replaceState in pdf.js from Reloading State in AngularJS App
I am working on an AngularJS application that integrates with pdf.js to display PDF documents. However, I'm encountering an issue where pdf.js calls window.history.replaceState, which in turn causes ...
1
vote
1
answer
436
views
Unable to view digitally signed pdf file using pdf.js in angularjs
I have an application using angularjs 1.x and codeigniter 3.x. Ran this webapp in chrome as well in firefox and able to view normal pdf but not digitally signed pdf file. Please find the below code ...
1
vote
1
answer
2k
views
PDFJS: Text layer rendering twice
Here's the context:
pdfjs-dist: v2.2.228
angualar/core: 8.2.0 (hybrid Env with an AngularJs 1.5.X)
Objective: to upgrade pdfjs-dist to the latest versions (2.3.200 or at least 2.2.X)
I upgraded ...
1
vote
1
answer
3k
views
How to add onclick() in pdfjs
I'm trying to add a onclick() event in pdfjs.
I have tried adding a method to handle the onclick in pdf.js file. I'm getting this error on click "Uncaught ReferenceError: ...
0
votes
0
answers
759
views
How to export multiple html tables side by side to pdf
Dears,I am getting data from c# API to angulerjs scope , and 2 javascript arrays showing days name and numbers.
i am displaying all these data on 3 small html tables inside one big html table.
I have ...
0
votes
2
answers
475
views
PDF overview links not working inside my angularjs app
My web application used PDF.js to load PDFs in the browser. It gets the PDFs from a REST API.
The web app is a single page angularjs affair. You can navigate inside the app and open up one of these ...
-1
votes
1
answer
314
views
How to get the specific highlighted region in pdf which uses pdfjs
I have a pdf which is having some highlighted region inside it. When user click on any part of PDF, I want to know whether he/she clicked on the highlighted region or not. I have done some research on ...
0
votes
1
answer
4k
views
Enabling button after scroll to the bottom
Basically what I want to do is after user scrolls pdf file that is in the modal (kinda like pop-up) the button on the bottom of the modal should became active.
EDIT:
The main problem was that the ...
6
votes
2
answers
8k
views
viewer.js / pdf.js: Memory usage increases every time a pdf is rendered
My problem is that the memory usage of my application increases every time I render a pdf file with viewer.js.
I render my pdf this way:
container = document.getElementById('viewerContainer');
...
2
votes
1
answer
7k
views
Pinch zoom with PDF.js
I have a mobile app that renderes pdfs with PDF.js. My frameworks are Ionic and Angular.
I can render the pdfs, but I have problems with the zooming. When I use the Ionic zoom, the pdf is blurred. PDF....
0
votes
1
answer
294
views
pdf.js - Return angular promise instead of javascript promise
I am using pdf.js. I want to write a wrapper that returns angular promise instead of the native javascript promise returned by pdf.js. Here is my code so far.
this.hasPassword = function (url) {
...
1
vote
2
answers
5k
views
Angular pdf.js preview and print
I'm developing an app in AngularJs, which has to display a server generated pdf to the user.
Using pdf.js I successfully downloaded and displayed a pdf, the issue is that now I have to provide to the ...
5
votes
2
answers
2k
views
Show multiple pages of PDF with Angular and pdf.js
I want to show PDFs in my angular application. It should be possible to show multiple pages at once and to search inside the PDF.
I tried angularjs-pdf to do so, but it lacks these features. Is there ...
0
votes
2
answers
2k
views
pdf.js error in IE11, src property (0x800a138f)
My app displays pdfs using pdf.js. Everything works fine, but of course IE does not. It throws an exception while starting:
Unhandled exception at line 8290, column 5 in http://.../scripts/pdf-js/pdf....
21
votes
3
answers
54k
views
How to search with pdf.js?
I'm displaying a pdf file with pdf.js in my Ionic App. I do not use viewer.js and viewer.html, because I need a totally different layout. Now I have a custom search bar and I want to highlight terms ...