Questions tagged [pdf-viewer]

An application that allows users to view Portable Document Format (PDF) files.

An application that allows users to view Portable Document Format (PDF) files.

Examples:

  1. Adobe Acrobat Reader
  2. Foxit Reader
  3. PDF-XChange
  4. Preview
  5. Skim
  6. Sumatra
411 questions
41
votes
4 answers

Is there a way to style Google Chrome default PDF viewer

Is there a way to style google chrome default pdf view? I'm trying to change the gray background color to white also make the scroller little bigger for mobile devices if possible. I tried to target it on css with no luck // pdf viewer custom…
Tan Kucukhas
  • 787
  • 3
  • 8
  • 26
31
votes
9 answers

Flutter 'owner!._debugCurrentBuildTarget == this': is not true. #87

I am getting the error when I try to load the pdf from url. It shows the number of pages of pdf but then it crashes. Using plugin -…
Bharat Chhabra
  • 1,686
  • 2
  • 14
  • 20
28
votes
5 answers

Pdf.js and viewer.js. Pass a stream or blob to the viewer

I'm having troubles in finding a solution for this: I retrieve a PDF blob from a SQL filestream field using Javascript in this way (it's a lightswitch project) var blob = new Blob([screen.WebReportsPdfFilesStream.selectedItem.Pdf], { type:…
Efrael
  • 557
  • 1
  • 4
  • 11
19
votes
5 answers

Type 'SafeResourceUrl' is not assignable to type 'string'

I am trying to sanitize a pdf url and want to assign it to a string type variable so that I can use it for pdf viewer. Is there any way to do that? If I use any type for pdfSrc type, I am getting Invalid parameter object: need either .data, .range…
Muthu
  • 808
  • 1
  • 9
  • 23
18
votes
3 answers

Embed a PDF in github/gitlab wiki

I'm using gitlab to manage my repositories which has been quite pleasant so far. However the wiki could use a fair amount of improvement IMO. It's really annoying when you already have documentation that you simply want to add to the wiki.…
user3817250
  • 1,003
  • 4
  • 14
  • 27
16
votes
4 answers

Problems with FPDF and Euro symbol

I've spent a couple of days sifting through various methods to encourage FPDF to render the Euro symbol, but none have succeeded. I have: $currency = iconv("UTF-8", "ISO-8859-1//TRANSLIT", '€'); Which results in: iconv() [function.iconv]: Detected…
Wayne Smallman
  • 1,690
  • 11
  • 34
  • 56
14
votes
1 answer

How extension get the text selected in chrome pdf viewer?

I wrote a chrome extension - english dictionary. You select word, the definition appears. It works well, but I counter a problem. It seems there is no api of chrome pdf viewer supplied by google. How can I get the word when i select a word in pdf…
Ryan Lv
  • 261
  • 3
  • 11
11
votes
3 answers

.net PDF Viewer control

We are looking for a PDF Viewer control for WPF or WinForms application. We have hit some road blocks with our current implementation which basically uses WindowsFormsHost to embed the Adobe Reader activeX control inside a WPF UserControl. Using…
Jose
  • 10,891
  • 19
  • 67
  • 89
11
votes
3 answers

chrome PDF viewer can't download file

Here is my situation, I got a server running a PDF generator, when I make a request with some params, it will give me back a PDF file, the PDF is not stored in the server it's generated during the runtime. Everything goes fine, I can get the PDF…
David LIu
  • 299
  • 2
  • 4
  • 21
11
votes
3 answers

Embed the PDF in a webpage without using the built-in PDF viewer

Currently I am using the standard way to embed an pdf to the browser, however, the built-in pdf viewer for my target browser is not working as expected. I would like to force (Chrome, Firefox and IE8 (if possible, but IE9+ is also ok)) to use the…
user782104
  • 13,233
  • 55
  • 172
  • 312
10
votes
1 answer

How to display a javascript File object in Chrome's PDF viewer with its name?

I've got a PDF file in the form of a Blob object (generated with jsPDF), that I want to display in an