Page 1 of 1

Export to DOC with empty RTF field fails

Posted: Wed Aug 06, 2014 9:42 am
by casic
Hi there,

I receive an exception when exporting a report which contains an empty RTF field:
bei Stimulsoft.Report.Components.StiRichText.UnpackRtf(String str) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Components\SimpleComponents\StiRichText.cs:Zeile 1705.
bei Stimulsoft.Report.Export.StiWord2007ExportService.WriteCellContent(XmlTextWriter writer, StiCell cell, Boolean& needEmptyParagraph, Int32 indexRow, Int32 indexColumn, Int32[] wordCoordX, Int32[] wordCoordY) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Services\Office\StiWord2007ExportService.cs:Zeile 1206.
bei Stimulsoft.Report.Export.StiWord2007ExportService.WriteFromMatrix(XmlTextWriter writer, Int32 startLine, Int32 endLine, Boolean outHeadersAndFooters) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Services\Office\StiWord2007ExportService.cs:Zeile 828.
bei Stimulsoft.Report.Export.StiWord2007ExportService.WriteDocument(StiPagesCollection pages, StiReport report, Boolean outHeadersAndFooters) in d:\Stimulsoft\Stimulsoft.Reports\Stimulsoft.Report\Export\Services\Office\StiWord2007ExportService.cs:Zeile 1779.
Steps to reproduce:
- Create a new report
- Add data band with count 1
- Add RTF component
- Switch to preview
- Export to Word

Thank you,

Markus

Re: Export to DOC with empty RTF field fails

Posted: Wed Aug 06, 2014 10:54 am
by HighAley
Hello.

Thank you for bug report.
We have made an improvement.
Please, check our next prerelease build on Friday.

Thank you.

Re: Export to DOC with empty RTF field fails

Posted: Fri Aug 08, 2014 11:12 am
by casic
Great! Now it works like expected :-)

Thank you very much,

Markus

Re: Export to DOC with empty RTF field fails

Posted: Fri Aug 08, 2014 12:50 pm
by HighAley
Hello, Markus.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.