We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Insert A3 in A4 document

hey,
how can i insert a paper of A3 size inside a document (in the middle) with keeping  the same header, footer and configuration of document
thanks

1 Reply

DB Dilli Babu Nandha Gopal Syncfusion Team March 25, 2019 09:04 AM UTC

Hi AltiDev, 
 
The Word document is a flow document in which contents (paragraphs, tables, etc.,) will not be preserved page by page; instead the contents will be preserved sequentially section by section. Word viewer/editor renders the contents of the Word document page by page dynamically when opened for viewing or editing. This page wise rendered information will not be preserved in the saved file level. So, it is not feasible to find the specific page to insert the contents in the middle of Word document.


Alternatively, to achieve your requirement, we suggest you to set placeholder text in the Word document to find the specific paragraph and then insert contents of sub Word document (A3) into the main Word document (A4). Please find the sample application to meet your requirement and let us know if it helps:
http://www.syncfusion.com/downloads/support/forum/143490/ze/GenerateWord-793614458
Note: Please find the input Word document in “Data” folder of above sample application.

In the above sample application, we have done the following things:
  1. Loads the main Word document (A4 size).
  2. Find the place holder and split into two sections.
  3. Set header and footer specific to each sections, to preserve properly once merged.
  4. Loads the sub Word document (A3 size).
  5. Inserts all sections of sub Word document into main Word document (in between the split section).
  6. Saves the main Word document.

 
Regards, 
Dilli babu. 


Loader.
Live Chat Icon For mobile
Up arrow icon