Hi,Is it possible to create a Word document that has a cover page, main content, then rear page (like a sandwich)?
--COVER PAGE - Header1--MAIN CONTENT - Header 2, Footer 2--REAR PAGE - Header 1, Footer 1
This can be done in Word, we currently have authors doing it, but we need to make this process generic.
I've tried to use the HeaderWriterFirstPageOnly and HeaderWriterAllPages, but this doesn't provide the preferred outcome.
I'm finding the documentation not great, it tells you how to create a basic header, but not something like this.
Something to note: If it comes to the point where a control like this needs to be used in a project, it's likely that the reason is complex, therefore some detailed documentation is needed about the full functionality of your product, not just bits and bobs.
Regards,Tom.
Hello Tom,
Sorry for late response and thank you for your patience and understanding. I have been carefully examining Infragistics® Word library in live examples due to the documentation not being as detailed as you wish it were. Unfortunately working with ready templates like cover and rear pages and inserting them with a line of code is not available and is considered to be a Product Idea. You can log it at ideas.infragistics.com, our Product Idea site.
However I would suggest that you don't use the word ready templates, but prepare the cover and rear page by your own taste. As obvious you can write a method that will benefit from Infragistics Word Library and when called will return a page, that will be built using all the other available writers, such as those for tables, inserting images, etc. You can refer to those resources for more detailed info on how to create pages:
http://ko.infragistics.com/help/aspnet/word_create_a_word_document.html
http://ko.infragistics.com/help/aspnet/word_headers_footers_and_page_numbers.html
http://ko.infragistics.com/help/aspnet/word_apply_formatting_to_word_document.html
http://ko.infragistics.com/help/aspnet/word_add_table_to_word_document.html
http://ko.infragistics.com/help/aspnet/word_api_overview.html
http://ko.infragistics.com/samples/aspnet/infragistics-word/export-webdatagrid-data-to-word-document
Please let me know if you have further question or need additional details about how to log a Product Idea.
Hi Tom,
Thank you for posting in the Infragistics community and sorry for the late response.
I know the documentation is not the most detailed one possible and thus research takes more time than expected. I am currently investigating ways that would help you reach this goal and approach and will update you with my findings.
Thank you for your patience.