Free Support Forum -

Blank page added after index

We are generating a document using Word Merge and then converting to PDF. The document includes a section with an index and then a section which contains a single page covered by an image & a textbox.

If we save to docx and then use Word to manually save as a PDF everything is fine but if we do it in Aspose we end up with a blank page between the index and the image. The page does have the header/footer from the index section. We have inspected the two sections in the debugger and there a no weird extra paragraphs etc.

Any ideas how to fix this?
Hi Andrew,

Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output Pdf that shows the undesired behavior.
  • Please create a standalone console application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we'll start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip them and Click 'Reply' button that will bring you to the 'reply page' and there at the bottom you can include any attachments with that post by clicking the 'Add/Update' button.

I managed to get around this in the end. Originally I had a 3 column index sitting inside a 3 column page layout. When I changed the index code to make the number of columns Auto it stopped adding the blank page. I have attempted to reproduce it in a simple test case but can’t manage to do so.

Hi Andrew,

Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.