Most voted "itext" questions
iText is a library for creating and manipulating PDF files in Java and .NET. Use this tag when the question refers to some resource, information or problem related exclusively to this library.
Learn more…22 questions
Sort by count of
-
3
votes0
answers25
viewsApplication does not create file in external memory
I’m using the following code: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_pdftest); Button Btgerar = (Button)…
-
2
votes2
answers445
viewsI cannot generate a pdf file
Personal how to generate PDF file using ITEXT with JSF. The problem and the following, when I ask to generate the PDF file in a class having only the MAIN method, it generates normally, but when I…
-
2
votes1
answer52
viewsNoclassdeffounderror: com.itextpdf.text.Document error after updating SDK
I have a database on sqlite on Android, and export report to pdf using the library itextpdf. But recently after updating the Android SDK, it started from the error in the line below: Document…
-
1
votes1
answer554
viewsHow to inform download PDF file name using Itext/Lowagie and Primefaces?
I am able to download the generated file, but I can’t set the name nor the . pdf, just download as index.xhtml. Does anyone know how to fix it? I call the method to generate PDF like this:…
-
1
votes0
answers67
viewsHow do I pass an object value with itext
I have the following code fragment: Document doc = new Document(PageSize.A4.rotate()); while(iteratorRow.hasNext()){ Object valorCelulaRow = iteratorRow.next(); if ( valorCelulaRow != null ) {…
-
1
votes1
answer1032
viewsMargin of a Document iTextPdf
I am working with an existing PDF file, follow the small line of code: //Código... document = new Document(PageSize.A4); PdfWriter writer = PdfWriter.getInstance(document, fOut); document.open();…
-
1
votes0
answers1784
viewsParagraph iTextPdf line spacing
I’m using a very large text and adding directly in iTextPDF’s Paragraph, but the space between the lines is very large, I wanted to control the spacing between the lines, but I can’t make any…
-
1
votes0
answers138
viewsItext with Firebase on Android
Hello, everybody, all right? I have a question here that I would like you to help Sandra. You can generate a PDF report with itext that contains Firebase data. Type, register several clients during…
-
1
votes0
answers414
viewsPDF generated from HTML, via itext (5.5.6), does not have the font size defined in CSS
I am using itext 5.5.6 to generate a PDF file from an HTML document generated by Thymeleaf. In this HTML, the styles are being reflected correctly in the browser. However, when generating the PDF,…
-
1
votes2
answers4265
viewsHow to create a PDF using iText for Android
I was trying to create a pdf file on my Android application, as I could not find anything that worked, today I managed to solve the problem on my own. Follow the code to whom you are interested.…
-
1
votes0
answers360
viewsitext romaneio pdf for non fiscal printer
I am developing a romanticism for sorting orders in java with itext, it is practically ready, however the document standard is as A4, and the ideal would be for the standard of non tax printers,…
-
1
votes0
answers65
viewsCopy Pdf s with itext fields do not appear
I have a routine that generates several pdf s with data from the database, using a template created in Openoffice, this contains several fields that are filled with data from the database, in the…
-
1
votes0
answers188
viewsRemove pdf image using itext
I am adding image in pdf with itext, but in some moments I need to remove this same image.. How do I do this so as not to corrupt the reading of it? I have tried some ways, as follows:: The first…
-
1
votes0
answers64
viewsModify <Li> tag symbol in PDF generated through iText
Kind of confusing title, but the problem is somewhat simple. I am generating a PDF through iText and I am using HTML for being simpler. I am performing the example below the only problem is that I…
-
0
votes1
answer474
viewsHow to read a PDF containing accented characters using iText?
I am trying to read a PDF using this iText library, however, accented characters are ignored, I have already looked at the project Encoding and this as UTF-8. PdfReader reader = new…
-
0
votes1
answer985
viewsPage Numbering Problems with iText
Good afternoon, everyone. I need to create reports with iText. Everything was going great until I needed to number these reports. I found a reply in someone else’s post on GUJ, but it didn’t work…
-
0
votes0
answers97
viewsHow to use itext 5 accent
I’m not able to use accentuation in itext 5. I took a look at the examples of the site, but did not find en. Would anyone know how to use it? It is being used on Android. The fields of the model…
-
0
votes0
answers105
viewsMerge Jasperreport report with other Pdfs and images
I have a Jasperreport and need to attach to it other Pdfs and images that the user attached. I was suggested to use iText, but I still have no idea how to merge the Jasper report pdf with these…
-
0
votes1
answer112
viewsProblem printing PDF with iText
I have to print out a Jasper report with attachments, which are images and other Pdfs. My approach is to pass this pdf from Jasper to iText and then merge with the attachments. For the method that…
-
0
votes0
answers177
viewsHow to add PDF reference mark with Itext 5.14
I need my footer to contain a description for a reference mark, for those who do not know it is those numbers that get high in a word, and are referenced in the footer with an explanation of that…
-
0
votes1
answer55
viewsFill PDF checkbox with iText7
Hello! I’m trying to check a checbox of my PDF, but I’m not getting it right. Instead of just checking one of the checkboxes, he’s always checking all 3 What I would like: What I am getting: PDF in…
-
-1
votes0
answers12
viewsI cannot convert a file to ocr with itextocr
I’m trying to create a program that applies ocr to a non-ocr pdf, using the library Itextocr in the .Net. It turns out I’m having the following error: "Pdfparser.exe" (CLR v4.0.30319:…