Presentation is loading. Please wait.

Presentation is loading. Please wait.

The 2007 Microsoft Office System: Developer Model for the New User Interface Andy Cheung ISV Developer Evangelist Microsoft Hong Kong.

Similar presentations


Presentation on theme: "The 2007 Microsoft Office System: Developer Model for the New User Interface Andy Cheung ISV Developer Evangelist Microsoft Hong Kong."— Presentation transcript:

1 The 2007 Microsoft Office System: Developer Model for the New User Interface Andy Cheung ISV Developer Evangelist Microsoft Hong Kong

2 Agenda RibbonX Managed Preview Handler Custom SmartArt Graphics

3 Ribbon Extensibility - “RibbonX” Developers can modify the Ribbon For example: remove tabs, add a tab, add a group Custom Group Custom Tab

4 Existing Solutions Custom Menu Custom Buttons on Formatting Toolbar Custom Toolbars

5 Mapping Existing Solutions If your code added a… it appears in… Control to a built-in menu the 'Menu Commands' group Control to a built-in toolbar the 'Toolbar Commands' group Custom toolbar the ‘Custom Toolbars’ group … on the Add-Ins Tab

6 Before the 2007 Office System Hard to build well-behaved add-ins Hard to reference built-in controls, images Hard to localize Nearly impossible to make add-in customizable by end users Easy to have add-in conflicts Result: UI deteriorates over time

7 RibbonX… Is a consistent, XML-based developer model for Microsoft Office UI Produces well-behaved solutions by default Exposes new control types Targets specific developer scenarios

8 RibbonX Controls EditBoxesDialogBoxLaunchersDropDownsComboBoxesGalleries Only five controls in Microsoft Office 2003: msoControlButton, msoControlEdit, msoControlPopup, msoControlComboBox, msoControlDropdown

9 RibbonX Markup Declarative XML Easy to understand, localize, generate Separates UI from your business logic Gets applied to UI at add-in or document load <button id=“hw” label=“Hello World!” onAction=“myHelloFunc” /> </group></tab>

10 Doc.Level App.Level RibbonX Solution Space Installed at app-level, UI always visible Write a VSTO app-level solution Word Global Template Excel Add-in (.xlam) PPT Add-in (.ppam) Installed at app-level, displays UI based on doc properties Write a VSTO v3 doc-based solution Word, Excel, PowerPoint document Access Database COMVBAVSTO

11 Features Targeting Developers StartFromScratch Global repurposing Referencing built-in controls and images

12 Design Guidelines UI Region Contains… File Menu Commands external to document Main Tabs Commands that modify document content Contextual Tabs Commands specific to built-in objects Programmable Task Panes Typically display data relevant to current document

13 Resources Create Custom SmartArt Graphics For Use In The 2007 Office System http://msdn.microsoft.com/msdnmag/issues/07/02/SmartArt/ Extend The 2007 Office System With Your Own Ribbon Tabs And Controls http://msdn.microsoft.com/msdnmag/issues/07/02/ribbonx/ View Data Your Way With Our Managed Preview Handler Framework http://msdn.microsoft.com/msdnmag/issues/07/01/PreviewHandlers/

14 FREE Hong Kong Technical Support Newsgroup Supported by experienced Microsoft senior engineers Read posts, search for specific topics and post your questions! Get an answer within 2 business days (Mon – Fri) http://www.microsoft.com/hk/community/newsgro up.mspx http://www.microsoft.com/hk/community/newsgro up.mspx

15 © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "The 2007 Microsoft Office System: Developer Model for the New User Interface Andy Cheung ISV Developer Evangelist Microsoft Hong Kong."

Similar presentations


Ads by Google