hi i need ur help about xdocreport

67 views
Skip to first unread message

jary

unread,
Sep 4, 2011, 9:48:27 PM9/4/11
to xdocreport
hi guys

i used the xdocreport few days ago, i believe it very good to
convert ODFDOM to PDF, it just i need ,but Do you have plan to supply
a version using PDFBox ?



jary


a software engineer of China.

Angelo zerr

unread,
Sep 5, 2011, 2:24:14 AM9/5/11
to xdocr...@googlegroups.com
Hi Jary,

Welcome to XDocReport forum.

XDocReport provides as you have seen 2 converters

* docx->PDF : http://code.google.com/p/xdocreport/wiki/XWPFConverter

* and odt->PDF : http://code.google.com/p/xdocreport/wiki/ODFDOMConverter

Those two converters are based on iText. iText works well but for the problem is license (I suppose it's your problem too).
We wish gives our 2 converters to Appache but the problem is iText license. (ODFDOM gives their project to APache and  are interessted with our converter)
That's why, I had created the ussie http://code.google.com/p/xdocreport/issues/detail?id=33 to implement a new converter with PDFBox.

I have contacted PDFBox http://mail-archives.apache.org/mod_mbox/pdfbox-users/201108.mbox/%3CCAKLdLg-9w3gu9Hx0BX1iYiCJmT9EEzkv9Vxq7sk6=gKn=Dk...@mail.gmail.com%3E
but no answer. So we are not really motivated to implement a converter with PDFBox:

* no answer of PDFBox. With iText you have a lot of samples and community is very reactive. Thank a lot to iText community to help us to develop our converter!
* it seems that PDFBox doesn't provide the same widget like table, chapter than iText.
* we develop XDOcReport in our spare time and we have spend a lot of time to develop our converters and we must use our energy to develop another features for XDocReport (like Eclipse RCP/RAP Application and fix some problems (see the issues).

But if you are interested to help us to develop thoses converter, it should be fantastic!

Tell me if you are interested. Do you know PDFBox?

Thank a lot for your help.

Regards Angelo


2011/9/5 jary <guoz...@gmail.com>

guo zhouwei

unread,
Sep 5, 2011, 2:56:38 AM9/5/11
to xdocr...@googlegroups.com
hi Angelo

first thanks for ur answer, 
i have to use PDFBox because it should supply Apache2.0 license.  but the PDFBox for me also new  , i have contacted PDFBox mail list, no answer, the same as u .
so now i have to learn PDFBox and try to create a project application for convert ODFDOM to pdf use PDFBox. it is diffcult for me  because all of them is new for me, but i can try . 

best regards

jary.




2011/9/5 Angelo zerr <angel...@gmail.com>

Angelo zerr

unread,
Sep 5, 2011, 3:08:23 AM9/5/11
to xdocr...@googlegroups.com
Hi guo,


2011/9/5 guo zhouwei <guoz...@gmail.com>

hi Angelo

first thanks for ur answer, 

You are welcome:)
 
i have to use PDFBox because it should supply Apache2.0 license.  

Ok, we hav ethe same problem.
 
but the PDFBox for me also new  , i have contacted PDFBox mail list, no answer, the same as u .

-(

 
so now i have to learn PDFBox and try to create a project application for convert ODFDOM to pdf use PDFBox. it is diffcult for me  because all of them is new for me, but i can try . 

That's very cool!  If you wish do that I think you should create a PDFBox extension (like we have done with iText extension) which provides several widgets like table, chapter, etc
We could use your widgets to convert too docx->PDF.

I don't know PDFBox too. I think before implementing the odt->pdf you should create a PDFBox extnsion with a lot of sample which use complex widget like tbal which contains several images, which manage rowspan, etc
I think your work could b einterested a lot of people which uses PDFBox (and could be integrated to PDFBox project). iText provides somes table widget and a lot of developer use those widgets.

Once you have managed complex widgets, I could help you if you wish to implements odt-> PDF with PDFBox.

I don't want to discourage you, but converter is very long and hard to develop. I'm not very motivated with PDFBox because community is not reactive and PDFBox doesn't provide complex widgets like table. But if you work about that, my motivation will grow and I could help you.

Good luck!

Regards Angelo

guo zhouwei

unread,
Sep 5, 2011, 3:26:59 AM9/5/11
to xdocr...@googlegroups.com
Hi Angelo 

i decided that  implementing the odt->pdf use PDFBox, it is also my job now in my firm , if i have any problem i will contact u .  

Thanks a lot .

Angelo zerr

unread,
Sep 5, 2011, 3:28:17 AM9/5/11
to xdocr...@googlegroups.com
And if you can provides complex PDFBox widgets, we could study if it's easy to change our converter code to use interface PDF widgets instead of iText widget directly. So converter code will not linked to a PDF iText widgets but will use PDF interface. After you will just have to implements a PDF widgets factory (with iText, PDFBox etc). But I think it's hard works. But for the moment I think the simply solution is to copy/paster our code and replace it with PDFBox widgets.

If you want we could give you XDOcReport SVN right to register your work and we could working together?

Regards Angelo

guo zhouwei

unread,
Sep 5, 2011, 3:48:35 AM9/5/11
to xdocr...@googlegroups.com
i think it diffcult to implement for imstead of iText widget directly, because the PDFBox don't have enough widgets, for example we can use the function drawLine() to draw a table. 

the first step, i just  make true the text with style, no chart,no table,no image etc. if it can be success, next step we will make true table and so on .

if we will work together, it so fortunate for me .


2011/9/5 Angelo zerr <angel...@gmail.com>
And if you can provides complex PDFBox widgets, we could study if it's easy to change our converter code to use interface PDF widgets instead of iText widget directly. So converter code will not linked to a PDF iText widgets but will use PDF interface. After you will just have to implements a PDF widgets factory (with iText, PDFBox etc). But I think it's hard works. But for the moment I think the simply solution is to copy/paster our code and replace it with PDFBox widgets.

Angelo zerr

unread,
Sep 5, 2011, 4:17:29 AM9/5/11
to xdocr...@googlegroups.com


2011/9/5 guo zhouwei <guoz...@gmail.com>

i think it diffcult to implement for imstead of iText widget directly, because the PDFBox don't have enough widgets, for example we can use the function drawLine() to draw a table. 

Yes I know, PDFBox doesn't provide widgets. I have posted a message at PDFBox forum to speak about this problem (I have told that you are interested to implement converter with PDFBox).
I think the first work is to develop PDFBox widgets like table and after we can start the odt converter with PDFBox. I could help you with taht. We can create a new projet to XDocReport incbator.


If you are interested, tell me.

Regards Angelo

Reply all
Reply to author
Forward
0 new messages