Category "itext"

How to read XFA form field and data in Java and how to convert XFA form PDF to normal PDF

I need to read XFA PDF form filled data in Java. And also we need to convert the XFA form PDF to normal PDF.

Why are images distorted after compressing image streams in PDF manually?

I am creating an application which converts Images to PDFs. It also has a feature which compresses the already created PDFs. Both features are working. But the

Cannot get footer table to be entire width of PDF in iText Java

I am using iText PDF version 5 in Java. I have a table at the bottom of my page that I need to be the entire width of the page up to the margins of the page. He

How to modify an existing PDF file contents in Java

I am using a Spring Boot application and I need to dynamically populate the blanks in an existing PDF using the values from the database. I have attached the im

How to edit the contents of an existing PDF programmatically in JAVA [closed]

Let's assume I have an existing pdf with a fixed header and footer and blank body like the below image And I have to add content to the body(

Hebrew characters are printed in reverse order in iText 7

I'm using iText 7 for printing some text in List (in Hebrew) to PDF file, but while printing the Hebrew characters are printed in a reverse way. The input given

C# - Save XML file as PDF as Raw Image (not converting)

I am trying to save xml file as PDF as it is. In other words, I am trying to create PDF file that shows content of XML like a screenshot (like raw screenshot).

Pdf signature invalidates existing signature in Acrobat Reader

I'm using iText 7.1.15 and SignDeferred to apply signatures to pdf documents. SignDeferred is required since the signature is created PKCS11 hardware token (usb

Sign PDF with new Belgian id card (eid middleware and itext)

I try to sign some pdf's with a Belgian id card. To acheive that, I'm using the belgium eid middleware to sign the data and itext7 to stamp the pdf with the sig

PDF form fields: Separate/Extract widget dictionary from field dictionary

According to the PDF spec it is possible to merge the widget dictionary and the field dictionary when there is only one associated widget annotation. Is there s

How to create a Paragraph with iTextPDF?

I have this mobile app where I need to export some rows of the database to pdf. I need to have a pdf structure in order to get the information correctly placed.

PDF Form no longer editable after partly filled

I'm facing a problem with a Web API I have that receives a PDF document (PDF form) as a base64 encoded string, makes it into a file, fills in some of the fields

Cannot create PdfStamper (NullReferenceException)

I have a specific problem that I cannot seem to resolve. I am trying to create a PdfStamper with the following code. The line marked with --> is where the e

export file to xlsx format in java

I am getting 500k records per request from the Database then mapping the data to a list of POJO classes then writing the records to an excel sheet (I have the r

How to display Arabic strings from RTL in PDF generated using itext 7 API?

I'm struggling with this problem for hours now but I can't find a way out, the problem is that: I wrote a program that generate a pdf file using itext version

Remove default white space document itext 7

i use itext 7.1.9 for create the carrier lable bill. i want my bill have full with and height of the document, i set with table 100 percent or large width but m

How to get coordinate of text from line paragraph pdf itext5

How to get coordinate of left of line text paragraph pdf. I mean like pic (x,y). Coordinate per line. I use itext5 and java

How can i add an image into an existing and specific pdf page (Itext)?

I'm developing a "program" that create barcode and insert them on the original pdf. This is my code: package com.mycompany.barcodeinserter; import com.itextpdf

Get/Set Annotation from/in existsing PDF using itextSharp

I'm working on a project where i have to read an existing pdf using iTextSharp.PdfReader, then getAnnotations in order to insert them back in a new generated pd

How do I round the corners of an iTextSharp table border?

I want to make a round rectangle in itextsharp. Here is the output I have now without rounding: and here is my code that processes that output: pdftbl = new