Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Covert word document to XSL-FO using Java

I am trying to covert a word document to pdf using java. 'word to XSL-FO to pdf' is the approach i am looking at.

In this approach to do 'word to XSL-FO', is there any open source api available? or can you please guide me with steps for implementing it?

like image 461
Joseph Kulandai Avatar asked Nov 27 '25 08:11

Joseph Kulandai


1 Answers

What version of Word document are you converting?

RenderX has WordML2FO stylesheets publicly available that can convert Microsoft's WordprocessingML documents to XSL FO (XSLFO).

These stylesheets were prepared by RenderX's development team and Microsoft for general use. They are used to convert documents in Microsoft's WordprocessingML XML vocabulary into documents in the W3C's XSL FO (XSLFO) vocabulary.

like image 62
Mads Hansen Avatar answered Nov 29 '25 21:11

Mads Hansen