How to export documents with Java?
How to export documents with Java?
Hi,
I need export Word2007 document in Java enviment.
Could sb. give me a sample for it?
Thanks a lot!
I need export Word2007 document in Java enviment.
Could sb. give me a sample for it?
Thanks a lot!
Re: How to export documents with Java?
Hello.
Do you want to do it in code?
Thank you.
Do you want to do it in code?
Thank you.
Re: How to export documents with Java?
Hi, AlekseyAleksey Andreyanov wrote:Hello.
Do you want to do it in code?
Thank you.
Thanks for reply.
Yes, I need do it in code.
and do you have Java class reference for Stimulsoft Reports , I only find .net edition in your web.
Re: How to export documents with Java?
Hello.
You could find a sample code in the ExportReport file in our distribution.
Here is a nethods that you could use:
Thank you.
You could find a sample code in the ExportReport file in our distribution.
Here is a nethods that you could use:
Code: Select all
com.stimulsoft.report.StiExportManager.exportWord2007(StiReport, OutputStream)
com.stimulsoft.report.StiExportManager.exportWord2007(StiReport, StiWord2007ExportSettings, OutputStream)
Re: How to export documents with Java?
Hi, Aleksey
That's what I need!
Thank you!
That's what I need!
Thank you!
Re: How to export documents with Java?
Hi, AlekseyAleksey Andreyanov wrote:Hello.
You could find a sample code in the ExportReport file in our distribution.
Here is a nethods that you could use:Thank you.Code: Select all
com.stimulsoft.report.StiExportManager.exportWord2007(StiReport, OutputStream) com.stimulsoft.report.StiExportManager.exportWord2007(StiReport, StiWord2007ExportSettings, OutputStream)
I found how to use xmlDatabase and oleDatabase in the sample,
but I need use the dataset or datatables as datasource,
seems we don't have a method just like report.regData() in the java edition.
so how can I do?
Re: How to export documents with Java?
Hello.
Unfortunately, it's impossible to register dataset or datatable now.
Thank you.
Unfortunately, it's impossible to register dataset or datatable now.
Thank you.
Re: How to export documents with Java?
And is there any way to use other in-memory object as datasource to export reports?Aleksey Andreyanov wrote:Hello.
Unfortunately, it's impossible to register dataset or datatable now.
Thank you.
If it is not supported in java edition, should I export my in-memory object to XML file first?
Re: How to export documents with Java?
Hello, Ethan.
Thank you.
Unfortunately, it's impossible to use objects from memory in a report.ethan.shi wrote:And is there any way to use other in-memory object as datasource to export reports?
Yes, it will be the best solution of your problem.ethan.shi wrote:If it is not supported in java edition, should I export my in-memory object to XML file first?
Thank you.