Click here to Skip to main content
15,891,316 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Dear Sir,


How to write a code for OpenXML in asp.net with c#.

I need create a document for generate PDF file for using OpenXML so,


Please send me details

by mohan
Posted
Comments
Abey Thomas 21-Jan-12 7:24am    
Hi Mohan.. i have written 2 articles on modifying docx files using OpenXML APIs in C#. This might give you a heads up on how to write some start-up code for programatically modifying the contents of a docx using OpenXML APIs. And for the PDF part - I dont think so there are any services available through the OpenXML API to create PDF files (not sure though now) - You may have to rely on the word interop dlls or Sharepoint 2010 services to achieve this..
http://www.codeproject.com/Articles/29860/Adding-footnotes-to-a-Word-document-programaticall
http://www.codeproject.com/Articles/29938/Adding-An-Image-to-a-Word-Document-Programmaticall

Hi, I have recorded a screen-cast on OpenXMLDeveloper.org that walks through creation of the smallest asp.net application that enables the end-user to upload a document, modify it via the asp.net application, and then download the modified document. You can find it here:

http://openxmldeveloper.org/blog/b/openxmldeveloper/archive/2012/01/02/building-an-asp-net-web-application-with-open-xml-functionality.aspx

-Eric
 
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