zhoupan / jmesa

Automatically exported from code.google.com/p/jmesa
0 stars 0 forks source link

Librairies for export PDF are old #206

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For the PDF export, you use "core-renderer-R8pre1" and "itext-paulo-155"
(and "tagsoup-1.1.3").
The problem is that "itext-paulo-155" is very old (last release in 2005)
and he is not compatible with recent version of iText (use by JasperRepport
for example).

JMesa doesn't use directly "itext-paulo-155", but "core-renderer-R8pre1"
does. So the change will probably affect an important part of the PDF export.

Original issue reported on code.google.com by Vena...@gmail.com on 16 Jul 2009 at 11:44

GoogleCodeExporter commented 9 years ago
Does the PDF export still work with the upgraded jar files? I should update the 
jar
files for sure...

Original comment by jeff.johnston.mn@gmail.com on 17 Jul 2009 at 2:44

GoogleCodeExporter commented 9 years ago
Actually it's work. The ask is an enhancement.

iText-paulo-155 is based on iText version 1.
Using itext-paulo-155 or iText V1 or the two at the same time works fine.
But if we need iText V2, we can't use itext-paulo-155 or iText V1 (some 
functions
have different names in the same file), so PDF export doesn't work.

Original comment by Vena...@gmail.com on 17 Jul 2009 at 8:01

GoogleCodeExporter commented 9 years ago
We are also having issues with the PDF export out of the box.  Even downgrading 
to
itext-1.4.8.jar does not appear to resolve the issue with the charBox "method 
not
found" exception.  

Original comment by weston.j...@gmail.com on 21 Jul 2009 at 1:27

GoogleCodeExporter commented 9 years ago
Make sure that you do not have more than one jar file on your classpath. Also, 
you
could try switching to the PDFP view...it is simpler looking, but seems to work 
a
little better.

Original comment by jeff.johnston.mn@gmail.com on 22 Jul 2009 at 3:30

GoogleCodeExporter commented 9 years ago
We are using  "itext-paulo-155" and core-renderer-R8pre1" 
(and "tagsoup-1.1.3") for jmesa PDF export and it works well . But I coded the 
pdf
export with out using Jmesa and just using Itext related classs using
"itext-paulo-155" jar file , not used Itext.jar at all . When i do export , i am
getting class not found exception ,But the jar file is having that class 

error : 
java.lang.NoClassDefFoundError: com/lowagie/text/pdf/PdfWriter
        at org.springframework.web.servlet.view.document.AbstractPdfView.newWrit
er(AbstractPdfView.java:104)
        at org.springframework.web.servlet.view.document.AbstractPdfView.renderM
ergedOutputModel(AbstractPdfView.java:72)
        at org.springframework.web.servlet.view.AbstractView.render(AbstractView
.java:250)
        at org.springframework.web.servlet.DispatcherServlet.render(DispatcherSe
rvlet.java:1062)
        at org.springframework.web.servlet.DispatcherServlet.doDispatch(Dispatch

Original comment by venkat.k...@gmail.com on 16 Feb 2010 at 8:42