Word wrap in cross-data band.

Stimulsoft Reports.NET discussion
Post Reply
desan1986
Posts: 6
Joined: Thu Dec 01, 2016 5:26 am

Word wrap in cross-data band.

Post by desan1986 »

Hello, I have a problem in my report. How I set my cross-data band component for transfer tabs(if not enough space) into next row instead next page?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Word wrap in cross-data band.

Post by Alex K. »

Hello,

Please try to set the Wrap property for the Cross-Tab to true.

Thank you.
desan1986
Posts: 6
Joined: Thu Dec 01, 2016 5:26 am

Re: Word wrap in cross-data band.

Post by desan1986 »

I have pictures data in my row, that's why I use cross data band. It doesn't contain this property.
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Re: Word wrap in cross-data band.

Post by Andrew »

Hello,

Can you please send us a report template which reproduces the issue for analysis.

Thank you.
desan1986
Posts: 6
Joined: Thu Dec 01, 2016 5:26 am

Re: Word wrap in cross-data band.

Post by desan1986 »

I try to solve this problem by another way.
I create RichTextBox component and send data from RTF file. But then I open this file. All my images missed.
For opening file in my report i use this code:

Code: Select all

System.IO.StreamReader reader = new System.IO.StreamReader("filePath"); 
string str = reader.ReadToEnd(); 
reader.Close(); 
e.Value = System.Xml.XmlConvert.EncodeName(StiRichText.PackRtf(str)); 
In RichTextBox getValue event.

https://cloud.mail.ru/public/8dJ1/DomUnPkxV File.
https://cloud.mail.ru/public/HqCg/XqaYXwYkV Report File.

After that, I export my report in Pdf format by .net, with this code. I think images missed after that.
Because, if I trying export to other formats all works well.

Code: Select all

var settings = new StiPdfExportSettings { ImageQuality = 1.0f, ImageResolution = 300, EmbeddedFonts = true };
report.ExportDocument(StiExportFormat.Pdf, fullpath, settings);
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Word wrap in cross-data band.

Post by Alex K. »

Hello,

Please try to set the "Export RichText as Image" option in the export settings.

Thank you.
desan1986
Posts: 6
Joined: Thu Dec 01, 2016 5:26 am

Re: Word wrap in cross-data band.

Post by desan1986 »

Hello, Already tried it. It doesn't help. Creating file include only text in pictures from RTF file.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Word wrap in cross-data band.

Post by HighAley »

Hello.

Could you specify which version of our product you use?
Please, try our latest build.
You code should be like this:

Code: Select all

var settings = new StiPdfExportSettings { ImageQuality = 1.0f, ImageResolution = 300, EmbeddedFonts = true, ExportRtfTextAsImage = true };
Спасибо.
Post Reply