June, 2006

Doug Mahugh - Office Interoperability

Doug Mahugh

Microsoft Interoperability Team
  • Doug Mahugh

    CreateDOCX Sample Program

    This post covers a very simple program for creating an Office Open XML word-processing document. The source code for this program is included in the attachment, or you can download it here . The syntax for using the CreateDOCX program is shown to the right. It's a command-line program that takes two arguments: a filename to be created, and some text to put in the file. That's all there is to it -- the program then creates the output file using the .NET packaging API. The resulting document can...
  • Doug Mahugh

    Adbobe Picks a File-Format Fight

    The last two weeks have seen a big increase in the amount of press coverage and blog discussions of file-format issues. Working draft 1.3 of the Open XML spec is out , Office 2007 Beta 2 was released, and now Adobe is threatening legal action regarding Office's built-in support for the PDF and XPS formats. My colleague Don Campbell forwarded me some information about the Wall Street Journal piece that broke the story this morning, but if you're not an WSJ subscriber you can also read the story...
  • Doug Mahugh

    Google's Spreadsheet: Excel It Ain't

    Google has decided to enter the spreadsheet business, and starting today they're taking applications for participation in the beta. It will be some type of web application, with an HTML-based thin-client UI, but most of the details haven't been announced yet. You can take an extremely simple tour here , but it's just three screenshots and a few bulleted items describing bare-bones spreadsheet functionality. The press is describing this as a competitor to Excel, which is a stretch. Google's offering...
  • Doug Mahugh

    Internet Explorer Developer Toolbar

    If you're doing complicated CSS markup, or just doing something simple like hacking up the CSS on your MSDN blog (for example :-)), there's a tool you must have: the Internet Explorer Developer Toolbar . It adds the above toolbar to your browser, which can be used to quickly and easily drill down into the details of the structure of the page you're viewing: the DOM, the HTML and CSS markup, image sizes, and so on. It also has handy features for resizing your browser to specific resolutions...
  • Doug Mahugh

    The Low-down Hoe-down on LEAGIS

    In state government, like any other field, there are technology leaders and technology losers. The state of Florida is a true leader in this field, and this week I've had the opportunity to spend some long hours with the developers of their unique and powerful LEAGIS system. LEAGIS automates the processes that support the legislative process, from initial creation of bills, to their reading by various House committees, to their review by the Senate, and on to the Governor's office where bills...
  • Doug Mahugh

    Dan Bricklin Interviews Alan Yates

    Speaking of FUD (below), it's refreshing when you hear two class acts calmly discussing the state of their industry. Dan Bricklin, inventor of the spreadsheet, interviewed Alan Yates, GM of Office business strategy, at a Microsoft reception at TechEd Monday evening, and Dan has put it on his blog as a podcast . There's no cheap shots and no hype, just a frank discussion of the Google spreadsheet announcement, and some good high-level information about related topics such as Infopath 2007's support...
  • Doug Mahugh

    Creating Open XML Documents

    The packaging API in the .NET 3.0 framework (formerly known as WinFX) provides low-level support for reading and writing Open XML documents. And now that Office 2007 Beta 2 is out, more developers are starting to ramp up on how to work with the packaging API. (If you've not seen the new packaging API, you can download the WinFX February CTP to check it out.) Over the next couple of weeks, I'm going to be writing some simple programs that will serve as learning tools for working with the packaging...
  • Doug Mahugh

    Office Business Applications

    Office Business Applications, or OBAs, are a new breed of business solutions built on the 2007 Microsoft Office System. These applications feature the familiar people-ready interfaces that users already know and love in Word, Excel, Outlook and Sharepoint, combined with back-end data from line of business (LOB) applications and MOSS 2007 sites. Two converging trends make OBAs possible. The first is the increasingly ubiquitous presence of internet connectivity. Most white-collar workers are always...
  • Doug Mahugh

    Dual-boot Vista/XP

    Last night I took a flying leap into the world of Vista. I've meant to install it for a while, but was a bit afraid of losing the ability to run all my old XP applications -- I didn't want to get in a situation where I had to fight with some not-ready-for-Vista piece of software in order to get my job done. But thanks to Vista's hassle-free installation that lets you put it on a secondary drive for a multi-boot scenario, I now have a setup that gives me the best of all worlds. I have Vista and...
  • Doug Mahugh

    Adding Custom XML Parts from the Word Object Model

    There are several different ways to insert a custom XML part in an Office Open XML documents: you can manually add the part and set the necessary relationships ( here's an example of that on OpenXmlDeveloper.org ), you can use the .NET 3.0 packaging API, or you can use the Office object models from within your C#, VB, or VBA code. If you're using that last option, you'll probably want to create an empty custom XML part and then fill it with some content, something like this example in C#: ...
Page 1 of 3 (23 items) 123