feristhia / xdocreport

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

PDF is not well generated #52

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Generate report with the attached file
2.Generate PDF with the attached file

What is the expected output? What do you see instead?
The docx generated feels good, except the ".
The PDF is not good : footer on the right, signature on the left.

What version of the product are you using? On what operating system?
I use the test page http://xdocreport.opensagres.cloudbees.net

Please provide any additional information below.

Original issue reported on code.google.com by bernardm...@gmail.com on 3 Nov 2011 at 1:52

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

We know that PDF converter docx->PDF and odt->PDF are a lot of bugs. But it's 
very hard to develop PDF converter. Today PDF converter are based on iText but 
we have the intention to manage it with FOP (just with Java code, not with 
XSL-FO)(ssee issue http://code.google.com/p/xdocreport/issues/detail?id=33)

So PDF converter must be improved a lot but it will take a long time to do that.

Regards Angelo

Original comment by angelo.z...@gmail.com on 3 Nov 2011 at 2:07

GoogleCodeExporter commented 9 years ago
OpenOffice has a built-in pdf converter, which gives a much better result. Is 
it possible to trigger this converter by program after conversion to odt and 
offering the resulting pdf as pdf result?

Original comment by juerg.br...@gmail.com on 15 Nov 2011 at 7:37

GoogleCodeExporter commented 9 years ago
Hi Juerg,

I suppose you mean that start OpenOffice in Headless mode and cal it with UNO 
command. Is that?

We have created our own converter because we wish having speed and avoid 
installing OpenOffice in headless mode. 

But if you wish do that, I suggest you to use 
http://code.google.com/p/jodconverter/
that it generate UNO command from Java. We could implement to a new IConverter 
which uses JODConverter. If you are interesting with this topic, I could help 
you to implement it.

Regards Angelo

Original comment by angelo.z...@gmail.com on 15 Nov 2011 at 9:27

GoogleCodeExporter commented 9 years ago
Hi Angelo,

thanks for the hint. In fact I meant nothing when I asked the question. I
often use the OpenOffice built-in pdf converter. The resulting pdf
fulfilled always my needs completely.
This was the starting point of my question, and of course I saw some
artefacts in your conversion, which I think need improvement and for which
you say you need still time to correct it. No offence, we all need time to
do our work at a high quality level.

So I'll see actually I'm still fighting around odt and docx generation.
Once finished this part I'll see. Maybe your solution is what I need, so
I'll use it, otherwise I'll consider the proposed jodconverter.

Regards

Juerg

Original comment by angelo.z...@gmail.com on 15 Nov 2011 at 10:38

GoogleCodeExporter commented 9 years ago
Hi Juerg,

>No offence, we all need time to do our work at a high quality level.
No problem with that! We know that our converter is not very good but it's very 
hard task and I'm waiting for help (perhaps from FOP Team and ODF Toolkit Team) 
and for the moment I prefer using my energy to develop our Eclipse RAP 
XDocReport 
http://xdocreport-rap.opensagres.cloudbees.net/xdocreport?startup=fr.opensagres.
xdocreport.eclipse.ui.application

Tell me if you are interested to implement jodconverter. If you are interested, 
I suggest you to create Java snippet with JodConverter (to generate PDF,XHTMl 
etc...) and after I could wrap your code in our convertervery quickly.

Regards Angelo

Original comment by angelo.z...@gmail.com on 15 Nov 2011 at 10:41

GoogleCodeExporter commented 9 years ago
Hi, 

I have improved position of the image and now the header image is well 
positionned. The signature image is not totally on th eright (I don't know why 
for the moment).

Regards Angelo

Original comment by angelo.z...@gmail.com on 31 Oct 2012 at 4:59