Blank space while generateing Word document

Hi, We have purchased Aspose.Words.ReportingServices License and while we were using Aspose.Words.ReportingServices.dll (Version 3.1.1.0) to generate Word we found some blank spaces that we did not expect. And actually the position that these blank spaces appear was random. We’ve tried many methods to avoid this, such as config the node, but it won’t work.
We converted the word to HTML format, and found that there was a
flag where the blank spaces come out. This is odd, we did not put any page-breaks here while we design our report. It must be automatically added by Aspose.
So, we need your help to avoid these automatically added page-breaks. Also we will provide you a demo for you to investigate. This is an urgent case, our customer is keep complaining about this issue, hope you to resolve this as soon as possible!!!
Many thanks!

Hi
Thanks for your request. As I can see you set DontBreakTables mode. Maybe in your case you should set No page breaks in the document mode. Please follow the link for more information:
https://docs.aspose.com/words/reportingservices/page-breaks/
Or use default mode.
Hope this helps.
Best regards,

Hi, thanks for your quick response. In our project, we can not set No page break as our customer want the page to break in some circumstances. We have to use the DontBreakTables mode.
Also I don’t think this config is the root cause. As you can see from our demo, we did not put any page-breaks in the report. While Aspose render the report to Word document, it automatically add a page-break into the document, that’s why the huge blank space come out.
We ask your help to investigate how could this happen while we actually did not set any page-break in our Report? And we expect you to provide us a resolution to avoid the automatically added page-breaks!
Many thanks!

Hi,
Is there any updates on this issue? Our users are pushing us to resolve this issue at once.Please bear in mind, this is an urgent case. If we cannot resolve this issue, they may not willing to purchase the Aspose.word for .NET to convert word to PDF in addition.
Is there someone working aroud this issue? Or just give us a hotfix to avoid the automatically added page-breaks?
Many thanks!

Hi
Thanks for your request. If you set No page breaks in the document mode, Aspose.Words will not automatically add page breaks. So I think in this case you will get the expected result. If this mode is set only explicit page breaks are inserted.
So please try using this option and let me know if it does not help.
Best regards,

Hi,
Thanks for your reploy. I just set No page breaks in the document mode, and the blank spaces disappear. But in this mode, the page break we explicit added in the report won’t work. I have tried 2 ways, one is to set page break in the table, the other is put a rectangular there, and set the page break properties. Unfortunately, both of them won’t work.
So, can you just tell me what component should I add into the report to let it break the page while I’m using the No page breaks mode?
Many Thanks!

Hi
Thank you for additional information. You can also try using smart mode (mode used by default).
https://docs.aspose.com/words/reportingservices/page-breaks/
Hope this helps.
Best regards,

Hi,

Thanks for your reply. And we have found a way to let the page break even we set the No page breaks mode.

Anyway, thank you for your support again!

Hi
It is perfect that you managed to resolve the problem. Please feel free to ask in case of any issues, we will be glad to help you.
Best regards,

A post was split to a new topic: Appending a word document to another word document