Questions tagged as 'itext'

1
answer

NoClassDefFoundError error: com.itextpdf.text.Document after updating the SDK

I have a database on sqlite on Android, and export report to pdf using the itextpdf library. But recently after updating the Android SDK, it started from the error line below: Document document = new Document(); The...
asked by 19.03.2016 / 00:28
2
answers

I can not generate a pdf file

Personal how to generate PDF file using ITEXT with JSF. The problem is the following, when I ask to generate the PDF file in a class having only the MAIN method, it generates normally, but when I ask to generate the XHTML page by BUTTON it does...
asked by 27.11.2015 / 20:27
1
answer

How to create a PDF using iText for Android

I was trying to create a pdf file in my Android application, as I did not find anything that worked, today I was able to solve the problem on my own. Follow the code to whoever interests. Here are the imports corresponding to iText.jar impo...
asked by 28.10.2015 / 02:58
1
answer

Margin of a Document iTextPdf

I'm working with an existing PDF file, following the short line of code: //Código... document = new Document(PageSize.A4); PdfWriter writer = PdfWriter.getInstance(document, fOut); document.open(); PdfContentByte cb = writ...
asked by 19.10.2015 / 16:59
1
answer

How to inform downloadable PDF file name using IText / Lowagie and Primefaces?

I am able to download the generated file, but I can not name it or .pdf, only download as index.xhtml . Does anyone know how to handle this? I call the method to generate the PDF like this: <h:body> <h:form>...
asked by 08.08.2015 / 22:12
0
answers

itext romaneio pdf for non-fiscal printer

I am developing a romaneio for order separation in java with itext, it is practically ready, however the document standard is like A4, and ideally would be for non-fiscal printers, someone could give a force of how to step convert for 40 columns...
asked by 07.02.2018 / 11:14
0
answers

Itext with Firebase on Android

Hello, guys, how are you? There was a doubt here that I would like you to help heal her. You can generate a PDF report with itext that contains Firebase data. Type, register multiple clients during the week on Firebase and at the end of the week...
asked by 27.10.2017 / 15:37
0
answers

Modify Li tag symbol in iText PDF generated

A little confusing heading, but the problem is somewhat simple. I'm generating a PDF via iText and I'm using HTML because it's simpler. I'm doing the example below the only problem is that I would like to modify the symbol of the tag &l...
asked by 24.08.2016 / 18:38
0
answers

Remove pdf image using itext

I am adding image in pdf with itext, however 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 in some ways, as follows: The first attempt was to clean the streams of the...
asked by 05.07.2016 / 20:06
0
answers

Space between the lines of Paragraph iTextPdf

I'm using a very large text and adding directly to the iTextPDF Paragraph, however the space between the lines is very large, I wanted to control the spacing between the lines, but I can not make any changes, I tried Font, Chuck and Paragraph, b...
asked by 20.10.2015 / 17:07