Arnaud-Nauwynck / test-snippets

simple Java test projects (snippets)
8 stars 16 forks source link

adapt flipbook2pdf for other webside #7

Open ludo77 opened 4 years ago

ludo77 commented 4 years ago

Hello, I saw that on the site: https: //www.quora.com/How-do-I-convert-and-save-an-online-flipbook-to-a-PDF You marked: you will probably need to adapt the code for your own website. I would have liked to adapt it for the site: https: //www.kiosquemag.com. But I don't really know the java language.

Arnaud-Nauwynck commented 4 years ago

on my side, I dont have a paid acces to https: //www.kiosquemag.com it is pretty easy to install a jdk+java editor (eclipse,intellij). You should try. download https://adoptopenjdk.net/, then https://www.eclipse.org/downloads/ in eclipse, use "import ... as maven project", then click on the main clas, Flipbook2PdfMain and click on "Debug as java application"

welcome to java development

ludo77 commented 3 years ago

when i click on run i get an error: Exception in thread "main" java.lang.Error: Unresolved compilation problems: The method getBaseOutputDir () is undefined for the type Flipbook2PdfParams The method getBookTitle () is undefined for the type Flipbook2PdfParams Type mismatch: cannot convert from element type OrderBookInfo to val bookTitle cannot be resolved or is not a field orderDetailId cannot be resolved or is not a field The method getOrderDetail () is undefined for the type Flipbook2PdfParams

at fr.an.tools.flipbook2pdf.Flipbook2PdfMain.run (Flipbook2PdfMain.java:42) at fr.an.tools.flipbook2pdf.Flipbook2PdfMain.main (Flipbook2PdfMain.java:33)