Questions tagged [pdf]
Portable Document Format (PDF) is an open standard for electronic document exchange maintained by the International Organization for Standardization (ISO). Questions can be about creating, reading, editing PDFs using different languages.
51,685
questions
0
votes
0
answers
7
views
Got an error by using pdf-dist library in NextJS
I got an error when I was trying to use a library called pdf-dist. Actually, it works fine, but it's kinda annoying cause it makes the website reloads every time I save any files even though I just ...
0
votes
0
answers
10
views
Preserve separately selectable Columns in PDF export of Excel document
When exporting Word documents or rendering LaTeX, you can designate columns and thus enable seperate selection of sections of the Document:
Meanwhile when exporting Excel, I could not find any way to ...
0
votes
0
answers
11
views
I want to upload pdf document to slack app channel using slack api
As files.upload api is deprecated, so I am following below steps to upload file on slack app channel.
Call files.getUploadURLExternal, which returns an upload URL and a file ID.
Upload a file by ...
-3
votes
0
answers
39
views
Python PDF Editor [closed]
I will make a PDF Editor that can change words in the PDF without changing the formatting of the text.
This is my Code so far it does every thing right but i cand get the Text color and the Text size.
...
0
votes
0
answers
14
views
How to create compliant XMPMetadata for a ZUGFeRD (PDF/A-3) document with jasperreports and pdfbox
I'm trying to create a PDF/A-3 file as a base to form a ZUGFeRD file with the help of these two libraries:
JasperReports (6.21.3)
pdfbox/xmpbox (3.0.2)
In order to check if my output file is ...
0
votes
0
answers
16
views
Adding the pdf to an existing PDF using pdf-lib nodejs
I have an existing file in ./print/print.pdf. And new pdf bytes called const pdfBytes = await pdfDoc.save();
I want to add the pdfBytes to print.pdf and I've been trying to do that using pdf-lib on ...
0
votes
0
answers
25
views
I'm writing code in react, and trying to display a pdf file inside a web page. but instead of the expected file, I see the same web page in that place
I'm writing code in react, and trying to display a pdf file inside a web page.
but instead of the expected file, I see the same web page in that place.
It means that there is a place destinated to ...
1
vote
0
answers
16
views
Verify PDF signature using iText 8
Been using iText to sign PDF files using self signed certificate.
Is there a way to take a PDF as input and verify whether it is signed using my self signed certificate ? (hence verify it was ...
0
votes
1
answer
25
views
How to increase Font size or scale the font in existing pdf pages using PDFBOX or ITEXT?
I want to make large font of existing PDF.
18pt Bold Font
24pt Bold Font
Apply for all the text in all pages of pdf. The text in entire pages will increase from current size to 18pt or 24pt more.
That ...
0
votes
0
answers
10
views
Using pdf-fill to fill out the fillable form makes the text shift down a little bit making the text to be cut off
When I fill out the PDF file using Preview, it perfectly shows the Text but when I use the pdf-fill on Node.js, the text gets shifted bottom few pixels and the text get cut off.
This is when I add the ...
0
votes
0
answers
8
views
nestjs pdf-creator-node error Unknown system error -8
I am creating a service with nestjs, I use pdf-creator-node when I run locally it generates the perfect pdf but when I docker I get an error {
"answer": {
"error": -8,
"code&...
-1
votes
0
answers
11
views
Langchain agent not using tool every time in react for pdfchat, and concludes with wrong answer
Im using the react template proposed by langchain hwchase17/react-chat react template with chat history. when using this template sometimes it fails to look into rag tool so it is getting results from ...
-2
votes
1
answer
40
views
PDFsharp not providing good compression
I'm working in a console application targeting .NET v8. I'm using PDFsharp nuget package for PDF file generation. I'm using below code to compress a PDF file of 75 KB. The PDF file mostly contains ...
0
votes
1
answer
24
views
Drawing iText7 Canvas lines does not always fill page
I have the following code to apply a full page grid to an existing A4 pdf document.
It works fine on pdfs I or others have produced with iText, but when I try to use on a PDF that has been created by ...
0
votes
0
answers
11
views
DocumentAI OCR Error: Invalid Document Content
I am calling DocumentAI OCR batch processing from Workflows generally quite successfully, however, I occasionally get the following error:
{
"caughtError": {
"message": "...