'Exporting HTML to word (with images)
I am creating a database of test questions for teachers to use when creating new tests. For this, I need to store the questions somewhere (in a database or in a file system). This has to be done in a way that the teachers can access the questions through an online system in which they can see the questions, answers and info and alo filter the questions. After they have been chosen, there needs to be an option for the user to export the chosen questions to word so that he may use it as a test or something of the like.
My main question is, how can I store these test questions? Most of them have pictures on them, so storing the text is not enough. Also, there may be many pictures in different places. I initially thought of storing the question in HTML, with links to the pictures and tags for formating. But searching the web, I couldn't find something to efficiently convert the HTML do word that maintains formatting and inserts the picture into the word document. Can anybody help me in this front?
I am planning to make the question interface in ASP.NET using C#
(Apologies if the question is poorly written!)
Solution 1:[1]
For HTML to docx (as opposed to legacy binary .doc), you can try:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | JasonPlutext |
