[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] How to open a document in a RCP view?

We are trying to open (or view) a Word document inside an RCP view using SWT OLE APIs. While this approach works well on Windows but does not work on RH Linux since the OLE APIs are not available in the Linux SWT jars.

What would the method to open a document (Word, PDF, etc.) inside an RCP view? I would prefer to use an API which simply opens the file using the default system editor for that particular mime type extension (since .DOC files do open on RH Linux as well).

Does it help to convert the document into a standard format such as PDF?

Thanks.

- Amit.