Export to DOC with empty RTF field fails

Stimulsoft Reports.NET discussion
Post Reply
casic
Posts: 68
Joined: Thu Jan 18, 2007 4:25 pm
Location: Germany

Export to DOC with empty RTF field fails

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to DOC with empty RTF field fails

Post by HighAley »

Hello.

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

Thank you.
casic
Posts: 68
Joined: Thu Jan 18, 2007 4:25 pm
Location: Germany

Re: Export to DOC with empty RTF field fails

Post by casic »

Great! Now it works like expected :-)

Thank you very much,

Markus
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to DOC with empty RTF field fails

Post by HighAley »

Hello, Markus.

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

Thank you.
Post Reply