We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PDF creation with specific formating

Hi Aspose team,
We are currently evaluating Aspose Words[using java], our requirement is to generate a pdf with below format, pls suggest if this is possible, and also it would be a great help if you can suggest me any best approach to achieve below.

expected pdf format:

  • Page-[1]: cover page with background_image_1[no header and footer on page]
  • Page-[2]: table of content [no header and footer on page]
  • Page-[3 to n-1] : document text content with background_image_2[with header and footer on page]
  • Page-[n]: closing page with background_image_3[no header and footer on page]

This message was posted using Page2Forum from Getting Document Variables - Aspose.Words for .NET


Thanks for your interest to Aspose.Words. You can try using DocumentBuilder to achieve this. Please see the following link to learn how to insert document elements using DocumentBuilder:


Also please see the following link to learn how to add header footers in a document:


To add document text with background image, you can try image watermark option. Following link shows how to add watermark in a document:

Best regards,

Nabeel Ahmad