Click here to Skip to main content
15,890,512 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
Hi,

Can we convert office documents (Word/Excel) to PDF/XPS using OpenXML.
I am aware of the fact that we can accomplish the above using Microsoft Interop assemblies but the impending factor is that the conversion is very slow.
If i provide big/huge documents as input, it is taking lot of time for this conversion to complete.

Can we achieve this using OpenXML?
I have gone through few blogs/articles on internet to achieve this but all of them are using Sharepoint Server to do this.

I am planning not to use SharePoint and achieve the above mentioned conversion (Word/Excel to PDF/XPS)

is this possible using OpenXML ?

Thanks and Regards,
YKK Reddy
Posted

1 solution

Hi,

For those who need this i am posting the solution also.
I posted the same question in MSDN Microsoft forums and got the confirmation that it cannot be done using OpenXML. We need to use Interop services

I am posting the link below. Go through the entire post if needed.
http://social.msdn.microsoft.com/Forums/en/oxmlsdk/thread/26d9879a-6c1f-4a71-8dde-d6a1d9b0b110[^]

Thanks and Regards,
YKK Reddy
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900