How to print a QQuickView's contents to PDF?

I'm upgrading some Qt (C++ & QML) code from Qt4.8 to Qt5.1. The Qt4.8 code is a trivial C++ "QML viewer" app subclassing a QDeclarativeView, and a bunch of QML. It's been easy enough to change...

PhantomJS PDF DPI scaling issues

I'm trying to convert an html file to PDF via PhantomJS and can't figure out how to avoid the dpi scaling problems. Just having an element as simple as <div style=" display:block;...

Scale Angular PDF Viewer to fit in enclosing elements

I'm using the Angular PDF Viewer, and it's brilliant, and I love it, but I'm having a terrible time getting it to scale right. Here's some example code (using Pure CSS, but the question is just as...

The telerik text box couldn't display latin character after export pdf

My report include Persian/English character. I configured the telerik text box by Localizing Reports and everything was OK in report viewer. however, when I exported the report in PDF format the...

Microsoft Dynamics CRM 2011: Report Viewer Print Scale

I've created a report with MS SQL Server Report Builder. When I export a PDF from the Report Viewer, I can set the scale to 100% in Acrobat Reader and it will print perfectly. But when I print it...

Google Chrome PDF Viewer API

I do have a pdf embeded in to the page. It does work and it has it's own buttons, like print, download, rotate, zoom-in, zoom-out. Is it possible to control these buttons from javascript? I want...

Apache FOP, how to set background color of PDF generated with PDFTranscoder

I need to convert an SVG to PDF using apache FOP. I have a solution that is basically working. The problem, however, is that I am not able to set the background color of the PDF. Currently, I have...

Can't insert html with <object> tag

I'm struggling with ckeditor 4.5, as I'm creating plugins to insert specific tags in current document after having uploaded a file on my server. For some specific file types, I want to embed the...

Hide/Disable download button on Chrome PDF Viewer

I'm looking for a way to hide or disable the download button that appears in the Chrome PDF viewer. I have disabled the print button using the protection script of...

Javascript - Print Blob Content Returned from API

I'm building a page for my angular2 web application where a user can select customers from a list and print off letters to mail them. These letters were uploaded as PDFs and are stored as...

Register click events on an embedded pdf viewer

For a project, we are using Chrome in --kiosk mode. Users can interact with the website in the kiosk through a touchscreen only. On this website is a javascript timer that counts down and after a...

selenium c# chrome pdf validation

With Selenium using C#, I'm trying to validate a PDF pops up in an app. My code to click the Close (X) button at the top-right of the PDF works, but not the code to verify any elements for the...

Downloading pdf with Selenium WebDriver for Firefox

I am trying to download a .pdf to my local so that I can use Apache PDFBox to read the text from it and verify it as a part of my test suite. I have already found some code to download the pdf...

Memory Leak with pdf.js and iron-list

While developing some custom elements with polymer and pdf.js to show pdf files I noticed a memory leak while displaying and switching between two pdf files. The consumed memory grows and I can't...

iOS 11 - standalone web app link opening default reversed? (Handling PDF display in web app.)

There was a lot of traffic about preventing a link in a standalone web app from opening in mobile Safari, but the iOS versions quoted were much earlier (7-9?). In iOS 11, I'm having the opposite...

How to use full PDF.js viewer with toolbar in webpack and Vuejs?

I'm using a vue.js spa and webpack trying to show a PDF with mozilla's PDF.js. I got the examples working pretty easily but i struggle to get the full viewer with the toolbar working. I am...

Can I set the filename of a PDF object displayed in Chrome?

In my Vue app I receive a PDF as a blob, and want to display it using the browser's PDF viewer. I convert it to a file, and generate an object url: const blobFile = new File([blob],...

Angular reading text from PDF using ng2-pdf-viewer or more optimal way?

My task is to write an Angular component where I have to compare two PDF's based on their text. I'm currently struggling to find the most efficient way to get it done. At the moment I have a test...

Read local pdf stored in app to pdf viewer in Nativescript

I'm using the nativescript-pdf-viewer (https://github.com/Merott/nativescript-pdf-view) to view pdf in online and locally stored. I tried a couple answers in github and the documentation...

how to jump to page of rendered pdf

Im using pdfobject along with forcePDFJS which uses pdfjs viewer.js to render pdf's.. Once they are rendered I need to be able to jump to pages without reloading the document.. The documents can...

Is the /Widths array of a PDF font object redundant information?

A refrence to pdf informs that a pdf dictionary to defined a font resource needs to contain a property /Widhts giving this information: (Required except for the standard 14 fonts; indirect...

Can you exclude hidden DOM elements from Chrome find function?

I've set up a single .html document that uses tabs for navigation. There are also sub-tabs for navigating inside major sections. This is accomplished with iframes and jQuery .show() / .hide()...

Get element position after drag and drop to pdf file (Angular-Nodejs)

I use angular ng2-pdf-viewer and angular material cdkDrag to drag element. In my backend i use hummusJS/hummusRecipe to modify the pdf file. I look for a way to know where i drop the element on...

Move a Text box in a PDF viewer using PDFKIT - Swift

I am working on this project https://github.com/kishikawakatsumi/BookReader to expand it. It is a PDF viewer implemented by PDFKIT and everything works fine there. but I have a problem in moving...

how to validate the pdf viewer in browser

I have a button as 'PDF View' and once i click, it opens a another new browser window as a pdf viewer and i navigated to second window. Here i am trying to validate whether some pdf content is...

How to get clicked portion coordinates in pdf with ng2-pdf-viewer

I have a requirement to get a position of an element from the pdf . Currently, I am using ng2pdf viewer. stackblitz: when I clicked on the image inside pdf I need the coordinates of the clicked...

How can I get this value in javascript?

I'm working on a opera extension that will search for a specific element on the current page once clicked. But I'm lost and I don't know what to do since I'm a very beginner in html/js stuffs. The...

Add div on every page (ngx-extended-pdf-viewer)

I am using the ngx-extended-pdf-viewer and I want to add a div on each page.. It works as expected.. my dom looks like this: (the div with the class="con" was added by me) Screenshot dom with...

Vue + Element: viewer for .docx/.pptx/.pdf documents

The project I currently work on uses Vue.js and Element UI for the frontend. We are building a system for managing documents with Django + DRF backend. Users can upload their documents (mostly...

How to change redaction text of a redact annotation created in Adobe Acrobat

Update: 2021-01-15 - Added Bounty I am trying to alter the redaction annotation to change the underlying text that gets burned into a PDF when you apply redactions. In Acrobat, you can set up a...