Opening a Word document (.doc) from a stream

I have a bunch of Word documents (.doc) stored in my SQL database that I need to open, clear properties like Title, Subject, etc., and then save the file back to the database.

Is it possible to open the ".doc" file from a stream?

+3
source share
2 answers

Word cannot open .doc files from a stream in memory. To open a file, you first need to save the document to a temporary location.

RTF- RTF. RTF 1 SDK WinWord Converter:

SDK WinWord Converter (GC1039)

ForeignToRtf, Word RTF.

1 .doc; .doc RTF SDK, RTF- Word. RTF , RTF . , RTF- - , OpenXML/Office 2010.

+1

, Word DOCUMENT IPersistStream (COM-). + KNOW + IPersistFile.

, COM, .net, , IPersistStream.

+1

Source: https://habr.com/ru/post/1778288/


All Articles