Page 1 of 1

Word wrap in cross-data band.

Posted: Thu Dec 01, 2016 7:47 am
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?

Re: Word wrap in cross-data band.

Posted: Thu Dec 01, 2016 11:49 am
by Alex K.
Hello,

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

Thank you.

Re: Word wrap in cross-data band.

Posted: Thu Dec 01, 2016 1:22 pm
by desan1986
I have pictures data in my row, that's why I use cross data band. It doesn't contain this property.

Re: Word wrap in cross-data band.

Posted: Thu Dec 01, 2016 2:24 pm
by Andrew
Hello,

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

Thank you.

Re: Word wrap in cross-data band.

Posted: Mon Dec 05, 2016 9:05 am
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);

Re: Word wrap in cross-data band.

Posted: Tue Dec 06, 2016 8:27 pm
by Alex K.
Hello,

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

Thank you.

Re: Word wrap in cross-data band.

Posted: Wed Dec 07, 2016 11:18 am
by desan1986
Hello, Already tried it. It doesn't help. Creating file include only text in pictures from RTF file.

Re: Word wrap in cross-data band.

Posted: Thu Dec 08, 2016 1:57 pm
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 };
Спасибо.