51,648 questions
0
votes
0
answers
16
views
How to properly add multiple signatures to a document and sign it externally in a signing session using PDFBox?
I have a requirement to add multiple signatures to a document for a signer in one signing session. Following one of the suggestions from @mkl, I tried to apply his test code [...
0
votes
0
answers
17
views
How to extract a specific column information from a pdf using flutter
I have a pdf file which has a table. Inside the table I have multiple columns. I want to extract the data from a specific column for all the entries. The pdf might contain multiple pages.
I am able to ...
1
vote
0
answers
19
views
After TOC Link Edit "Copy To ClipBoard" is not working in Tagged PDF?
I remediated a PDF using automation code. After tagging, when I ran the Adobe checker report, it's showing fine (Image1) except for Table regularity errors.
I just took out(moved) one Link object(Link-...
-1
votes
0
answers
26
views
MS Word export to PDF with font Montserrat is not working properly
I'd like to use the Montserrat font (variant Regular) in a Word document and export it to PDF. For that, I downloaded and installed Montserrat-VariableFont_wght.ttf from Google:
https://fonts.google....
-1
votes
3
answers
60
views
How to generate a PDF with a grid of images per page?
Our work involves visually inspecting a number of plots together. All plots of same size. we want to print them in pages to study. Something like a 8.5"x11" paper with 1" margin gives ...
0
votes
1
answer
26
views
DOMPDF image rendering issue
As stated in the title i'm currently using Laravel DOMPDF that extends from DOMPDF library to generate PDF from HTML.
Issue : Images are displayed in the PDF as a black square with a cross inside
...
1
vote
1
answer
18
views
highcharts exporting pdf with Hebrew series
I am using highcharts in C# .net application with javascript.
The code that overrides the behavior of highchart call (for test):
var originalHighcharts = $.fn.highcharts;
$.fn.highcharts = function (...
0
votes
0
answers
18
views
How to suppress popup dialog box when converting pdf to docx using pywin32
I'm running a python script on a windows laptop to convert some sample pdf files to docx. However, for each file, a dialog box pops up that prompts me to click OK when the script tries to convert said ...
0
votes
0
answers
26
views
Render widget content to PDF or render html to widget and PDF consistently
In a few words, my problem is that I need to render HTML to a flutter widget and also be able to print it (e.g. to PDF) and both look the same.
A flutter app fetches simple HTML-formatted content from ...
1
vote
0
answers
17
views
ag-grid to PDF - PDF is not generating in ag-grid Pivot mode
I'm trying to generate PDF using PDFMake from Ag-grid api. For normal grouping, all the stylings including header and footer are working, but only in case of pivot mode, it is throwing error. Below is ...
1
vote
1
answer
45
views
Reduce Pdf File size using java
I am trying to create a pdf file using PDDocument but output pdf size is more than 15 mb. i want to reduce so that max pdf size is max 10 mb
Creating pdf file : (templateList is list of all ...
0
votes
1
answer
49
views
How to create a searchable PDF using Python and Selenium?
I want to create a program like FireShot (premium version) to take a webpage on chromedriver and convert it into a pdf.
Currently this is the code I came up with:
import time
import os
import glob
...
0
votes
0
answers
31
views
Extract all content using MUPDF.net
Is there a way to extract all content from mupdf.net?
For example the following code using the GetText() method will extract all text in html format:
using MuPDF.NET
var document = new Document("...
-1
votes
0
answers
48
views
Which PHP PDF libraries support font rotation? [closed]
Does anyone know of a PHP PDF library that can rotate fonts? Vg. print upside down?
I realize that "how-to" questions are frowned upon at StackOverflow, but if anyone has expertise in this ...
1
vote
0
answers
38
views
Unable to update value of PDFTextField using pdf-lib after digital signature
Maybe my whole approach is wrong. I trying to simulate a signer filling a field after the pdf has been certified (digital signature). What I attempted: changing its value using SetValue, making a copy ...
0
votes
0
answers
47
views
Page number in PyMuPDF multiprocessing with extract_text
So in pymupdf documentation states that PyMuPDF does not support running on multiple threads
So they use multiprocessing, and they do this weird thing with segments in example code:
seg_size = int(...
0
votes
0
answers
38
views
XSL:FO <force-page-count="no-force"> does not work
I am just trying to find why the tranformation of the xml file into pdf (XSL:FO) always start a new < div > in an odd page. I read the documentation and the <force-page-count="no-force&...
0
votes
2
answers
62
views
I am generating the pdf file in django, here i am using @font-face for USPSIPStandard for just one <p> tag, but it is affecting the whole pdf
I am generating the pdf reports for the patient using wkhtmltopdf in Django, and i have to show the patient imb_code in USPSIPStandard font family ,I am using its file in Static folder, when use this @...
-3
votes
1
answer
34
views
Challenge to show cropped part in react ? Very challenging [closed]
I am trying to create an inspection app. In this React-based Web app, I am marking the locations on the image.
I am unable to crop the image and show it in the report.
I want to show the marked part ...
0
votes
0
answers
28
views
PDF # reference link to specific page does not work on IOS installed browsers
Iam working on a hybrid web/mobile app where I need to provide a PDF link to users and when they click on it the PDF should open at a specific page. It works well on my desktop Safari and other ...
0
votes
0
answers
14
views
ReportLab Tabular form Data columns not splitting
Hi everyone i have a stuck in code for ReportLab splitting content
I'm having trouble with continuous text flow and pagination in ReportLab. I have a table (or similar structure) with 5-8 columns. ...
-2
votes
0
answers
16
views
How to extract QR Code Numbers to PDF (same PDF but the Numbers can be replaced during opened/scanned)? [closed]
Is there a way for pdf so that the number in one pdf file only changes the number in the pdf from the QR code that the user scans without having to change the entire pdf even though it is hosted on ...
0
votes
1
answer
37
views
PDFs from spatie/laravel-pdf have no CSS when vite is not running
I create PDFs with spatie/laravel-pdf on Laravel 11, styled with TailwindCSS.
My layout has
@vite(['resources/css/app.css'])
I was working locally with vite running. PDfs were looking great.
My ...
0
votes
1
answer
20
views
I need help fitting a table to my rmarkdown pdf output?
I am trying to knit a pdf report in rmarkdown, here is my code:
actu <- c("Monte Carlo Results", "Fleetwide Actuators")
spa_count <- c(1427, 2448)
avgfh <- c(130, 130)
ht &...
1
vote
1
answer
41
views
ClassCastException when casting IBasicOCSPResponse to IBasicOCSPResp in iText 8.0.4
I am working with iText 8.0.4 (GitHub Repository) and trying to cast IBasicOCSPResponse (from com.itextpdf.signatures) to IBasicOCSPResp (from com.itextpdf.commons.bouncycastle.cert.ocsp).
This is ...
0
votes
1
answer
45
views
Share webView as PDF on Android
Do you know how to share webView as PDF? I'm using io.github.kevinnzou:compose-webview-multiplatform for displaying webview and PrintManager for generating PDF. PrintManager is working very well: ...
1
vote
0
answers
53
views
how to add header to all pages of printed PDF from HTML? [closed]
I have been working on this problem for a while and still can't resolve. I have created a HTML document, and now want to add a header to every page when it is printed.
chrome_print(
input = html_file,...
1
vote
0
answers
25
views
Remove the first three pages of a pdf file using PDFtk? [migrated]
How can I remove the first three pages of a pdf file using PDFtk?
I tried:
pdftk test.pdf cat 1-3 output out.pdf
But is in fact removing all but the first three pages, and I can't figure out the ...
0
votes
1
answer
41
views
PDF file not loading in mobile view of React JS application
There is a "view" button when we click on it, there will be a pdf file loaded in the modal popup, PDF loads fine in the normal web browser but when opened in the mobile then PDF file in not ...
1
vote
0
answers
32
views
iText keeps throwing "Object null reference exception" for ShowTextAligned [duplicate]
While doing PDF operations - can anyone help here?
I'm getting the following error while doing header:
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance ...
0
votes
1
answer
34
views
iText7 MergeToPdf from XFDF not supporting <value-richtext> tag
We used iTextSharp to Merge XFDF into PDF.
iTextSharp recognized the <value-richtext> tag and did things like BOLD the text.
iText7 does not support applying the <value-richtext> tag when ...
1
vote
1
answer
48
views
my flutter app works on emulator while can't work on real device
I was building a flutter App and I want to convert html file to pdf the app works well on the emulator which means that my code is good but when I run the app on a real Android device the app can't ...
0
votes
0
answers
26
views
Create PDF/A3 from standard PDF using XFINIUM.PDF
I want to create a c# method that takes a pdfInputPath and a pdfA3OutputPath and converts a normal PDF to PDF/A3 format using XFINIUM.PDF.
I found some code samples here
PdfFixedDocument document = ...
2
votes
0
answers
55
views
reserve and Reapply PDF Layout When Editing Text and Images with PyMuPDF and PyQt6
I'm working on a PyQt6-based PDF editor using PyMuPDF (fitz).
My goal is to extract all text and images from a PDF while preserving their original positions and dimensions, allow users to edit/move ...
1
vote
0
answers
52
views
Annotations on Adobe PDF Embed API not working on some tablets
I'm trying to get annotations to work on a PDF Embed API implementation. The documentation says that in FULL_WINDOW mode it should work on Chrome and Safari on Tablets. However it does not seem to ...
-2
votes
0
answers
34
views
How to edit PDF in C# in Windows Forms [duplicate]
This is my code:
public class PDFGenerator
{
public static void FillCharacterSheet()
{
string inputPdfPath = @"D:\mypath\DnD_5E_CharacterSheet_FormFillable.pdf";
...
1
vote
1
answer
40
views
Odoo: Error viewing PDF stored on external server (Alfresco) from Chatter
I am working with Odoo and I have a problem viewing PDFs in Chatter after moving the files to an external server (Alfresco).
What I do:
Users attach PDF files in Odoo, which can be viewed correctly ...
0
votes
0
answers
35
views
TCPDF: textarea overlapping Footer
I want an editable textarea after all my content in a TCPDF document.
With the below command, I added this textarea, but there comes no new page. If I set the rows to a higher number, the box is ...
1
vote
1
answer
79
views
Unable to make widget/field appearance showing in Acrobat(works with pdf-x change, foxit)
Appearances for signature are not showing properly in Adobe Acrobat.
The 'thumbnail' shows up on the thumbnail panel but its not showing on the actually PDF.
This pdf has a certification digital ...
0
votes
2
answers
169
views
Extract tables from PDF files
I am conducting research on p-hacking, which requires accurately extracting tables from published academic papers. I have downloaded a large number of PDF files for this purpose.
So far, I have tried ...
0
votes
0
answers
39
views
Underlined text into PDF form filled by Oracle Analytics
I implemented an Oracle Analytics instance on Oracle OCI.
I have to manage a PDF form with several fields. I use the PDF form template directly, not an RTF template, because the structure is complex.
...
0
votes
2
answers
66
views
Exporting to PDF crosses out the date from my Excel sheet
I am currently using a macro to export my excel sheet to a pdf. The current excel sheet has the date in format MM/DD/YY, however, when I export the sheet the date appears to be crossed through.
Excel
...
0
votes
0
answers
21
views
fpdf2 and multi_cell with python
I'm trying to create a PDF document. There is a long and short texts. Word wrapping exists only in multi_cell (though it is drawn as a “ladder” by default). Due to the fact that you need to write text ...
0
votes
0
answers
49
views
rust printpdf crate how to get text width in mm?
I want to draw some text centered to the paragraph on a pdf page and I need to get the width of the message. I'm using the printpdf crate 0.7.0 (latest) but I can't find any method that will give me ...
0
votes
1
answer
67
views
How do I get aspPdf to write special characters like æ, ø and å?
I am using aspPdf to convert a html page into a pdf file. And it is working fine, except from the special characters æ, ø and å.
I have this:
<!--#include file="include/connectOpen.asp"--&...
-1
votes
1
answer
91
views
How to preview an XFA-based PDF?
I am working on a React application and I need to display a preview of an XFA-based PDF file. However, I'm running into issues when trying to render the PDF in the browser. Below are the details of my ...
0
votes
1
answer
43
views
pypdf or pikepdf advice needed on bookmarks
I am sorry but I am unable to understand how to rearrange bookmarks in PDF document.
I have PDF document with medical records which was created by importing new and new items from individual ...
0
votes
1
answer
26
views
Does Stimulsoft Reports.JS (v2023.1.1) Support PDF Protection?
I'm currently using Stimulsoft Reports.JS version 2023.1.1 and need to generate a PDF with protection, such as:
Password protection
Restricting editing/printing
Other security options
Does ...
0
votes
0
answers
38
views
html to pdf with chrome PrintToPdf in document style, with header and footer
I've a simple html document, with header, main Area and footer. The main Area contains content like Texts and Tables.
I would like to print the document only with html and css to pdf. The header and ...
0
votes
1
answer
28
views
How to use ImageMagick to output the base64 from each pages of a PDF [closed]
I'm trying to output each pages of a PDF in a base64 string with ImageMagick.
When I do magick /mypdf.pdf INLINE:PNG:-, it returns only the base64 output for the first page of the pdf document.
...