Parse a Docx document

Home Forums Open-Xml-PowerTools Parse a Docx document

This topic contains 1 reply, has 2 voices, and was last updated by  Eric White 8 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2515

    Tarek MAHARI
    Participant

    Hi, I’m new with Open XLS, my obejctive is to upload a Docx file containing a questions and parses the file and identify (number of question, text of question …)
    Sample of uploaded file:
    1. Question 1
    a. Question 1a
    b. Question 2b
    2. Question 2
    is it possible?

    #2559

    Eric White
    Keymaster

    Hi,

    This is certainly possible.

    You may want to use content controls to delineate the area where users will enter their answers. You can protect the remainder of the document from modification, so that users can only change the document inside the content controls. You can tag the content controls so that you can more easily extract the information. There are a number of code samples out there that show how to retrieve the contents of content controls, including by tag.

    Cheers, Eric

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.