views:

174

answers:

1

Hello,

I have a word document with a few pictures and many lines of text (with headings) in it and want to convert this document to a flow document. So I can open it easily in my wpf application and use a rich text box to make it editable...

I found this article useful. But I have some problems with adding images (Form the docx file) to my flow document.

A sample code or some guidance would be appreciated.

+1  A: 

This is one of the more popular converters: Word to XAML Converter. It ain't perfect, but it's a great start. There's also a good article on this subject at OpenXML + FlowDocument = OpenFlowDocument? which is for WPF. Finally, you can check out TextGlow - although it's for Silverlight and not using FlowDocument, it's good to see how he does some of the conversions with Linq.

Otaku
thanks a lot. Word to XAML Converter is suited for my needs.
x86shadow