President Camacho
President Camacho

Reputation: 1920

Parse Word (.doc /.docx) document

Is there a way/best possible solution to parse a .doc / .docx in c#/asp.net?

My document look like this:

(repeater)

chapter(text)

picture

text

(/repeater)

It is very important that the parser readers the picture.

Upvotes: 5

Views: 16388

Answers (2)

silver
silver

Reputation: 1703

in the following question you can find a general word doc parsing: How to parse text from MS Word document to string and in this MSDN page you can find how to handle pictures in the document: https://msdn.microsoft.com/en-us/library/office/hh965732(v=office.14).aspx

post your code example if you need a specific help.

Upvotes: 5

cyberj0g
cyberj0g

Reputation: 3797

You can do it with OpenXML SDK.

Upvotes: 4

Related Questions