Office as an improvement stage with Visual Studio 2008.


57 views
Uploaded on:
Category: People / Lifestyle
Description
Motivation. VSTO OverviewOffice Ribbon DesignerCustom Task PaneAction PaneOutlook Form Region DesignerWord Content ControlsVBA <-> VSTO interopClickOnce Deployment. Guide. VSTO Functionality Over Time. Doc-level. Viewpoint include ins, VSTA in InfoPathfunctional extensionsinfra speculations. 11 Office include ins, infra ventures.
Transcripts
Slide 1

Office as an advancement stage with Visual Studio 2008 Daniel Moth Developer and Platform Group Microsoft http://www.danielmoth.com/Blog

Slide 2

AGENDA VSTO Overview Office Ribbon Designer Custom Task Pane Action Pane Outlook Form Region Designer Word Content Controls VBA <- > VSTO interop ClickOnce Deployment

Slide 4

Roadmap v3.0 (in VS2008) Workflow & Microsoft SharePoint bolster Office 2007 framework particular elements, record organize, UI App-level include ins for more customer applications Deeper server-side programming VSTO completely incorporated into Visual Studio 2008 2005 SE App-level include ins for most well known Office applications Runtime bolster for key Office 2007 UI components (Custom Taskpane, Ribbon, Outlook shape districts) Runtime bolster empowering Office 2003 doc-level customizations to keep running in Office 2007 2003 2007 2005 Custom Document ActionsPane Host Controls on archive surface Cached information in the report Server-side information handling Application-level include ins for Outlook

Slide 5

VSTO Functionality Over Time SP Workflow, new fashioners, useful expansions infra speculations 11 Office include ins, infra ventures Outlook include ins, VSTA in InfoPath utilitarian augmentations infra ventures Doc-level

Slide 6

Doc-Level Version Resilience v1 arrangements utilize the VSTO v1 runtime v2 arrangements utilize the VSTO v2 runtime v3+ arrangements utilize the VSTO v3+ runtime Reduces the quantity of runtimes (enhances execution, working set) Eliminates sort name conflicts in DefaultDomain Based on the Managed Add-in Framework Common VSTO/VSTA runtime

Slide 7

Set the scene inc report level addins

Slide 8

"Familiar" UI Ribbon, Custom Task Panes, Actions Pane, Form Region

Slide 9

Office Ribbon New Look and Feel for Office UI Replaces Command Bars in "the huge 5" Office applications Introduces another extensibility demonstrate: RibbonX Enables you to Customize office tabs, Add to worked in tabs Remove tabs, gatherings and controls Add to Office menu, Override worked in UI Group Tab Control Ribbon

Slide 10

XML-based Customisation Support Ribbon XML structure requires a particular chain of importance For instance: < customUI xmlns ="http://schemas.microsoft.com/office/2006/01/customui" onLoad =" OnLoad "> <ribbon> <tabs> <tab idMso =" TabAddIns "> <group id=" MyGroup " label="My Group"> < toggleButton id="toggleButton1" size="large" label="My Button" screentip ="My Button Screentip " onAction ="OnToggleButton1" imageMso =" AccessFormModalDialog "/> </group> </tab> </tabs> </ribbon> </customUI >

Slide 11

Ribbon Customization Office worked in support for XML-based customization display VSTO 2005 SE bolster Simplifies hookup from .NET through pre-created classes and test XML VSTO v3.0 (Visual Studio 2008) bolster Adds out and out visual creator bolster "Fare to XML" choice A more vigorous programming layer inc. occasions

Slide 12

Design Surface Ribbon Designer Property Grid Ribbon Control Toolbox

Slide 13

Custom Task & Actions Panes VSTO streamlines and accelerates errand sheet UI configuration prepare with visual originators and .NET hookup Actions Pane More vigorous, less demanding to program contrasting option to Office\'s implicit "Keen Document" innovation Custom Task Pane an indistinguishable general thought from Actions Pane, just on the application include level, not singular doc

Slide 14

Pane UI Customization

Slide 15

Custom Task Panes and Action Panes

Slide 16

ActionsPane Architecture WinForms UserControl (ActionsPane) VSTO Invisible ActiveX Control Document Actions Task Pane

Slide 17

Outlook Form Region Features New innovation in Outlook 2007 for upgrading and supplanting Outlook\'s inherent structures Code behind shape district is actualized as COM include New controls give worked in look & feel and information official to Outlook information

Slide 18

4 Types of Form Regions Adjoining and Separate Custom and implicit structures Replacement and Replace-every single Custom shape just Reading Pane can show numerous types aside from Separate

Slide 19

Adjoining in Reading Pane

Slide 20

Adjoining in Inspector

Slide 21

Separate

Slide 22

Replacement & Replace-All

Slide 23

VS2008 Outlook Form Region s VSTO facilitates improvement of Outlook frame locales Configure frame area with a straightforward, natural wizard Debugging (F5), Intellisense Import Use wizard to import Outlook-made OFS record Controls are referenced & cast to right name & sort Design Designer bolsters WPF and Windows Form controls Properties window uncovered show

Slide 24

Outlook Form Region

Slide 25

Fluent UI

Slide 26

Word Content Controls

Slide 27

Word Content Controls New understanding for creating organized reports in Word 2007 New UI for engineers to get to Word Content Controls Programmable through Word Object Model Support for XML Mapping

Slide 28

Toolbox Support Word content controls accessible in Toolbox Increases discoverability of substance controls Drag-and-drop involvement

Slide 29

Property Grid Support Easily get to the properties and occasions of the substance controls

Slide 30

Programming Paradigm Windows Forms style programming model Generate occasion handlers Support for IntelliSense

Slide 31

Word Content Controls

Slide 32

Two-Way Simple Data Binding Two techniques to information tie Drag and drop bolster from Data Sources window Set up through the property lattice

Slide 33

UI Feature Availability

Slide 34

Where we\'ve been, what\'s left VSTO Overview Office Ribbon Designer Custom Task Pane Action Pane Outlook Form Region Designer Word Content Controls VBA <- > VSTO interop ClickOnce Deployment

Slide 35

You empower VBA by means of COM Interop executed at configuration time You can then call VSTO from VBA with IntelliSense in the wake of building the venture Call VSTO from VBA

Slide 36

VBA and VSTO Interop

Slide 37

ClickOnce for Office Add-ins Low-affect organization instrument Self-contained Solutions introduced per client Prerequisites are introduced if the client is an administrator ClickOnce bolster Full end-to-end arrangement establishment Richer variant autonomous security display Offline get to by means of the ClickOnce Cache

Slide 38

ClickOnce Deployment

Slide 39

Summary The justification for the VSTO design Bring together Office and .NET Provide a modern designer encounter Provide a strong gauge runtime foundation Office is a genuine advancement stage

Slide 40

MSDN in the UK Visit http://msdn.co.uk Newsletter Events Screencasts Blogs

Slide 41

Resources Visit the VSTO Developer Center http://msdn.microsoft.com/office/apparatus/vsto/default.aspx VSTO Help documentation on MSDN http://msdn2.microsoft.com/en-gb/library/d2tx7z6d(vs.90).aspx VSTO Forum http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=16 VSTO Team Blog http://blogs.msdn.com/vsto2

Slide 42

VSTO Design-Time Stack Excel, Word, Info Path Info Path Excel, InfoPath, Outlook, PowerPoint, Visio, Word , Project Excel, Outlook, PowerPoint, Word SharePoint IDE Hosting Separate IDE Outlook Workflow Document Solutions Add-ins Ribbons Form Regions Project Templates Item Wizards Visual Studio

Slide 43

VSTO/A Runtime Stack Office Client Host Managed/Unmanaged Host Doc-Level Solution App-Level Add-in Doc-Level Solution App-Level Add-in VSTO Runtime VSTA Integration Doc Task Pane Host Item Controls Win Forms Controls Custom Ribbon Custom Task Pane Custom Form Region Common VSTO/A Runtime AppDomain Management Security Enforcement Deployment and Updating .NET CLR Managed Add-in Framework (MAF) ClickOnce

Recommended
View more...