is it possible to work with Word files using Binary Reader and writer?
-
I need to translit the documents, translit from cyrillic letters to latin letters. and I need to make my program to work with as many documents as it possible, and huge document, may be a document with 500 pages.... So, I'm thinking different ways to implement it to work as efficient as possible... any advices?
-
I need to translit the documents, translit from cyrillic letters to latin letters. and I need to make my program to work with as many documents as it possible, and huge document, may be a document with 500 pages.... So, I'm thinking different ways to implement it to work as efficient as possible... any advices?
I would have thought using Binary Reader and Writer would be extremely tortuous for this - you would have to parse the document file(s) by hand Why not look at a level of abstraction 'above' that .. this is an interop/RCW method of interacting with a Word Doc ... http://code.msdn.microsoft.com/office/CSAutomateWord-f422cae5[^] but it may not be good for 500 pages - you'd have to loop through all pages getting the text, (possibly) creating a new document with the translated text. There are other ways to read/write Word documents - Read Document Text Directly from Microsoft Word File[^] for instance 'g'