Click here to Skip to main content
11,411,494 members (64,371 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET XML
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 21-Jan-12 0:27am
Comments
Abey Thomas at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 223
1 Sergey Alexandrovich Kryukov 195
2 Sascha Lefévre 155
3 ProgramFOX 90
4 Dave Kreskowiak 90
0 Sergey Alexandrovich Kryukov 8,920
1 OriginalGriff 7,128
2 Maciej Los 3,440
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web02 | 2.8.150414.5 | Last Updated 21 Jan 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100