Closed GoogleCodeExporter closed 9 years ago
Hi,
XDocReprt works with InputStream as docx source. Just convert your blob to
inputstream. See for instance at
http://stackoverflow.com/questions/8049974/oracle-database-blob-to-inputstream-i
n-java
Regards Angelo
Original comment by angelo.z...@gmail.com
on 24 Apr 2013 at 1:10
I'm using "IXDocReport report = loadReport(reportId, registry, request);" to
load report from file. What function I have to use to convert InputStream to
IXDocReport?
Original comment by MrSo...@gmail.com
on 26 Apr 2013 at 9:06
I'm sorry I don't understand your question? What is loadReport method do you
mean? Perhaps you wish to load report in the WEB App? If it that, please read
https://code.google.com/p/xdocreport/wiki/DocxReportingWEBApplication
Original comment by angelo.z...@gmail.com
on 26 Apr 2013 at 10:05
Thank you very much, it helped. One more question: how can I change name of
output file? Right now it "<<reportId>>.docx", but I want to specify other name.
Original comment by MrSo...@gmail.com
on 7 May 2013 at 5:31
Override the
------------------------------------------------------
getContentDisposition( String reportId, MimeMapping mimeMapping,
HttpServletRequest request ))
------------------------------------------------------
of your servlet which extends :
https://code.google.com/p/xdocreport/source/browse/document/fr.opensagres.xdocre
port.document/src/main/java/fr/opensagres/xdocreport/document/web/BaseXDocReport
Servlet.java
Original comment by angelo.z...@gmail.com
on 7 May 2013 at 6:25
Thank you very much, it works.
Original comment by MrSo...@gmail.com
on 7 May 2013 at 7:40
Ok I close this issue.
Original comment by angelo.z...@gmail.com
on 9 May 2013 at 1:00
cleanup
Original comment by pascal.leclercq
on 10 Oct 2014 at 7:37
Original issue reported on code.google.com by
MrSo...@gmail.com
on 24 Apr 2013 at 6:48