Click here to Skip to main content
Sign Up to vote bad
good
See more: WPF
Hi Friends,

I have developed a WPF application. This tool will display the report in DocumentViewer.

Background: I am converting a UserControl content in to a FixedDocument and then displays it in the DocumentViewer.

Problem: The DocumentViewer has the default option to print the content. But we cannot save it as a MS Document or PDF file.

My findings so far: I can export the FixedDocument to a XPS file using XpsDocument.

Is there any way to export/save the FixedDocument or DocumentViewer content to a MS Word document?

Please give your openion/suggestions.

 
Thanks in advance,
Regards,
Suresh Kumar.B
Posted 9 May '12 - 1:57


1 solution

Short answer: not possible without a third party utility or MS Word in your client/server. The framework itself doesn't do that. Look for ITextPdf for a free Framework option.
  Permalink  
Comments
Member 2714748 - 10 May '12 - 2:03
Even converting FixedDocument to MS Word document requires a third-party utility? Is there any COM/.NET libraries available to perform this task?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 498
1 Mahesh Bailwal 332
2 Arun Vasu 269
3 Maciej Los 263
4 Aarti Meswania 205
0 Sergey Alexandrovich Kryukov 9,660
1 OriginalGriff 7,329
2 CPallini 3,968
3 Rohan Leuva 3,339
4 Maciej Los 2,851


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 9 May 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid