Skip to main content
Filter by
Sorted by
Tagged with
4 votes
0 answers
110 views

I am currently trying to extract and save an embedded file from a PDF. It's about the German "ZUGFeRD" PDF (electronic invoice). In this PDF, there is a XML file named zugferd-invoice.xml or ...
Greg's user avatar
  • 41
Best practices
0 votes
0 replies
43 views

I'm trying to develop a "template" processor which "replaces" tags (for instance $key1) with variable text. For this I plan to use RegexBasedLocationExtractionStrategy or a custom ...
Alain's user avatar
  • 1
Advice
1 vote
1 replies
128 views

I'm trying to create a custom signature appearance in iText9, the layout should be 2 thirds of (custom) text on the left side of the signature field and an image in the last third. This is how I ...
LHF's user avatar
  • 103
Best practices
0 votes
2 replies
66 views

I am working with a large legacy application. Throughout the application, there are calls to generate PDFs with iText, or to generate text headers for charts etc. which utilize java.awt.Font to load ...
Steven Jones's user avatar
0 votes
1 answer
78 views

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 ...
Neo's user avatar
  • 16.3k
0 votes
1 answer
79 views

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 ...
Sigmundur's user avatar
  • 949
Advice
0 votes
1 replies
122 views

My WPF desktop app references iText7 v8.0.4 (+ iText7.bouncy-castle-adapter v8.0.4, which I assume is a dependency of it). Visual Studio shows that both packages are now deprecated and is telling me ...
Andrew Stephens's user avatar
1 vote
1 answer
82 views

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 ...
user27910466's user avatar
3 votes
2 answers
119 views

I've been trying to set some fields values in a PDF with iText but I'm unable to set the fields, the value set is the same of the field name and that is not what I'm expecting. The code: private async ...
Guilherme Bley's user avatar
0 votes
1 answer
172 views

I’m trying to find out whether it is possible to create a PAdES-LT certification signature while setting the DocMDP permission level to 1 (No changes allowed). I’ve tested adding the DSS in the same ...
krillov's user avatar
  • 139
0 votes
1 answer
98 views

I've been searching and talking to ssl.com's AI assistant for days now and I'm trying to figure out how to sign a PDF using a hash instead of uploading the PDF bytes to their servers. It seems like ...
asven's user avatar
  • 139
0 votes
0 answers
57 views

I got the following exception when using iTextPDF 5 to get the Image from Tiff. Any idea how to resolve it? ` Image img = Image.getInstance(myTiffFile); Caused by: com.itextpdf.text....
Tom's user avatar
  • 681
3 votes
3 answers
216 views

I'm developing a tool that stores a signer's biometric data inside a PDF together with the digital signature, but I'm unsure where this information should be embedded. The biometric data is captured ...
nex0's user avatar
  • 33
1 vote
0 answers
58 views

I’m having an issue with the text font. I’m trying to convert an Excel file to PDF using ClosedXML and iTextSharp, and I want the text to fit perfectly inside each cell. However, sometimes the text ...
gianluca23's user avatar
0 votes
1 answer
71 views

I'm trying to read a PDF as MemoryStream, and copy pages from that PDF to a new one. I'm using iText PdfReader and PdfWriter. var ms = new MemoryStream(); using PdfReader pdfReader = new ...
Marwan Hashem's user avatar
0 votes
1 answer
54 views

So, I was trying to add a background image into my table, but the syntax requires Background Image object which then requires PdfXObject val table = Table(floatArrayOf(50f, 50f)) ....
lelestacia's user avatar
3 votes
1 answer
120 views

I'm trying to copy pages from an existing PDF to a new one and return it. I'm writing to the new PDF with memory, but it returns an error stating Cannot access a closed Stream. Here is my code: var ...
Marwan Hashem's user avatar
0 votes
1 answer
142 views

I'm working on a custom PDF text layout using OpenPDF ColumnText and need to render multiple phrases, each with its own leading, character spacing, alignment, and styling. Currently, I use ct....
BALAJI's user avatar
  • 1
0 votes
1 answer
62 views

Drawing rectangles using iTextSharp 5.5.13.2, on a few pages, the rectangles are showing incorrectly. showing vertically instead of all horizontally. I want to show a signature on multiple pages. To ...
Ram's user avatar
  • 308
1 vote
2 answers
188 views

I’m working with iText 9.3.0 for .NET and need to fill a PDF form field (PdfTextFormField) with Arabic text and then flatten it so the text becomes permanent. However, when I set Arabic text directly, ...
Shahzaib Khan's user avatar
0 votes
0 answers
53 views

Library: OpenPDF 1.4.2 (com.lowagie.text.pdf) Goal: Enable kerning and ligatures for TrueType/OTF fonts using LayoutProcessor (enableKernLiga) when rendering text via ColumnText/Paragraph. Constraint: ...
BALAJI's user avatar
  • 1
4 votes
1 answer
105 views

I’m generating a PDF using iText (version 9.2.0) in C#. The PDF contains Persian (Farsi) text, but the characters do not display correctly — they appear separated or broken. here is my code : public ...
Mobin Gholizadeh's user avatar
0 votes
0 answers
89 views

I am using iText 9.2.0 and running into an issue where iText is trimming whitespaces in my SVG files I am receiving from a source I have no control over. For example, the SVG will contain text like ...
TPancakes's user avatar
0 votes
0 answers
82 views

I have multiples PDF created with the iTextsharp library in C#. Those PDFs are created and are also using AcroFields.Item to create fields and field them with the users info. Once I have created all ...
Keras-JOB's user avatar
  • 135
1 vote
1 answer
90 views

I want to loop over all internal link (GoTo actions) on a PDF page and find the destination page number and rectangle. Currently I am using this code: public static void GetLinks(PdfDocument ...
Markus's user avatar
  • 11
0 votes
0 answers
125 views

I know this issue has come up before, but I haven't found any solutions that work. I'm using iText's XMLWorker to generate PDFs from HTML templates in a Java backend. Recently, I started getting this ...
Ansh Bargoti's user avatar
1 vote
0 answers
65 views

I have a PDF file which I am reading using iText 7.x, but some of the text doesn't get read. Code: Rectangle rect = new(0, 0, 1100, 1100); TextRegionEventFilter regionFilter = new(rect); ...
Yaniv Amrami's user avatar
0 votes
0 answers
67 views

I want to read a value from a specific area of a PDF file. text to be read, reading area marked in red For this, I have defined an area in the PDF that should be read. MyCode: Dim pageNumber As ...
Sven's user avatar
  • 1
0 votes
1 answer
124 views

I'm working on digitally signing a PDF using an external signature service. The signing flow is as follows: I add a SignatureField to the existing PDF to generate a valid /ByteRange, and produce a ...
ahmet's user avatar
  • 3
0 votes
1 answer
104 views

I'm using this code to sign a PDF using itext version 8.0.4 in a .NET app. public static void Sign(String src, String dest, Org.BouncyCastle.X509.X509Certificate[] chain, ICipherParameters pk, ...
mihai stoica's user avatar
1 vote
1 answer
127 views

I'm getting an error that the mathematical summary could not be verified in the C# Padessignature. I'm using IExternalSignatureContainer. I need your help for signing The code is signing successfully ...
Adem YURTCU's user avatar
0 votes
1 answer
176 views

I'm working on a C#/Blazor project that extracts text from PDF files and stores it in an Elasticsearch index for full-text search. The issue: when the PDF was originally a PowerPoint presentation, the ...
fabsg0's user avatar
  • 1
0 votes
1 answer
85 views

I have an issue using ITextPdf-7.2.6. I would like to print a big table on a PDF but I always have those two issues. I have an infinite loop if I recreate the renderer or a NullPointerException if I ...
pacataque's user avatar
  • 140
0 votes
0 answers
59 views

Is it possible to add mp4 videos to itet 5.5 and let them play upon showing? What I tried: final PdfPCell cell = new PdfPCell(); final Chunk chunk = new Chunk(); chunk.setAnnotation(PdfAnnotation ...
Mani Afschar Yazdi's user avatar
1 vote
2 answers
125 views

I use Java and want to display emojis. This is the code: final Document document = new Document(); FontFactory.register(getClass().getResource("/NotoColorEmoji.ttf").toExternalForm()); final ...
Mani Afschar Yazdi's user avatar
0 votes
0 answers
65 views

I'm not familiar with PDF parsing, but I am developing a program that processes PDFs with iText 8. My system utilizes an electronic protocol service to insert protocol information at the top of each ...
leoniDEV's user avatar
0 votes
1 answer
89 views

we use itextPDF v9.2 to generate PDF from HTML Code. The PDF is looking fine, but for the tagging of input elements for example <input type="checkbox" id="$elementId" name="...
ovgu12's user avatar
  • 130
0 votes
1 answer
72 views

How to control line spacing when filling PDF form fields with iText, especially under line break scenarios? java code package com.example.demo2.demos.test; import com.lowagie.text.DocumentException; ...
王者之座's user avatar
0 votes
0 answers
47 views

itext-pdfsweep-dotnet does not appear to apply the font or font size of the redaction annotation overlay text, as set by SetDefaultAppearance(), for pdfs that are not forms. I tried creating redaction ...
epooch's user avatar
  • 91
-1 votes
1 answer
87 views

i have a pdf that has a couple of signatures added using iText : iText signed file I am using PDFBox(version 3.0.4) to add more signature fields into the same PDF using createEmptySignature() with ...
rec7y33's user avatar
  • 21
0 votes
1 answer
129 views

I would just like to burn all the annotations in the PDF as images. The reason is when any annotation is added to the PDF, it is easily movable using the Mac Preview application. Hence if I were to ...
Akhil NagaSai's user avatar
0 votes
1 answer
98 views

I have a service with a dependency to a document generation library. The library uses iText pdfHTML to convert HTML to PDF. Inside the document, the Table of contents contains links for jumping to ...
Sobasus's user avatar
0 votes
1 answer
165 views

I have for mission to create a PDF/A conform, and to do so I use fnfe-mpe.org validator After a lot of work, I've achieved to reduce all my errors to only one, but I've looked through the net for ...
Shiftenas's user avatar
1 vote
1 answer
90 views

I have a PDF file generated by JasperSoft Studio, which contains a table that is smaller than the size of an A4 page. The PDF is available to me as a byte array encodded as Base64 String in my code, ...
Rodderh's user avatar
  • 43
0 votes
0 answers
115 views

I need to implement a two-step PDF signing process using iText in C#. The flow is as follows: Prepare a PDF for signing — embed an empty signature field, calculate the hash, and return both the ...
LemonPotion's user avatar
1 vote
0 answers
54 views

I'm using iText to populate values in a fillable PDF. While the values appear correctly when the PDF is opened in most viewers, they do not show up when viewed using AirPrint. This issue affects both ...
user3734090's user avatar
1 vote
0 answers
65 views

I have created a read only checkbox in PDF using itext (c#). NVDA is announcing it as check box unavailable not checked read only. I want to remove the unavailable word. Sharing the code I have ...
user30207245's user avatar
2 votes
1 answer
128 views

I'm implementing a Qualified Electronic Signature (QES) flow using Swisscom Trust Services and iText 7.2.5 in Java. I'm stuck on the step where I compare the SHA-256 hash generated during PrepareHash ...
Igor Stajic's user avatar
2 votes
1 answer
239 views

I'm have an existing (generated) PDF that is Tagged (for accessibility, as shown in Acrobat Reader) - I have parsed it through the PDF Accessibility Checker (PAC - https://pac.pdf-accessibility.org/en)...
TerrorBight's user avatar
1 vote
0 answers
79 views

I am evaluating the iText7 pdfXFA add-on to flatten a Dynamic XFA PDF form. I've created a simple C# Console application and used the C# code example at https://itextpdf.com/products/flatten-pdf-...
jstewbhai's user avatar

1
2 3 4 5
269