How to get the last rendered page from docx file using DocIO

Hi,
I need to access contents of docx file by page using lastRenderedPage tag using DocIO. Is this possible?

4 Replies

HC Hemalatha Chiranjeevulu Syncfusion Team February 24, 2021 01:01 AM UTC

Hi Hemanath,

Thank you for contacting Syncfusion support.

Currently, we are checking on your query and we will update you with more details on 24th February 2021.

Please let us know if you have any other questions.

Regards,
Hemalatha C

 




HR Hemanath Ravi March 3, 2021 08:46 AM UTC

Thanks for the reply. Below is my requirement (currently implemented using Office Automation). Planning to move to openxml or any other 3rd party to overcome server side issues.
We have a template file created using Microsoft word which has multiple pages, each page will have template created. Our application will load this template file (dotx) and display the templates based on page selected. If the user selects a page and the data to be loaded, we will duplicate the specific page based on the data(when data not fits to single template and need more pages) and load the data into the templates. Finally, We will save this file as docx.
Can this be done using DOCIO? Please let me know if you need more info.


HC Hemalatha Chiranjeevulu Syncfusion Team March 4, 2021 10:28 AM UTC

Hi Hemanath,

Thank you for sharing us the details.

As mentioned earlier, Essential DocIO is a non-UI component that provides a full-fledged document object model to manipulate the Word document contents. Hence currently it is not feasible to get the contents page by page in Word document using DocIO.

Could you please share us below things from your side:
 1. Template Word document (dotx)
 2. Document after loading data into template
 3. Expected output screenshot/Word document.

This will be more helpful to check on the feasible solutions for your requirement and will update you the details.

Please let us know if you have any other questions.

Regards,
Hemalatha C 


Loader.
Up arrow icon