bellakhalAmir / xdocreport

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

Convert Docx to text file using AbstractProcessXDocReportServlet #469

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, 

  I need to create text file with Docx file. My Original(Template.docx) docx file contains some velocity syntax, so i want to replace that syntax with some data after that i want to convert that output docx(MyOutput.docx) file to text(NeedOutput.txt). 

   Is it possible with docx. Please guide me. For more reference see the attachments if you have time.

  Thanks in advance.      

Original issue reported on code.google.com by vinay.mr...@gmail.com on 12 Mar 2015 at 5:04

Attachments:

GoogleCodeExporter commented 8 years ago
XDocReport doesn't provide a docx-> text converter. But you can implement it 
and use it. 

Original comment by angelo.z...@gmail.com on 12 Mar 2015 at 8:27

GoogleCodeExporter commented 8 years ago
How to convert html data into word document

Original comment by vinay.mr...@gmail.com on 13 May 2015 at 2:29

GoogleCodeExporter commented 8 years ago
XDocReport doesn't provide an html -> docx converter, but it's possible to 
create a docx template with a simple field and replace it with HTML which is 
converted to docx (it's called HTML text styling), but it supports basic 
feature like bold, italic, etc

See 
https://code.google.com/p/xdocreport/wiki/DocxReportingJavaMainHTMLTextStyling

Original comment by angelo.z...@gmail.com on 13 May 2015 at 2:36