iTextPdf 5.x class BarcodeQRCode missing in OpenPdf report?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 20/100
Direzione di ricerca
Start by checking OpenPDF 2.0.2 for an equivalent to iText 5's BarcodeQRCode and review the four comments for any guidance or resolution. The issue is answered when the supported way to generate a QR code in OpenPDF is identified, or the missing functionality is confirmed.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi! I am CTO Abid Maqbool from Maqbool Solutions (SMC-Pvt) Ltd. an IT Company & Computer Software Houser, Pakistan!
I was using iText Pdf 5.x in my projects, as it is very old one and for the case of 7.x I can't use due to license issue.
So I am trying to switch to foked version Open Pdf 2.x, which is still active and latest one!
I have 100+ reports in old itextpdf 5, after switching to OpenPdf I foud that not major chaned, just imports changes!
- com.itextpdf.text.* -> com.lowagie.text.*
- com.itextpdf.text.pdf.* -> com.lowagie.text.pdf.*
- com.itextpdf.text.BaseColor -> java.awt.Color
The problem is I am not finind any related class in OpdfPdf for BarcodeQRCode, how to fix the issue?
com.itextpdf.text.pdf.BarcodeQRCode barcodeQRCode = new com.itextpdf.text.pdf.BarcodeQRCode(fbrInvoiceNo, 100, 100, null);
Image imgQRCode = barcodeQRCode.getImage();
PdfPCell pCellQrCode = new PdfPCell(imgQRCode);
pCellQrCode.setHorizontalAlignment(Element.ALIGN_CENTER);
pCellQrCode.setVerticalAlignment(Element.ALIGN_MIDDLE);
pCellQrCode.setRowspan(2);
pdfTableFBR.addCell(pCellQrCode);
Question: Is latest version of OpenPDF 2.0.2 is better then iTextPdf version 5.5.13.3 in all cases!
Note; iText 7.x is not an option, as some of it's features are Paid, e.g. for Arabic / Urdu language support!
- Lingua principale
- Java
- Stelle
- 4.4k
- Fork
- 714
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di LibrePDF/OpenPDF
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
-
IndexOutOfBoundsException in PdfReaderForse già presa @andreasrosdalw l’ha presa 93 giorni fa. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
`PdfSmartCopy` can take effectively unbounded time on nested shared Form XObjectsForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
Tutte le issue di LibrePDF/OpenPDF
Issue simili
-
priority: medium Review effort [1-5]: 3 status: needs-triage type: bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
carlos-emr/carlos#5431 ·
I maintainer di solito rispondono entro 1 giorno
-
Integration tests: jetty:run fails with WELD-001408 for CountryJpaServiceForse già presa @viniciusmachak l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
primefaces/primefaces#15431 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
OpenAPITools/openapi-generator#25454 ·
I maintainer di solito rispondono entro 1 giorno
-
Component - Build
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100