Join
Sign in
Search Options
Search Everything
Search Development Tools
Home
Blog
Resources
Forums
About Open XML
More ...
Home
»
Forums
»
Development Tools
»
C/C++
»
How to convert HTML to OpenXML
Re: How to convert HTML to OpenXML
Development Tools
Discussions about working with Open XML using a wide range of development tools
Get this RSS feed
Details
2
Replies
1
Subscriber
Posted
over 2 years ago
Options
Subscribe via RSS
Share this
C/C++
How to convert HTML to OpenXML
rated by 0 users
This post has
2 Replies |
1
Follower
Sarathy
20
Posted by
Sarathy
on
Tue, Oct 19 2010 9:14 AM
rated by 0 users
Post Points: 20
How to convert HTML to OpenXML
Hi,
I am working on a task to convert an HTML text (with images/formatted text) to OpenXML format (i.e) docx format. We need to integrate this feature with a product developed in Native VC++ ( I assume the feature needs to be developed in VC++).
I googled and found out that there is no Microsoft Libraries to support openXML (docx) in Native VC++.
Is there any way to do it?
Could you please help me on this issue. Please let me know if you need any other information regarding my task. Any help is appreciated.
Cheers
papaburger
125
Posted by
papaburger
on
Wed, Oct 20 2010 7:35 PM
rated by 0 users
Post Points: 20
Re: How to convert HTML to OpenXML
you just need to manually translate C# code snippets into vc++ for .NET . In theory the same openxml sdk library will work with c++ for .NET (as long as the language support .NET , such as VB , C# , C++ , ironPython .. , BOO , .. etc).
If you are working in VC++ un-managed codes, you can using COM interop to use .NET library. So just develop your openxml solution using C# and make sure you built it as a strongly type ( use sn.exe to generate keys or let visual studio to do it , and make it COM visible ) ..
Then you write your native C++ COM wrapper to call the C# library that you have developed .
vmaceda
45
Posted by
vmaceda
on
Mon, Dec 13 2010 2:35 AM
rated by 0 users
Post Points: 5
Re: How to convert HTML to OpenXML
Codeplex has a dll that can convert simple types:
http://notesforhtml2openxml.codeplex.com/
HTH
Page 1 of 1 (3 items)