EditorsAbout the SiteComes vs. MicrosoftUsing This Web SiteSite ArchivesCredibility IndexOOXMLOpenDocumentPatentsNovellNews DigestSite NewsRSS

01.11.07

Proprietary Open XML Extensions (Already!)

Posted in Apple, Deception, ECMA, Formats, Interoperability, Microsoft, Novell, Office Suites, Open XML, OpenDocument, Standard, VBA at 12:03 am by Shane Coyle

As you are likely aware, Excel 2007 includes a new file format for storing data, well actually it has a few new file formats apparently. And, none of them are OpenDocument, in case you were wondering.

Rob Weir takes Office 2007 for a spin, and has some interesting things to report regarding the file formats being used by Excel 2007.

In addition to the default Open XML file format (.xlsx) that has been added to Office 2007, there is also an additional format called the Excel Macro-Enabled Workbook (.xlsxm) which contains binary-only data not specified in the ECMA standard. There is also an all-new binary-only format (.xlsb), which Microsoft says provides "optimal performance and backward compatibility" (wasn’t that the point of Open XML?).

The “Excel Macro-Enabled Workbook” option saves as an “xlsxm” extension. It is OOXML plus proprietary Microsoft extensions. These extensions, in the form of binary blob called vbaProject.bin, represent the source code of the macros. This part of the format is not described in the OOXML specification. It does not appear to be a compiled version of the macro. I could reload the document in Excel and restore the original text of my macro, including whitespace and comments. So source code appears to be stored, but in an opaque format that defied my attempts at deciphering it.

(What’s so hard about storing a macro, guys? It’s frickin’ text. How could you you[sic] screw it up? )

This has some interesting consequences. It is effectively a container for source code that not only requires Office to run it, but requires Office to even read it. So you could have your intellectual property in the form of extensive macros that you have written, and if Microsoft one day decides that your copy of Office is not “genuine” you could effectively be locked out of your own source code.

There is also a method to add in additional file formats for saving to, including PDF and Microsoft’s XPS, but there is no native ODF support yet.

Overall, Rob’s experience was a bit buggy, and there was an incident where trying to save to Open XML prompted a message about incompatible features (so much for backward compatibility, hey try the new binary-only format…).

I wonder how Novell OpenOffice.org’s VBA support is going to handle the new binary information in the macro-enabled workbook? Still better than the next MS Office for Mac, I suppose.

Share this post: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • co.mments
  • DZone
  • email
  • Google Bookmarks
  • LinkedIn
  • NewsVine
  • Print
  • Technorati
  • TwitThis
  • Facebook

If you liked this post, consider subscribing to the RSS feed or join us now at the IRC channels.

Pages that cross-reference this one

5 Comments

  1. Stephane Rodriguez said,

    January 23, 2007 at 12:27 pm

    Gravatar

    I am a new visitor. While I find your blog instructive (subscribed), I’d like to shed some light on a confusion here.

    VBA projects are encoded in bin parts in the new Office 2007 file formats, whether it’s Word, Excel or Powerpoint. Those parts are the actual VBA streams that we find in older versions of the corresponding applications. That’s a direct extraction.

    There are other binary parts, such as printer settings parts and OLE objects parts.

    The new XLSB file format pushes XLSM even further by making the important XML parts encoded in much the same way than BIFF used to do with older versions. Actually, those bin parts are christened as BIFF12. BIFF12 is undocumented right now.

    I have written an article on the subject here :
    http://www.codeproject.com/useritems/office2007bin.asp

  2. Roy Schestowitz said,

    January 23, 2007 at 12:47 pm

    Gravatar

    Thank you for the information, Stephane. For the record, I notice that you are among the Open XML team members:

    http://openxmldeveloper.org/members/Stephane+Rodriguez.aspx

    Also, yesterday’s news indicate that Microsoft pays people to “bring balance” to content which speaks about Open XML. I just hope you are not being paid to post here.

    In any event, your comment does not invalidate the fact that Open XML has undocumented, binary parts.

  3. Stephane Rodriguez said,

    January 23, 2007 at 1:41 pm

    Gravatar

    If you think I may be a paid shill, take a look at this : http://xlsgen.arstdesign.com/special/OOXML_objections.pdf

    (this is on my website)

    The OOXML specs are so bad I had to develop my own tool, called “diffopc”, to make any progress in my product (an Excel file format component which recently added partial support for Excel 2007).

  4. shane said,

    January 23, 2007 at 1:52 pm

    Gravatar

    Thank you, Stephane. We’ve had a huge influx of trolling as of the last few days, and perhaps are a bit on edge. There is no doubt from your first linked article (I didn’t read the pdf yet) that you are well versed in the OOXML spec.

    I love the fact that we do have discussions on the site, and want to encourage further discussion and corrections. I want our arguments to withstand scrutiny, and encourage any readers to question or comment on our premises.

    Let’s all just keep it mature, and there is no reason to post using pseudonyms folks, just type in "anonymous" or "i disagree". I still do not intend to censor any non-spam comments, nor shut down commenting after x number of days on an article, since many are still actively being viewed and linked to.

  5. Michael said,

    September 12, 2007 at 9:10 am

    Gravatar

    Thanks for the nice post!

What Else is New


  1. Links 25/5/2013: Beaglebone Black (BBB), Tizen Comeback

    Links for the day



  2. Red Hat Pays Microsoft-Linked Patent Troll Again, Refuses to Provide Details

    Another attack on GNU/Linux results in payment to trolls and silence from Red Hat, which keeps the FOSS community in the dark



  3. Microsoft Brings the Notion of Buying Games to End, Consumer Rights Groups Should Sue

    Not only is XBox eliminating the notion of owning and controlling one's console; new XBox paradigm aims to reduce one's control over purchased games, reducing buyers to temporary, transient consumers



  4. Links 24/5/2013: Fedora ‘Pidora’, CIvil Rights Debated in the US

    Links for the day



  5. Bill Gates Still Getting Richer Through For-Profit Investments, Now Wants to Brainwash Children in Schools in Favour of His Investments

    Some of the latest strategies used by the world's richest man to protect his investments and amass yet more money, adding to an ever-growing wealth while pretending it's a charity



  6. Microsoft Entryism and Its Effects on Corporate and Public Policy

    An aspect of Microsoft culture that ought not be overlooked because of its profound effect on society (private and public)



  7. Red Hat Should Follow Google's and Twitter's Footsteps on Patents to Avoid Becoming the Next Novell

    Red Hat continues to ignore my plea to defang the software patents it is applying for, potentially making them weaponised like Novell's and Sun's patents (e.g. Java at Oracle) upon buyout or another major event



  8. CAFC Decision Still Overridden by Overzealous Patent Lawyers in the Press, The Guardian and Other Corporate Press (CBS and AFP Included) Still Guard the Establishment

    Analysis of a sceptical kind of corporate press coverage regarding software patents in the US; great examples of how Microsoft- and Gates-funded press outlets tend to get it all wrong on the facts, smearing digital freedom fighters



  9. Software Patents Debate Still Open in New Zealand and the US

    In spite of distraction attempts, the debate over software patents continues to stress that there is a real danger



  10. WebM is No Ogg, It is Not Freedom-Respecting Anymore, Even in Countries That Have No Software Patents

    Why Google needs to fix the licence of VP9, or simply stop pretending that it should be the only de facto standard for multimedia



  11. Microsoft Violates Google Licences

    The champion of 'IP' and licensing (extortion) is not much of a champion after all, based on new reports, not just a lot of old ones



  12. Skype Teaches Us That All Microsoft Software Should be Assumed Spyware Unless Proven Otherwise

    The broader implications of Microsoft adding spying 'features' to Skype



  13. Links 23/5/2013: Threat to Civil Rights in UK, KDE 4.11 LTS

    Links for the day



  14. Links 22/5/2013: Debian GNU/Hurd, New Go Language Release

    Links for the day



  15. The FRAND Apple-Microsoft Conspiracy Attempts to Destroy Android/Linux, Ban Imports

    How Microsoft and Apple are using patents in bulk (sometimes acquired in unison, e.g. from Novell and Nortel) to artificially lower market saturation of the Android operating system or drive costs up



  16. Gates Foundation: Buying Influence for Bill's Ego and Bill's Profit

    New examples of power being acquired and investments (i.e. for profit) being funnelled into the beneficiaries



  17. Bill Gates Enters Financial Centres With His Goons Becoming US Budget Chief, Top Bankers

    How Bill Gates' staff is entering positions of financial power, indirectly giving Gates power over US (national and international) finance



  18. IBM Ignores Small Companies' Interests, Denies Patent Scope is a Problem, Focusing on Its Own Problems (Trolls) Instead

    How David Kappos and IBM (his longtime employer) continue to ignore the obvious problem which kills small businesses and everyone is complaining about



  19. The New York Times Publishes Factually-Flawed Patent Propaganda Benefiting Microsoft and Apple

    Eamonn Fingleton is rewriting history in the US' top newspaper, insinuating that patents contributed to the rise of software duopolists



  20. Software Patents Eligibility Likely to be Decided by SCOTUS

    Analyses suggest that an escalation by appeal to SCOTUS is likely to be the next stage in 'Bilski 2.0'



  21. Does Bill Gates Try to Flush GNU/Linux Down the Toilet in Kerala?

    Renting Microsoft software rather than using Free (as in freedom, or libre) software?



  22. Links 21/5/2013: Handbrake Turns 0.9.9, NetBSD 6.1

    Links for the day



  23. Links 20/5/2013: First Salifish Smartphone, Mageia 3 Released

    Links for the day



  24. Microsoft Corruption (Illegal Tenders) Stopped by European Court

    Microsoft cannot bypass public tenders, based on a ruling from a court of law in Europe



  25. Not Satire: Microsoft Wants to Show the World How Security is Done

    Software security 'standard' to be led by the company which made insecurity an acceptable engineering practice?



  26. Microsoft is Struggling to Maintain Industry 'Standards'

    With Microsoft's common carrier and browser share down considerably Microsoft finds itself increasingly irrelevant and it tries subversive means of making another comeback



  27. Microsoft Entryism and Bribery Get the Microsoft Way Implemented

    A recollection of very dirty tactics from Microsoft, which uses money to oppress, overthrow, and even hijack its opposition



  28. Patent Policy Laundering in the European Union and New Zealand

    How the so-called 'free' trade agreements help spread patent policy which favours software patents



  29. Ongoing Focus on Patent Litigation and Patent Trolls Reduces Focus on Software Patents

    The problem with increased focus on the players that use software patents litigiously and the litigation itself



  30. Andrew Y. Schroeder Shows That Patent Lawyers Are Sociopaths

    Bully and law misuser is trying to get his way with foul language, intimidation, and sheer lack of professionalism


RSS 64x64RSS Feed: subscribe to the RSS feed for regular updates

Home iconSite Wiki: You can improve this site by helping the extension of the site's content

Chat iconIRC Channel: Come and chat with us in real time

Recent Posts