Page 1 of 1
unexpected line break when exporting docx file
Posted: Mon Jul 29, 2013 7:56 am
by ethan.shi
Hi,
There is no breaker in mrt file, but there is an unexpected line break in eported docx file.
And actually the whole paragragh seems to be splited into 2 table block?
Can you help?
thanks.
Re: unexpected line break when exporting docx file
Posted: Tue Jul 30, 2013 6:47 am
by HighAley
Hello.
The report is exported to Word 2007 format in table mode.
Please, set the rtfparagraph to this text component. You could read more about this in our
User Manual
You could also try to use RTF export and set there Frame Mode.
Thank you.
Re: unexpected line break when exporting docx file
Posted: Thu Aug 01, 2013 7:27 am
by ethan.shi
Aleksey Andreyanov wrote:Hello.
The report is exported to Word 2007 format in table mode.
Please, set the rtfparagraph to this text component. You could read more about this in our
User Manual
You could also try to use RTF export and set there Frame Mode.
Thank you.
Hi, Aleskey,
I set the rtfparagraph to this richtext component, the text is not in table cell now,
but there is still unexpected line break in the paragraph.
can you help?
Here is the code when i exporting document.
Code: Select all
report.Render(false);
StiWord2007ExportService service = new StiWord2007ExportService();
StiWord2007ExportSettings settings = new StiWord2007ExportSettings();
settings.UsePageHeadersAndFooters = true;
FileStream filestream = File.Create(strOutputFilePath);
service.ExportWord(report, filestream, settings);
filestream.Close();
Re: unexpected line break when exporting docx file
Posted: Thu Aug 01, 2013 10:29 am
by HighAley
ethan.shi wrote:but there is still unexpected line break in the paragraph.
Please, try to set properies of the page UnlimitedHeight=true and UnlimitedBreakable=false.
ethan.shi wrote:Here is the code when i exporting document.
Code: Select all
report.Render(false);
StiWord2007ExportService service = new StiWord2007ExportService();
StiWord2007ExportSettings settings = new StiWord2007ExportSettings();
settings.UsePageHeadersAndFooters = true;
FileStream filestream = File.Create(strOutputFilePath);
service.ExportWord(report, filestream, settings);
filestream.Close();
Could you clarify what product do you use?
Thank you.
Re: unexpected line break when exporting docx file
Posted: Mon Aug 05, 2013 7:56 am
by ethan.shi
Aleksey Andreyanov wrote:Please, try to set properies of the page UnlimitedHeight=true and UnlimitedBreakable=false.
It works, the break of this paragraph is OK,
but when set UnlimitedHeight=true, the pagefooter disappered...
How can I get the pagefooter back?
thanks!
Aleksey Andreyanov wrote:Could you clarify what product do you use?
Thank you.
my version is Stimulsoft Reports.Ultimate 2013.1
Re: unexpected line break when exporting docx file
Posted: Mon Aug 05, 2013 11:31 am
by HighAley
Hello.
Could you send us your report template with sample data which reproduces the issue?
Thank you.
Re: unexpected line break when exporting docx file
Posted: Tue Aug 06, 2013 3:48 am
by ethan.shi
Aleksey Andreyanov wrote:Hello.
Could you send us your report template with sample data which reproduces the issue?
Thank you.
hi,Aleksey
Please find it in the attachment.
Thanks!
Re: unexpected line break when exporting docx file
Posted: Tue Aug 06, 2013 4:16 pm
by Ivan
Hello,
ethan.shi wrote:It works, the break of this paragraph is OK,
but when set UnlimitedHeight=true, the pagefooter disappered...
We made some improvements in that direction.
Please check the next prerelease build when it will be available and let us know about the result.
Thank you.
Re: unexpected line break when exporting docx file
Posted: Thu Aug 08, 2013 5:29 am
by ethan.shi
Ivan wrote:Hello,
ethan.shi wrote:It works, the break of this paragraph is OK,
but when set UnlimitedHeight=true, the pagefooter disappered...
We made some improvements in that direction.
Please check the next prerelease build when it will be available and let us know about the result.
Thank you.
Hi, Ivan
Thank you!
Re: unexpected line break when exporting docx file
Posted: Thu Aug 08, 2013 5:44 am
by Andrew
Hello,
Have a nice day!