I created a project using React Js that consumes endPoints for dynamic data (i don't have access to those endpoints). And it's been 4 days now i'm searching for a solution that can help me to manipulate pdf files inside my app. I have tried react-pdf, jsPdf, html2canvas then jsPdf, pdf2htmlEX then html2canvas then jsPdf, ...etc but all those methods are just ways to render pdf files or convert other file types to pdf type. What i'm need to do is to use a pdf file "as a model" and edit it according to the current data then generate the new one. I found this solution: pdfBox but it's a java tool which means that if i want to try/use it, i must create a java project that will communicate with my reactJs one. So my question is:
- is there a way to do the stuff using just JS which, i think, is the best way.
- if no, what is the best way to do it according to my situation without losing performances and without increasing the charges (i think creating new project with java will increase it).
Aucun commentaire:
Enregistrer un commentaire