Page 1 of 1
Difference between WPF and GDI export to Word
Posted: Fri Oct 25, 2013 12:52 pm
by LukasT
Hello,
output from export to Word using Stimulsoft.Base.StiGuiMode.Wpf is now broken.... see attached example where you can see difference....

Re: Difference between WPF and GDI export to Word
Posted: Mon Oct 28, 2013 10:33 am
by HighAley
Hello.
We couldn't reproduce your issue.
Please, send us your report template with sample data.
Thank you.
Re: Difference between WPF and GDI export to Word
Posted: Tue Oct 29, 2013 8:00 am
by LukasT
Hello,
I don't understand why you need template with data.... please, simply open .mdc file in WpfViewer/Viewer and then try to export to Word format... i.e. the horizontal lines are thick.... the last prerelease still has this issue...
Re: Difference between WPF and GDI export to Word
Posted: Tue Oct 29, 2013 1:12 pm
by HighAley
Hello.
Yes, we can reproduce the issue, but if you need it will be fixed, we need to see your report template.
Thank you.
Re: Difference between WPF and GDI export to Word
Posted: Tue Oct 29, 2013 1:41 pm
by LukasT
Ok, I am going to prepare data....
Re: Difference between WPF and GDI export to Word
Posted: Tue Oct 29, 2013 2:01 pm
by LukasT
Please, see example.... Yes, I know, that the line designed using text object with background is stupid, but it is example of report converted from old reporting utility... the fact is, that export is different....
Thank you.
Re: Difference between WPF and GDI export to Word
Posted: Wed Oct 30, 2013 11:52 am
by HighAley
Hello.
When you set Use Page Header and Footer option of Word2007 export the text components have no fixed size and change it to fit text.
You should set the StiOptions.Export.Word2007.LineHeightExactlyForPHFMode option to true.
Thank you.
Re: Difference between WPF and GDI export to Word
Posted: Thu Oct 31, 2013 9:18 am
by LukasT
Hello.
Thanks for the advice.... Problem is solved

Re: Difference between WPF and GDI export to Word
Posted: Thu Oct 31, 2013 11:24 am
by HighAley
Hello.
We are always glad to help you.
Let us know if you have any additional help.
Thank you.