Create an office add-on
$30-250 USD
Paid on delivery
I am starting a project where I need to get the html content of a Microsoft Word document. I have some sample code (which I do NOT know is perfect or not) and want you to create the solution that:
1. Runs as a web add-on within Microsoft Word, using asp.net.
2. Reads the html content of the file.
3. Stores the html content of the file in a class.
4. Stores images in memory only in PNG or JPEG format (there should be an option to select which format).
5. Stores tables in a PNG or JPEG format.
6. Saves equations in a PNG or JPEG format.
7. Provides the capability to link the PNG or JPEG files in the stored HTML class.
8. Output the stored html and images into a file called "[url removed, login to view]" that the user can select from a button on the add-on page to download (maybe as a zip file?).
I have supplied a file that you will use. I want the output of the final html file to as closely match the original Word document as possible. While I am not using headers and footers in this document, I do NOT want you to store them.
I will only provide the job to people that can show they have read the requirements and understand the work that is needed. Feel free to ask questions.
The following code is what I BELIEVE will do most of what is needed although I believe there will be additional effort required to store and convert images.
// Run a batch operation against the Word object model.
[url removed, login to view](function (context) {
// Create a proxy object for the document body.
var body = [url removed, login to view];
// Queue a commmand to get the HTML contents of the body.
var bodyHTML = [url removed, login to view]();
// Synchronize the document state by executing the queued commands,
// and return a promise to indicate task completion.
return [url removed, login to view]().then(function () {
[url removed, login to view]("Body HTML contents: " + [url removed, login to view]);
});
})
.catch(function (error) {
[url removed, login to view]("Error: " + [url removed, login to view](error));
if (error instanceof [url removed, login to view]) {
[url removed, login to view]("Debug info: " + [url removed, login to view]([url removed, login to view]));
}
});
Project ID: #13634082
About the project
5 freelancers are bidding on average $137 for this job
Perfection and Quality of work. Work Experience. Completion with in deadline. please send some sample work to know your exact work.