Anwendungen entwickeln für Office 2007

Slides:



Advertisements
Ähnliche Präsentationen
Vortrag Code-Dokumentation
Advertisements

Was gibt´s neues im Bereich Sicherheit
Smart(e) Software entwickeln mit Microsoft Office System 2003 Dirk Primbs Technologieberater Microsoft Deutschland GmbH Developer Platform.
Daten fließen lassen XML in Microsoft Office 2003 Lorenz Goebel Frank Fischer
Zusammenarbeit in Office mit den SharePoint Technologien Michael Carpi
SQL Server 2005.NET Integration Sebastian Weber Developer Evangelist Microsoft Deutschland GmbH.
Design- und Entwicklungswerkzeuge
Web-Entwicklung mit ASP.NET 2.0 und Visual Studio 2005 Uwe Baumann Marketing Manager Developer Tools Microsoft Deutschland GmbH Oliver Scheer Developer.
Entwicklung und Einsatz von Smart Client-Anwendungen Jens Häupel Developer Evangelist Microsoft Deutschland GmbH Dirk Primbs.
Office XP und XML Web Services Dariusz Parys.NET Strategy & Developer Group
Neue Mobilität Frank Prengel Developer Evangelist Developer Platform & Strategy Group Microsoft Deutschland GmbH
Web Matrix Project Kurzüberblick Dirk Primbs Technologieberater Developer Platform Strategy Group Microsoft Deutschland GmbH.
SPS / WSS Entwicklung Martin Saternus Technical Student Consultant Microsoft Deutschland GmbH
XINDICE The Apache XML Project Name: Jacqueline Langhorst
Microsofts XML-Strategie aus Sicht des Endanwenders Klaus Rohe Developer Platform & Strategy Group Microsoft Deutschland GmbH.
Technik Gestaltung Navigation Daten. Übersicht Client Webbrowser InternetServer.
Introducing the .NET Framework
Erweiterung von Eclipse als Entwicklungs-Plattform aus Sicht des Eclipse-Boardmitgliedes TogetherSoft Together auf Basis von Eclipse.
ENOVIA SmarTeam CATIA Integration
Uwe Habermann Ribbon Bar Die Multifunktionsleiste in VFX 10.0 Venelina Jordanova
Uwe Habermann WPF Avalon Formulare aus VFP verwenden Venelina Jordanova
Uwe Habermann Venelina Jordanova VFP Code in Silverlight Anwendungen ausführen.
WebCast: Managed Smart Tags mit VSTO Jens Häupel.NET Technologieberater Microsoft Deutschland GmbH
Integration in Office 2003 Visual Studio Tools für Office 2.0
Microsoft Office Information Bridge Framework Jens Häupel.NET Technologieberater Developer Platform & Strategy Group Microsoft Deutschland GmbH.
MSDN Webcast: VB.NET für Einsteiger und Umsteiger, Teil 10 Die erste, eigene Klassenbibliothek (Level 100) Presenter: Daniel Walzenbach Technologieberater.
Open Services Gateway Initiative
Michael Haverbeck System Engineer
Silverlight Eine Einführung. Agenda 1.Was ist Silverlight? 2.Die Silverlight Philosophie 3.Vorstellung des Szenarios 4.Einführendes Beispiel 5.Konzepte.
08. September 2010Entwicklungsstrategien in Liferay 1 Christian Krause, URZ FSU Jena, IDM-Arbeitsgruppe.
Entwicklung verteilter Anwendungen I, WS 13/14 Prof. Dr. Herrad Schmidt WS 13/14 Kapitel 12 Folie 2 Web Services (1)
Entwicklung verteilter Anwendungen I, WS 13/14 Prof. Dr. Herrad Schmidt WS 13/14 Kapitel 11 Folie 2 Microsoft Internet Information Services (IIS)
Best Practices in der Datenbank-programmierung
SharePoint 2010 for Information Architects
Kostenlose Alternative zu Microsoft Office
SQL Server 2005 CLR-Integration
SOFTWARE- UND WEB-LÖSUNGEN
7th German CDISC User Group Basel, 11. März 2010 Willkommen zum Define.xml Workshop.
Consulting and Solutions.NET Vortragsreihe – Vorstellung der Referenten Happy Arts Software Markus Kämmerer IT-Erfahrung seit 1987,
Tools und Verfahren Steffen Krause Technologieberater Microsoft Deutschland GmbH
Developer Day Office APPs entwicklen Simon Amrein Trivadis AG Die ersten Schritte in eine neue Office-Welt.
Reiner Ganser Solution Architect 1stQuad Solutions GmbH Presentation Subtitle.
3/28/2017 8:11 PM Visual Studio Tools für Office { Rapid Application Development für Office } Jens Häupel Platform Strategy Manager Microsoft Deutschland.
Spricht Ihre Anwendung schon Open XML?
Dariusz Parys Developer Evangelist Microsoft Deutschland GmbH Christian Weyer Solutions Architect thinktecture.
Windows Presentation Foundation WS 2013/14 Prof. Dr. Herrad Schmidt
Windows Presentation Foundation, Vorlesung Wintersemester 2013/14 Prof. Dr. Herrad Schmidt WS 13/14 Kapitel 2 Folie 2 XAML (1) s.a.
Windows Presentation Foundation, Vorlesung Wintersemester 2013/14 Prof. Dr. Herrad Schmidt WS 13/14 Kapitel 11 Folie 2 Model-View-ViewModel s.a.
1 Nutzen Sie diese Powerpoint-Präsentation beim Selbstlernen oder in Veranstaltungen zur Einführung in das jeweilige Thema. Einführung Lernmodul Nutzungsbedingungen:
Bonn-to-code.net Nutzung von.NET User Controls in Legacy Code Sascha Lehmann
… und was man damit machen kann.
VU Semistrukturierte Daten 1
Office Business Anwendungen mit SharePoint 2010 Fabian Moritz SharePoint MVP.
Oliver Spritzendorfer Thomas Fekete
Office Business Anwendungen mit SharePoint Fabian Moritz | MVP Office SharePoint Server.
Office in Java 2. Info-Point Urs Frei.
Uwe Habermann Ribbon Bar Die Multifunktionsleiste in VFX 10.0.
Warum IIS? Best of Microsoft Webserver
CMS Content-Management-Systeme (CMS), dienen der Verwaltung und Pflege von Dokumenten und Inhalten in Inter- und Intranetanwendungen. Den Entwickler oder.
MSDN TechTalk Anwendungen integrieren in Microsoft Dynamics CRM 4.0.
© 2014 Fake the Unfakeable Isolating Code Under Test with Microsoft Fakes ©
Sprachneuerungen des .NET Frameworks 3.5
Ralf M. Schnell Technical Evangelist Microsoft Deutschland GmbH
Christian Binder Senior Platform Strategy Manager Microsoft Deutschland GmbH.
Ralf M. Schnell Technical Evangelist Microsoft Deutschland GmbH.
Was gibt’s neues im Bereich Anpassung Fabian Moritz Consultant, Developer SharePointCommunity.de.
Cubido business solutions gmbh Haidfeldstrasse 33 A-4060 Leonding di(fh) Wolfgang Straßer ° Rundumblick.
OFFICE 365 FOCUS SESSION SHAREPOINT ONLINE 101:LERNE DIE BASICS 19. März 2018 Höhr-Grenzhausen.
 Präsentation transkript:

Anwendungen entwickeln für Office 2007 Microsoft Office 2007 Anwendungen entwickeln für Office 2007 Jens Häupel Developer Evangelist Microsoft Deutschland GmbH http://blogs.msdn.com/jensha

Agenda Office 12 – die neue Erfahrung Das neue User Interface XML Dateiformate Ribbons Document ActionsPane vs. Custom TaskPane Add-Ins

Die neue Oberfläche von Office 2007

Elemente des neuen UI Enhanced Tooltips Contextual Tabs Live Preview Enhanced window frame Galleries Quick Access Toolbar Mini Toolbar Ribbons

Custom Ribbon Extensions Für Office 12 entwickeln Aufgaben automatisieren Berechnungen in Excel Dokumente ausfüllen Eigene Aktionen Benutzerdef. Ribbons erzeugen gebunden an Vorlage oder gesamte Anwendung Externe Funktionalität via Task Panes hinzufügen Core Tasks Task Panes Custom Ribbon Extensions

Das neue Dateiformat

Microsoft Office Open XML Formats Für Word, Excel und PPT XML und ZIP docx, xlsx, pptx Offenen und transparent ECMA: 4000 Seiten neue Integrationsszenarien ZIP Container = Standardkompression Bedeutend geringere Dateigrößen Einfacher Zugriff auf Inhalte

Open XML Format Architektur *.docx User-Sicht: eine einzelne Office “Datei” Entwickler-Sicht: modulare Datei Document Parts Fast alle Parts sind XML Jedes XML Part ist eine diskrete Komponente Einfaches Hinzufügen, Auslesen bzw. modifizieren individueller Parts ohne Office Öffnen der Datei trotz evtl. Fehler in bzw. Fehlen von Parts

Grundkomponenten Package PackagePart PackageProperties Der ZIP Container PackagePart Dateien im ZIP-Archiv Fast alles ist XML, binaräre Dateien möglich Jedes XML Part ist eine diskrete Komponente PackageProperties Dokumenteigenschaften PackageRelationship definieren die Beziehungen zwischen den Parts PackageDigitalSignature

DocPart-Struktur Relationship

Das neue Dateiformat

Vorteile des Formats Size matters Offenheit Vertrauen Sicherheit Privacy Robustheit Potential für Entwickler

Wie steht’s mit Kompatibilität? Format-Support bei alten Versionen Office 2000, XP und 2003 Öffnen, Bearbeiten and Speichern Binärformat kann Standardformat werden Beim Deployment oder später (Anwender) Binärformate von 97-2003 unterstützt Word-/SpreadsheetML ebenfalls unterstützt

Was ist mit VBA? docx, xlsx, pptx, … sind makro-freie Dateien explizit speichern als docm, xlsm, pptm, … ist angesagt Developer Ribbon muß aktiviert werden via Application Settings / Personalize

Aus Menüs werden Ribbons (Multifunktionsleisten)

Ribbon Components Zugriff auf Ribbon via Tab Ribbon enthält eine oder mehr Gruppen Eine Gruppe enthält ein oder mehr Controls Controls können gruppiert werden

Office UI anpassen Dokumentebene (statisch) Specific Doc/Template Doc Parts Custom UI Action Handlers Dokumentebene (statisch) Angepaßtes UI in Datei (Zip-Archiv) Action Handler in VBA Anwendungsebene (dynamisch) Angepaßtes UI dynamisch per .NET Add-In laden Action Handler innerhalb des Add-In verfügbar Any Document Custom UI Action Handlers Add-In

IRibbonExtensibility Interface GetCustomUI(string) Parameter: Ribbon XML File Deklaration der CallBack Handler im XML ribbon tabs tab group control Custom ribbon: -          Office loads your add-in -          Office queries your add-in to see if you implement IRibbonExtensibility (this interface has only one method). -          Your add-in returns to Office the object that implements this interface. -          Later, Office calls back (GetCustomUI) on that interface on that object to fetch your XML for your custom ribbon. -          Office parses the XML and creates tabs, groups, controls according to the markup you supplied. -          These controls are all unmanaged and belong to Office – you have no direct access to them at all. -          When the user interacts with these controls, Office will call back on the IRibbonExtensibility object you provided earlier. Note that IRibbonExtensibility defines only one method (GetCustomUI), but you can implement as many additional arbitrary callback methods as you like, relying on the fact that IRibbonExtensibility is a dispatch interface. -          So, when Office calls back to, say your custom OnMyToggleButtonMethod callback on your object, it is doing so using IDispatch::Invoke

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

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

RibbonExtensibility 21

TaskPane Integration

TaskPanes Document ActionsPane Custom TaskPane Dokumentzentrische Erweiterung SmartDocument Custom TaskPane Anwendungszentrische Erweiterung Basiert auf Add-In

Actions Pane Developer experience 1. Design a UserControl 2. Add control behaviour 3. Add the control to the ActionsPane

TaskPane Programmierung 25

Applikationszentrische Erweiterungenen (Als Add-In implementiert) Custom Task Tanes Ribbon Customization Outlook Custom Form Regions Dokumentzentrische Erweiterungen Document ActionsPane SmartTags

Isolated COM Add-Ins für Outlook

Back To The Roots: COM Office Security: Klasse muß signiert sein  Container signiert mit Authenticode

Managed Code ist anders! CLR übernimmt die Ausführung Direkter Aufruf der ASM schlägt fehl Office Security: mscoree = System Komp. = nicht signierbar Ausweg: Office Security < High

Die Lösung des Problems Dedizierte unmanaged Shim (Proxy) Hosted die CLR Lädt ausschließlich eine ASM Ist selbst signiert Prüft ASM gegen CAS Policies

Add-In Architektur DefaultDomain Office Host App VSTO Runtime: AddinManager SecurityManager Office Host App AddinLoader IDTExtensibility2 Adapter AddinLoader IDTExtensibility2 Adapter Domain #2 Add-in AddinLoader IDTExtensibility2 Adapter Domain #3 Add-in Domain #4 Add-in

VSTO Add-Ins Supported Shim Verwendet bestehende VSTO Runtime Services AppDomain Isolation Separate Security Configuration Disconnect  Unload Manifest-basierte Updates Starkes Sicherheits-Modell Visual Studio Projektvorlage

Cached Data Implications Office Dokumente auf dem Server verändern 1. Attribute the DataSet as Cached 2. The DataSet is Cached as an XML part Implications Office Dokumente auf dem Server verändern Offline Daten im Dok speichern Session State sichern

Zusammenfassung Office Programmierung, die Einfacher Sicherer Richtige Programmierung Ist und Zentrale Assembly-Verwaltung Einfache Updates Bietet.

Your potential. Our passion.

Resources The Future of Office The Future of Office Developer Home http://www.microsoft.com/office/preview/default.mspx The Future of Office Developer Home http://www.microsoft.com/office/preview/developers/default.mspx ECMA Standardization http://www.microsoft.com/office/preview/developers/ecmafaq.mspx Good Blogs http://blogs.msdn.com/brian_jones/default.aspx http://blogs.msdn.com/eric_carter/default.aspx http://blogs.msdn.com/mshneer/default.aspx http://blogs.msdn.com/johnrdurant/default.aspx http://blogs.msdn.com/vsto2 http://www.officezealot.com/vsto