51,152 questions
0
votes
0
answers
16
views
Crystal Reports PDF export produces large files and merged PDF size grows linearly
I am working on modernizing a legacy console application (.NET Framework 2.0 → 4.8).
The application generates invoice PDFs using Crystal Reports.
Previously to generate PDF we are using Acrobat PDF ...
-1
votes
0
answers
40
views
Acrobat Pro PDF forms - use javascript to add additional choices to radiobutton fields?
I'm stumped (not really a high bar since I'm in no way a programmer); I'm trying to use javascript to add form fields to an Acrobat PDF file (using Pro DC).
this.addField("RB","...
Best practices
0
votes
4
replies
90
views
In springboot projects, how to implement front-end preview of pdf, word, excel
I am doing back-end development of springboot+java8. Now for some reason the frontend needs to preview the file. I would like to know if there is a way to convert pdf, word, excel, etc. into images to ...
-6
votes
0
answers
63
views
AWS Lambda Python 3.11 – ReportLab requires PIL even without images, and fpdf fails with UnicodeEncodeError [closed]
I’m generating PDFs inside AWS Lambda (Python 3.11, zip deployment).
I tried two approaches: ReportLab and fpdf.
First with ReportLab where I was trying to import an image from s3 and embed it into ...
0
votes
1
answer
60
views
Using iText 7 to create a pdf document from html with pictures that are larger than A4 paper. Images on their own pages that are same size as the img
I am using iText 7 to convert an html document to pdf. It works pretty well but images that are larger than the pdf page go outside of the page and that part cannot be seen when opening up the pdf ...
-3
votes
0
answers
106
views
Convert pdf file to word file [closed]
I am trying to convert a pdf file to word file using python. I want to use this for commercial purpose. According to the license of pdf2docx python library, i have to opensource my code if I use ...
1
vote
1
answer
93
views
Unicode Rupee Symbol in PDF Text in Flutter
Code I am using:
pw.Text('\u20B9 $value',textAlign: pw.TextAlign.center)
Expected output:
₹ 123456
7891011
(rupee symbol + white space and then the text which is center aligned)
Issue:
If the text is ...
1
vote
2
answers
62
views
On a PdfTable changing a single cells borders width
Using PdfTable from SlapKit.PDF, how do I change a indiviual cells borders ? I setup my table like below they come up with all the same border width's.
CellProperties cellTableProperties = new ...
-1
votes
0
answers
85
views
How to set the rendering mode for text on pdf creation? [closed]
I am trying to write letters with FillThenStroke mode on my pdf. However I can't find any options to do so in PdfPig. Am I looking at the wrong spot ? How do I do it ? I can't find it in AddText or ...
1
vote
1
answer
55
views
On a PdfTable changing individual cells background color
Using PdfTable from SlapKit.PDF. How do I change a specific cell's background color?
I setup my table as shown below. There is no problem there. This causes them to have a single uniform color. ...
5
votes
1
answer
107
views
PDF Precise checking location letters with different ascents and descents
My question is I am trying to check a letters precise x, y so I can find if it's getting too close to a border I drew on the PDF.
Code is below good for most cases, but some fonts have ascents and ...
Advice
0
votes
1
replies
16
views
Best practice for extracting structured numeric data from PDFs returned by an API for calculations
I’m working on a backend process where I need to:
Fetch a PDF document from a third-party API
Extract a small, known set of numeric values from the document
Feed those values into deterministic ...
1
vote
0
answers
65
views
PDF.js + iTextSharp: anonymization rectangles wrong on rotated (/Rotate) pages
I’m building a PDF anonymization feature:
Frontend: PDF.js viewer where user draws blackout rectangles on a page.
Backend: iTextSharp to draw black filled rectangles (anonymize).
If the pdf has Rotate ...
0
votes
0
answers
48
views
Text parsing in PDF
I am trying to parse the pdf and align the content, but I am facing issue while parsing. It reads line by line so I am not able to extract the content present inside that section.
Expected content for ...
1
vote
1
answer
79
views
Wrong characters from PDF when extracting text using PDF Pig in c#
I am using pdf pig to extract text from a user uploaded PDF. Purpose being to save time for manual reentry. The files are consistent enough to use this approach and search for identifiable keyword ...