wordpress hit counter
Welcome to OpenXML Developer Sign in | Join | Help

converting altchunk to openXML

Last post 06-29-2009, 6:05 PM by Tjca. 0 replies.
Sort Posts: Previous Next
  •  06-29-2009, 6:05 PM 7091

    converting altchunk to openXML

    Hey all,

    We have DOCX files that we inject rich text (from rich text box controls) content into using the altchunk syntax (reference HTM files). If you open this document in Word 2007 the document appears fine.

    The problem is that 50% of our user base is still using Office 2003 and the altchunk references do not work (even with the compatibility pack). As a result we are looking at converting the DOCX (with altchunk) into PDF/XPS.

    The problem we have is that when we run our document through any of the 3rd party software products out there to perform this conversion the PDF ignores any of the altchunk references. We have yet to find one that works at all (after testing about 20 of them [from the cheap ones to the expensive ones]).

    The one thing we found out is that if you open a DOCX file that has altchunk references in Word 2007, and perform a "Save As..." to another file, that Word is converting all of the altchunk HTML files into open XML. Meaning that after you do the "Save As..." and you rename and extract the DOCX/ZIP file there are no more references to the altchunk file references. The contents of the altchunk files were converted into OpenXML.

    Does anyone know of a solution that would perform the same action that MS is doing when you do this "Save As..."? On the surface it looks like all it is doing is converting HTML to OpenXML syntax. We are talking very basic HTML as well...font types/sizes/colours, lists etc.

    Any ideas/thoughts are appreciated.

    Thanks,
    Tjca
View as RSS news feed in XML