Hello,
We have a project needs report functionality. So we start evaluating Stimulsoft Reports.Wpf to check if it meets our project's requirement. We want to exports the data that created by our application as a word file. The the report content has two different types of data. One is just static rich text which can be loaded from existing rft files, the other type are tables that need to be dynamically created. Stimulsoft has great support on dynamically creating tables. At the same time we meet some problems while export the report as word file. List below are issues we met.
1. The report content is exported as a giant table in word file.
Is it possible to export the report content without the giant table?
2. Page header doesn't show at word header area.
Please refer to "PageHeaderLocation.png" in attachement.
3. We want each chapter to start from a new page so we put each chapter inside a databand and set the databand "New Page After" property to true. This works in preview, but if we export it as word file the "New Page After" setting seems ignored during the exporting. Please refer to the template ("rtfTest-SinglePage-With-MultiDataband.mrt") and the exported word file ("Report.docx") in attachment.
4. Unexpected space is added between content.
Please refer to the "UnexpectedSpace.png" in attachment.
5. Picture in rich text is cut off in preview and exported pdf file.
Please refer to "FigureIsCutOffInPreview.png" and "FigureIsCutOffInExportedPdf.png" in attachment
Thanks
DaXin
Content exported to word file doesn't look same as preview
Content exported to word file doesn't look same as preview
- Attachments
-
- WordExportIssue.zip
- (989.58 KiB) Downloaded 296 times
Re: Content exported to word file doesn't look same as preview
Hello.
But you could use the rtfparagraph command.
We see that you use this option.
Also we see that the margins of the page are one inch size.
That is why you get the header in this place.
You could see the same margins in the Word document.
In this case, new table for new page will be created.
You will not get such issue if add the image straight in our product.
Some issues are very specific and we should see your real report to help you necessary result.
Thank you.
No, we use table mode to export the report to Word.1. The report content is exported as a giant table in word file.
Is it possible to export the report content without the giant table?
But you could use the rtfparagraph command.
There is a Use Page Header and Footer export option.2. Page header doesn't show at word header area.
Please refer to "PageHeaderLocation.png" in attachement.
We see that you use this option.
Also we see that the margins of the page are one inch size.
That is why you get the header in this place.
You could see the same margins in the Word document.
It's better to put the chapters on different pages and set different the Excel Sheet property for each page.3. We want each chapter to start from a new page so we put each chapter inside a databand and set the databand "New Page After" property to true. This works in preview, but if we export it as word file the "New Page After" setting seems ignored during the exporting. Please refer to the template ("rtfTest-SinglePage-With-MultiDataband.mrt") and the exported word file ("Report.docx") in attachment.
In this case, new table for new page will be created.
This is a specific issue of a specific RichText. You could set the Unlimited Height = True and Unlimited Breakable = False to get better result.4. Unexpected space is added between content.
Please refer to the "UnexpectedSpace.png" in attachment.
This is an issue of the rounding. The formats are different and the line was cut.5. Picture in rich text is cut off in preview and exported pdf file.
Please refer to "FigureIsCutOffInPreview.png" and "FigureIsCutOffInExportedPdf.png" in attachment
You will not get such issue if add the image straight in our product.
Some issues are very specific and we should see your real report to help you necessary result.
Thank you.