Questions tagged as 'itext'

1
answer

C # - High memory consumption using iTextSharp

I have the following code, the objective is to open a file pdf , calculate the hash of it and keep the file in memory (approximately 20 seconds) to later sign it and save it. What happens, a pdf of 90mb is loaded and when y...
asked by 03.07.2018 / 18:33
1
answer

Itextsharp - Name of PDF depending on variable

I currently have a code with iText to create PDF with a fixed address in this case: PdfWriter writer = PdfWriter.GetInstance(doc, new FileStream("C:/Atreus-Export/presupuesto.pdf", FileMode.Create)); My question is how can I make the PDF na...
asked by 04.09.2018 / 14:34
2
answers

Treaty attributes table PdfTable Java iText

I have the following JAVA code public class PDF_Clientes_Tabla { //Ruta del archivo dentro del proyecto de Netbeans. public static String archivo = System.getProperty("user.dir")+"/listado_clientes_tabla.pdf"; public static void crearPDF(Arra...
asked by 30.12.2016 / 02:06
0
answers

Show image with itextpdf

I have an image in the following path of my project \ web \ resource \ img \ header2.jpg, I am using the library itextpdf I need to show the image in the PDF that is created and tried to declare it in different ways but it does not work find....
asked by 13.12.2017 / 23:19
1
answer

Create PDF form in Java [closed]

I need to create several forms in java, when selecting a person to export their data to a PDF with a form already designed. I know the bookstore 'itext' and 'lowagie' I have already created some PDF to get list, the problem is that now I have to...
asked by 15.03.2017 / 09:47
1
answer

Create hyperlink to video from itext for android

Good morning. Developing an app and using the itext library for android, I need to show the path of some videos in the generated pdf document, and when clicking on them, open the video player and play them. They are videos stored locally....
asked by 15.11.2016 / 12:56
1
answer

How to add itext library to Java?

Good morning community, I am a beginner in the development of JAVA and I must import ITEXT library. But I create the library and I add it; but when debugging it continues to generate error ... I must import import com.itextpdf.tex...
asked by 09.07.2018 / 18:02
1
answer

error when opening the pdf itext

I am creating a digital signature with itext but when I open the pdf it tells me that the file is damaged: public void firmarPdf(String origen, String destino) { try { KeyStore keyStore = KeyStore.getInstance("JKS"...
asked by 12.10.2017 / 18:34
1
answer

Error opening the file. Fault PdfPTable iText - JAVA

I'm making a PDF impression thanks to the iText class. I have the query made which shows me the data of the clients in my database, the query works both in SQL and in commands. I print the data in a PDF correctly but now I want to add that d...
asked by 26.12.2016 / 12:44
1
answer

Generate PDF with iText - Insert data in JAVA table

I would like to print in a PDF the information of all my clients with their names and surnames (two columns), I extracted these data from an SQL query. I print these data well in a PDF but I show them line by line what I want is to create a t...
asked by 15.12.2016 / 09:25