19
Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Embed Size (px)

DESCRIPTION

Overview Office as a Development Platform. Improving User Productivity – “Data Now”. Improving UX – Better Results, Faster. Writing managed code.

Citation preview

Page 1: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Arun Prakash GanesanDevelopment LeadMicrosoft Corporation

Office 2007 for Developers

Page 2: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

AgendaOverviewWhat’s new in Office 2007?Programming AvenuesDemoDesign GuidelinesSummary

Page 3: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

OverviewOffice as a Development Platform.Improving User Productivity – “Data Now”.Improving UX – Better Results, Faster.Writing managed code.

Page 4: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

What’s new in Office 2007New Ribbon UI.Custom Task Panes.Forms Region.Improved Object Model for Outlook.Reliability and Security.

Page 5: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Programming Avenues

Visual Studio Tools for Office.Traditional Office customizations.Shared Addin.

Page 6: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

VSTO v3 Provides the infrastructure for addin development. Provides support for:

– New application-level customizable task pane. – New UI ( “ribbon”) extensibility model in Microsoft Office 2007.– New Office Open XML file formats in Microsoft Office 2007.

Performs a range of operations including:– Creating and configuring app domains– Checking security policy– Loading and unloading assemblies– Connecting user code to the host application item classes.

V3 runtime made robust and faster.

Page 7: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

VSTO – Key FeaturesHost application specific IntelliSense and AutoComplete.Host application specific compile-time support and strong typing.In-built COM shim.Each addin is loaded into a separate application domain.Shim is not blacklisted, only the addin.One addin per host application.

Page 8: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Office 2007 File FormatsOpen XML, robust and compact file format.Allows for integration with Business Systems.Allows content reuse and searchability.Improved damaged file recovery.Compatibility with Office 2003.

Page 9: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Programming Custom Task PaneOne of the new programmability features in Office 2007 is the application level custom task panes.They are based on the ICustomTaskPaneConsumer interface.CTPFactoryAvailable is called on IDTExtensibility2. OnConnection

Page 10: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Programming Custom Task Pane

Custom Task Pane Handshake

Page 11: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Ribbon CustomizationsSupports well defined document level and application level customizations.To implement IRibbonExtensibility interface.The only method GetCustomUI in this interface to return the ribbon markup.Additional call back methods can be implemented in the same class that implements this interface.

Page 12: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Programming Application level Custom Task Pane

Custom Ribbon Handshake

Page 13: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Office 2007 Extensibility Features

Consolidated and Enriched Object Model.Runtime support for new UI elements.New Table object for faster search in Outlook.Improvements in Security and reliability.VSTO to be the supported model.

Page 14: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Demo

Page 15: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Design GuidelinesData – dealing with huge data impacts performance.UX – Performing lengthy tasks synchronously impacts UX.Dispose resources appropriately.Instrument the solution at different trace levels.Do not replicate the host application’s functionality.

Page 16: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

SummaryOffice 2007 improves User Experience.Office 2007 provides rich support for extensibility.VSTO provides support for reliability and security.VSTO provides support for:– Creating Ribbon customizations – Creating custom Task Panes– Dealing with the new Office Open XML Format.

Page 17: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Questions

Page 18: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

Resources

Consolidated list available at: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=196504&SiteID=1

Office Open XML.http://www.ecma-international.org/memento/TC45.htm

Page 19: Arun Prakash Ganesan Development Lead Microsoft Corporation Office 2007 for Developers

© 2006 Microsoft Corporation. All rights reserved.This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.