iTextPdf 5.x class BarcodeQRCode missing in OpenPdf report?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 20/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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!
- Lenguaje dominante
- Java
- Estrellas
- 4.4k
- Forks
- 714
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de LibrePDF/OpenPDF
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
-
IndexOutOfBoundsException in PdfReaderPosiblemente ocupada @andreasrosdalw la tomó hace 93 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
`PdfSmartCopy` can take effectively unbounded time on nested shared Form XObjectsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 38/100
Todos los issues de LibrePDF/OpenPDF
Issues similares
-
priority: p2 type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
googleapis/java-genai#1372 ·
Los mantenedores suelen responder en 1 día
-
GeoSeries scale and skew tests fail with pytest 9.2.0Posiblemente ocupada @jiayuasu la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Preventions: a dose saved without a unit reopens blank, and an unchanged save then erases itAbiertopriority: medium Review effort [1-5]: 3 status: needs-triage type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
carlos-emr/carlos#5431 ·
Los mantenedores suelen responder en 1 día
-
Integration tests: jetty:run fails with WELD-001408 for CountryJpaServicePosiblemente ocupada @viniciusmachak la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
primefaces/primefaces#15431 ·
Los mantenedores suelen responder en 1 día
-
test(multi-tenancy): assert cross-tenant vulnerability reads are refused in the CWE isolation testAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
OpenAEV-Platform/openaev#8792 ·
Los mantenedores suelen responder en 2 días