Preview MSOffice files in .NET WPF app via OpenOffice/LibreOffice

1.1k views Asked by At

I want to implement MSOffice documents (doc,docx,ppt,pptx,xls,xlsx) viewer in WPF app, and do it without MSOffice installed on client machine. From what I've learned, OpenOffice or LibreOffice SDK might be helpful, because both of this products support needed formats. But I can't find any information about components (in both SDK's documentations) which would allow me to render and display source documents, while keeping formatting and styles.

Is there any at all? Or I just trying to solve this problem in the wrong way? Please help, and thanks in advance.

P.S. I actually found an article (it's in russian) that explains how to use OpenOffice SDK with .NET, but, ofcourse, it doesn't solves the problem

P.P.S I saw lot of commercial solutions for .NET like groupdocs, aspose, etc., but there is no way I can use them, as long as they stay proprietary products

1

There are 1 answers

0
Eric Legault On BEST ANSWER

I don't know of any open source solutions, but DevExpress has controls that can render Excel spreadsheets, PDFs and Word documents, like this: https://www.devexpress.com/Products/NET/Controls/WinForms/Rich_Editor/