We have requirements related to generating rich text content that can span many pages. This information will be built using trasactional data present in the system. This will have images and text in header, body with free flow text and tables, tables of content at the start of document or in intermediate pages, headings, etc. Our application needs to maintain such files in PDF format. The application is in ASP.Net.
I feel generating a Word document using Aspose Word for .Net and then converting it to PDF using Aspose word features would be preferred. My reasons include Word offers structure to the content, while PDF does not. Table of Content, headers etc. in Word are a first class citizen, but in PDF, they are just blocks of text. I suppose your PDF library has APIs to handle such need, as would your word library, but I would expect the Word solution to be sematically better and read better.
Do you have any recommendation or best practices with your Word and PDF libraries or any potential issues to watch out for in the approach I mentioned? Any performance considerations?