wordpress hit counter
Re: How to convert HTML to OpenXML - C/C++ - Development Tools - OpenXML Developer

Re: How to convert HTML to OpenXML

Development Tools

Discussions about working with Open XML using a wide range of development tools

How to convert HTML to OpenXML

  • rated by 0 users
  • This post has 2 Replies |
  • 1 Follower
  • 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
  • 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 .


  • Codeplex has a dll that can convert simple types:

    http://notesforhtml2openxml.codeplex.com/

    HTH
Page 1 of 1 (3 items)