I’m trying to add some vertical texts to a PDF file, but when I rotate my paragraphs with setRotationAngle every space turn into a line break or the text orientation is changed, I’m not sure. The pictures show the result I expect and the result I’m getting. I’m using iText 7.1.0 at NetBeans 12.3. Result I want Result I get
Tag: itext
java.lang.NoSuchMethodError: org.bouncycastle.asn1.x509.GeneralName.getDERObject()
I have done migrating project from itext2.1.7.jar to itext5.5.13.jar but While testing the pdf which are having signatures am getting the below error: java.lang.NoSuchMethodError: org.bouncycastle.asn1.x509.GeneralName.getDERObject() This is the method where I am getting error: In my class path I have placed: 1.bcprov-jdk15on-1.49.jar 2.bcpkix-jdk15on-1.49.jar 3.itextpdf-5.5.13.jar BouncyCastle libs I have added according the pom.xml which I got while downloading itextpdf. This project
how to change image position to center in PDF android
My app create pdf using this code problem is when user select smaller size image than page size it will move to top left corner i have tried and if image is bigger than page size it goes out of the page I want to shrink the image size to page size Answer I have Changed this image position to
The non-latin text is disappearing from the pdf text field
I create a PDF document with text fillable fields using itext 7.1.9 library. The PdfTextFormField contains a multilanguage text. When the PDF document has created, I open it in Adobe Acrobat Reader and the non-latin symbols are disappearing from the text field and I see only latin symbols, but if I click on the field the whole text will be
Download pdf from response (okHttp3) – JAVA spring boot / display on browser
I’m working with external API , when I execute one of the request that returns pdf I cannot handle it in the server side . If I copy paste the api request : https://api.worldota.net/api/b2b/v3/hotel/order/document/voucher/download/?data={“partner_order_id” : “0d7836b4-2eba-475f-b2d6-1b95092534b0” , “language”:”en”} the browser open a pdf in the browser and download it . when I execute this url in the java code how
iText PDF: the document has no pages
I’m trying to do a date range based filter to export a report into a PDF; however, when I click to export the PDF, I get the following message: ExceptionConverter: java.io.IOException: The document has no pages. Here’s my PDF class’ code: And here’s the code of the PDF generation button: I believe there’s a problem with SQL and JDateChooser, since
iText: how to add a String to a cell
Hi guys I am an absolute beginner so go easy on me, why is this not working for me, I really do not understand why this is not working, but I am a beginner so if someone could correct this for me, I would really appreciate it. I am surprised that it does not work My Error messege: Answer iText
Save text pdf direct to s3 without having to save it locally
I am generating pdf files using itext 5 and Java, and saving them locally then saving these local saved files on AWS S3. Is there a way to just send them straight to S3 without having to save them …
Merge encrypted pdf file programmatically exception
I have been using the following code to merge encrypted pdf files programmatically. public void mergeMyFiles(String filesToBeMerged[], String mergedFileLocation, String password) { try { …
Remove FixedLeading at the first line on each page
I want to remove setFixedLeading at the first line on each page (100+) I read a bit text(more 100 page with help while). And I set padding and margin to 0 but I still have top indent. Why? Help me …