• Sign In
 
  • MSDN Blogs
  • Microsoft Blog Images
  • More ...
Search
  • Advanced search options...
Tags
  • .NET
  • Altova
  • blogging
  • code samples
  • Codeplex
  • Custom XML
  • DII
  • DIS29500
  • ECMA-376
  • IBM
  • Java
  • Monarch
  • ODF
  • Office 2007
  • OpenXMLDeveloper.org
  • PHP
  • Redmond
  • SharePoint
  • System.IO.Packaging
  • TechEd
  • UOF
  • VSTO
  • Windows
  • WordprocessingML
  • workshops
Archives
Archives
  • January 2012 (1)
  • October 2011 (1)
  • July 2011 (2)
  • April 2011 (1)
  • March 2011 (3)
  • December 2010 (1)
  • August 2010 (1)
  • June 2010 (1)
  • May 2010 (1)
  • April 2010 (3)
  • March 2010 (1)
  • November 2009 (4)
  • October 2009 (1)
  • September 2009 (2)
  • July 2009 (2)
  • June 2009 (4)
  • May 2009 (5)
  • April 2009 (4)
  • March 2009 (4)
  • February 2009 (2)
  • January 2009 (4)
  • December 2008 (4)
  • November 2008 (3)
  • October 2008 (4)
  • September 2008 (3)
  • August 2008 (2)
  • July 2008 (5)
  • June 2008 (7)
  • May 2008 (5)
  • April 2008 (8)
  • March 2008 (14)
  • February 2008 (15)
  • January 2008 (13)
  • December 2007 (12)
  • November 2007 (5)
  • October 2007 (9)
  • September 2007 (6)
  • August 2007 (10)
  • July 2007 (9)
  • June 2007 (8)
  • May 2007 (12)
  • April 2007 (14)
  • March 2007 (12)
  • February 2007 (10)
  • January 2007 (17)
  • December 2006 (14)
  • November 2006 (10)
  • October 2006 (11)
  • September 2006 (12)
  • August 2006 (12)
  • July 2006 (12)
  • June 2006 (23)
  • May 2006 (14)
Common Tasks
  • Blog Home
  • Email Blog Author
  • About
  • RSS for comments
  • RSS for posts

DOCX support from down under

Doug Mahugh - Office Interoperability
MSDN Blogs > Doug Mahugh > DOCX support from down under

DOCX support from down under

Doug Mahugh
13 Feb 2008 7:45 AM
  • Comments 7

Sydney's Aspose Pty Ltd, a developer/publisher of developer components for the .NET and Java platforms, has just released Aspose.Words for .NET 5.0.0, which includes support for reading and writing Open XML word-processing documents.

An eval version is available, and their conformance spreadsheet shows the status of their support for over 1500 details of the DOCX format.

  • 7 Comments
Aspose
Comments
  • Jesper Lund Stocholm
    14 Feb 2008 2:16 AM

    Interestingly this is the component Buzzword (http://www.buzzword.com) uses to save the online documents as OOXML-files.

    Btw - someone should have told them (Aspose) that you don't have to name the embedded document folder in the OPC-package "word". It could - and imo should - be "buzzword" or something else.

    :-)

  • Doug Mahugh
    14 Feb 2008 10:06 AM

    Yeah, I agree.  The real test, though, is whether they can read documents that use other physical structures, like these: http://blogs.msdn.com/dmahugh/archive/2007/09/11/open-xml-implementation-test-documents.aspx

  • Jesper Lund Stocholm
    15 Feb 2008 4:24 AM

    Yes

    ... and some one should tell IBM to fix their PHP-script at http://www.ibm.com/developerworks/db2/library/techarticle/dm-0705gruber/ as well

    while ($zip_entry = zip_read($zip))

    {

     if (zip_entry_open($zip, $zip_entry, "r") &

         zip_entry_name($zip_entry) == 'word/document.xml' )

     {

     ...

    :-)

  • Roman Korchagin
    15 Feb 2008 7:23 AM

    Doug,

    Thanks for mentioning Aspose.Words.

    Aspose.Words certainly passes your test. I would say it is too easy. AW surely follows relationships and content types as per the OPC spec.

           /// <summary>

           /// A test for:

           /// http://blogs.msdn.com/dmahugh/archive/2007/09/11/open-xml-implementation-test-documents.aspx

           /// </summary>

           [Test]

           public void TestRelationshipsConformance()

           {

               Document doc = TestUtil.Open(@"ImportDocx\TestRelationshipsConformance.docx");

               Assert.AreEqual(doc.GetText(), "Hello World!\x000c");

           }

    As far as writing goes, we just try to mimic exactly what MS Word writes as much as we can hence the "word/" etc folders. Makes testing a bit easier.

  • Doug Mahugh
    15 Feb 2008 10:24 AM

    Great to hear, Roman.  And I understand the decision to mimic Word's folder structure for testing purposes -- a few other people are doing the same thing for the same reason, and as long as you follow relationships per the OPC then that works fine.  Your approach is interoperable with any Open XML implementation, as you know.

    In the case of IBM's implementation, as Jesper points out they've hard-coded the Word implementation details into their code, instead of writing to the spec, so IBM's code isn't interoperable with other implementations.

  • Dating
    31 May 2008 2:57 PM

    Sydney's Aspose Pty Ltd , a developer/publisher of developer components for the .NET and Java platforms, has just released Aspose.Words for .NET 5.0.0 , which includes support for reading and writing Open XML word-processing documents. An eval versio

  • Weddings
    5 Jun 2008 5:40 PM

    Sydney's Aspose Pty Ltd , a developer/publisher of developer components for the .NET and Java platforms, has just released Aspose.Words for .NET 5.0.0 , which includes support for reading and writing Open XML word-processing documents. An eval versio

Page 1 of 1 (7 items)
  • © 2012 Microsoft Corporation.
  • Terms of Use
  • Trademarks
  • Privacy Statement
  • Report Abuse
  • 5.6.131.143