C# functions required to extract fonts from documents.
We have a class skeleton, we need five functions written:
attached is the class skeleton document.
you must provide a final solution including a test harness showing that the solution works. your solution must be able to extract all the fonts in a word document in 15 seconds or less. ( for document of less than 2 megabytes, or 200 pages.)
Please use the Microsoft Office XP Primary Interop Assembly. I can send you the PIOA if you need it.
Hint : to extract word doc fonts, you can use save as HTML to a memory stream, use regular expression to parse looking for fonts. ( This is how I was going to start doing this. You may use any algorythm you like as long as it works in less than 15 seconds.)
in your test harness, create the office automation objects, then time how long it takes to convert. the total time excludes the time to create the office, excel, powerpoint objects. These will already be created and will be passed as references.
Thanking you in advance for your efforts.
Sincerely
Alan Hemmings