c# - Convert Word to HTML then render HTML on webpage -


i have tough project in pipeline , i'm not sure begin. boss wants ability display word document in html , same word document.

after trying time after time let me show word document in pop or light box stuck on stripping out contents of word converting html saving in database , displaying html on webpage.

can guys either give me ammo if showing word document better (less cumbersome, less storage space more secure etc).

or if it's pretty easy convert word document html ways me that.

the technologies current have entity framework, linq, mvc, c#, razor.

we use htmlagilitypack, strips out of formatting , doesn't allow document show well.

we use http://www.aspose.com/ (i think 1 use aspose words) perform s similar task, , works quite well. (there cost involved)

i suggest converting html gives worst rendition of document. 1 solution use, generate jpeg image of document , display that.

if need able perform operations find , copy/pasting text - recommend converting document .pdf, , displaying inline, in whichever standard pdf viewer client machine has installed.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -