Questions tagged [ngx-extended-pdf-viewer]

53 questions
4
votes
4 answers

ngx-extended-pdf-viewer Is it possible to render only one page?

I am using ngx-extended-pdf-viewer in Angular 8, the pdf shows up correctly. My problem is that i only need to show a single page but by default it shows all the pages. Is there a way to render only one page with this pdf viewer ? here is my…
Vind
  • 43
  • 1
  • 5
4
votes
1 answer

Accessing multiple pdf's with ngx-extended-pdf-viewer

I was messing around with the ngx-extended-pdf-viewer and got a feel for what it does BUT I was curious as to whether it was flexible enough to let a user switch between pdf's? As it stands this only shows one pdf but I was curious to if it was…
CJ84
  • 53
  • 1
  • 4
3
votes
3 answers

Can't bind to 'src' since it isn't a known property of 'ngx-extended-pdf-viewer' Angular8+

I am currently working with ngx-extended-pdf-viewer with Angular8+ to render a PDF, it doesn't work. And I keep getting the runtime error "Can't bind to 'src' since it isn't a known property of 'pdf-viewer'". Does anyone know why this is? Here is my…
tesnim
  • 133
  • 1
  • 2
  • 8
2
votes
1 answer

Cant Open multiple instances of ngx-extended-pdf-viewer

I am facing issues while using ngx-extended-pdf-viewer.I am displaying a pdf using this component. And at the same time I want to display another pdf in a pop using ngx-extended-pdf-viewer. The first pdf shows up fine but when I want to view another…
2
votes
2 answers

ngx-extended-pdf-viewer problem with print

I am using ngx-extended-pdf-viewer(4.0.0-alpha.5) in Angular 8 and pdfs are showing up correctly except for when I am using single paged pdfs. For single paged pdfs, the preview is blank. Is there any solution? My code is here …
Athira
  • 31
  • 4
2
votes
1 answer

ngx-extended-pdf-viewer not displaying text (wrong cmaps path)

I am using the latest stable version of ngx-extended-pdf-viewer (4.1.2) and Angular 9.1. Everything work's great but after the application is built certain PDF-files don't show any text. It turns out that the reason was that the request for the…
sevic
  • 879
  • 11
  • 36
2
votes
1 answer

How to open a pdf in new tab with ngx-extended-pdf-viewer

Ques 1: I am working on ngx-extended-pdf-viewer for loading pdf file, but not able to find any ppty to open a pdf in newtab with ngx-extended-pdf-viewer Note: am having pdf as base64 format that's why i picked this wrapper Ques 2: how to prevent…
2
votes
1 answer

ngx-extended-pdf-viewer not working with Url

I cannot get my pdf to display on viewer via url in typescript. I am using ngx-extended-pdf-viewer Here is an example of my code with the URL replaced.
new_to_01
  • 21
  • 1
  • 3
2
votes
2 answers

Angular 6+ binding [src] in ngx-extended-pdf-viewer

I'm using ngx-extended-pdf-viewer ( npm ) to render a PDF and it works when i set directly the path+fileName, as below:
1
vote
0 answers

KonvaJS Input Field Sizes Issue in ngx-extended-pdf-viewer with Konva Groups

I'm developing a web app using Angular, KonvaJS, and the ngx-extended-pdf-viewer library for digital document signing. In this web app, users who prepare documents add input fields made up of Konva groups containing rectangles and text. These fields…
Haffoo
  • 13
  • 3
1
vote
0 answers

How to solve "Can't import the named export 'CommonModule' from non EcmaScript module (only default export is available)"

I'm trying to use ng2-pdf-viewer package. I have added this module to app.module.ts as like that: import { PdfViewerModule } from 'ng2-pdf-viewer'; imports: [ PdfViewerModule, ] But I got these types of errors: Error:…
sundowatch
  • 3,012
  • 3
  • 38
  • 66
1
vote
1 answer

Is there anyway I can open a PDF from UI made from Angular/JS in Acrobat from one button click

I'm currently implementing an Angular/java webpage to work with different forms for the users. right now if the users want to edit the pdf, the only way is to download the PDF and go to the downloads folder and open it in Adobe acrobat. Which is not…
1
vote
1 answer

environment lacks native support for critical functionality used by the PDF.js library (e.g. ReadableStream and/or Promise.allSettled)

I am currently working on angular7, and using "ngx-extended-pdf-viewer": "^3.3.2", "pdfjs-dist": "^2.5.207", "@types/pdfjs-dist": "^2.1.6", "ng2-pdf-viewer": "^5.3.4", During opening it on ios 12 it gives error "ERROR Error: Uncaught (in…
1
vote
1 answer

How to fetch local links from PDF using ngx-extended-pdf-viewer

We have an Angular app that renders pdf files from the server using ngx-extended-pdf-viewer. Some pdf files contain external links pointing to external sites https://... and therefore they will be opened in a new browser tab. There are also links…
Tom I.
  • 11
  • 1
1
vote
1 answer

ngx-extended-pdf-viewer not loading pdf if opens that component after some time of page refresh

For pdf viewer in angular, I am using ngx-extended-pdf-viewer: 10.0.0-alpha.8 I am using that pdf in one of the components (PDFViewerComponent), If I open that component after project start/page refresh it works perfectly. But when I open another…
Shubham
  • 125
  • 1
  • 9
1
2 3 4