Presentation is loading. Please wait.

Presentation is loading. Please wait.

SharePoint and OpenXML Tools and Object Models for Server-Side Office Development Ron Dunn Information Worker Technology Specialist.

Similar presentations


Presentation on theme: "SharePoint and OpenXML Tools and Object Models for Server-Side Office Development Ron Dunn Information Worker Technology Specialist."— Presentation transcript:

1

2 SharePoint and OpenXML Tools and Object Models for Server-Side Office Development Ron Dunn Information Worker Technology Specialist

3 Agenda Interoperability – the future! OpenXML Developer Interface Demonstration Questions & Discussion »Acknowledgement: Steve Hillier, OBS

4 INTEROPERABILITY

5 Importance of Interoperability Achieve industry alignment using standardized technologies. Enable data interoperability between documents, applications and systems. Capture and reuse information to and from many data sources. Build intelligent applications that improve data context and quality. Shared service oriented architecture (fx http, XML, SOAP, WSDL, UDDI) Documents

6 Flexible delivery

7 XML For Interoperability Why is neutrality Important? –Neutral data portable across applications Why is validation important? –Reliability is fundamental to exchange between foreign systems Why is extensibility important? –Platforms are more powerful than applications!! Why are open standards important? –Encourages continuity between potentially conflicting technologies and platforms

8 Interoperability for Documents The role of XML in the Microsoft ® Office system Archived & consumed long into the future without vendor-specific clients or applications XML structure Data and presentation Document Archival Improved Data Access Web service formatting intelligent receipt Customer details, Costs Business requirements Company standards Business Process Efficiency Efficient capture Validated information Searching & RepurposingContent Query & extract Text Document Fragment Image Finding Previous RFP Content Auto-creating a polished document data Document Assembly formatting

9 Document Authoring Evolution Fundamentals New Approach: Dynamic, interactive process –Paper Documents – temporary & disposable, rarely printed –Electronic formats – automatic, machine-driven processes –Electronic collaboration – always using up-to-date information –Electronic management – scheduling, tracking easier to communicate –XML formats with easy to locate, edit and reuse content Former Approach: Linear, static process –Paper Documents – printed document of record –Electronic Masters – digital work style, temporary until printed –Face-to-face Collaboration – time consuming & coordination issues –Paper-based project management –Binary formats with “copy/paste” tasks for content reuse

10 The Role of XML with Documents ScenarioExample Document Assembly Create sales reports from financial and forecast data stored in a CRM system Content Reuse Apply content stored in Word documents to Web pages quickly and efficiently Content Tagging Tag presentations using a specific taxonomy to improve knowledge management efficiency Document Interrogation Search for all documents containing a specific company name or sales contact Document Sanitization Remove all tracked changes and comments from a Word document before it is published

11 The Role of XML Reference and Custom-defined Schemas John Doe Health Agency John Doe Health Agency XML Reference Schemas Display-oriented (ie, Bold, Italics, Tables, Paragraphs, Styles) Document Format Enable Archival and File Formats Interoperability

12 The Role of XML Reference and Custom-defined Schemas Custom-defined Schemas Data-oriented (for example, Price, Invoice) business information Enable System Integration 3/24/2004 Health Agency 100 25% … 3/24/2004 Health Agency 100 25% …

13 2007 Office System File Formats New file formats for Word, Excel and PowerPoint Ecma Office Open XML Formats standardization XML-based formats for the future of solution interoperability Open Specifications enable broad access to technology Open File Formats ZIP compression of the format reduces file sizes Segmented data storage improves data recovery and programmatic access Full accessibility support The future of file format technology Standardized file formats supporting 100% of Microsoft Office functionality Current and new file formats compatible between Office 2000-2007 users Bulk document conversion tools available Compatible file formats

14 Adoption in major Office suites Microsoft Office 2007 - Default Save Format is Open XML (+ free updates for Office 2000, XP, 2003) – Dec 2006/Jan 2007 Open Office – Novell announcement of support of Open XML in Open Office – Novell edition – Availability early 2007 Corel announcement of support of Open XML - Availability mid 2007

15 DEVELOPER INTERFACE

16 Components of the New Formats Package – ZIP Container Part – The “files” inside the ZIP Content Types – are enforced on open Relationships – References from one part to another Document Properties Application Properties Custom Doc.Props. Workbook Sheet2 3 1Styles Chart Strings...

17 System.IO.Packaging Part of Windows Presentation Foundations (.NET 3.0) Ships with Vista Requires.NET 2.0 Enables package manipulation for Office Open XML File Formats

18 System.IO.Packaging API Functionality Create/Open packages Create and delete parts and relationships Read and write part streams Iterate through collections of parts and relationships Package PackagePart PackagePartCollection PackageRelationship PackageRelationshipCollection PackUriHelper Package PackagePart PackagePartCollection PackageRelationship PackageRelationshipCollection PackUriHelper

19 System.IO.Packaging.Package Package class provides methods to create, enumerate and delete the following entities: Package Package Relationships PackageProperties Parts Package Relationships Core Properties Common Package Parts Thumbnail Digital Signatures officeDocument XML Part Specific Format Parts Etc… XML Part Part Rels

20 System.IO.Packaging.Relationship Relationships tie the parts together Required to find parts (part names are not guaranteed) Iterate through RelationshipCollection by Type or ID Relationship Properties: ID Package RelationshipType SourceUri TargetMode TargetUri

21 Developer Toolkit Visual Studio 2005 &.NET 2.0 & VSTO 2005 (*).NET 3.0 Package APIs (System.IO.Packaging) –Access/maintain parts and relationships within a file –Takes care of all ZIP level functionality XML DOM –For manipulating content in parts XmlReader –For retrieving data from parts XPATH –For navigating within content with DOM

22 Developer Resources OpenXMLDeveloper.org Kevin Boske’s Blog –http://blogs.msdn.com/kevinboskehttp://blogs.msdn.com/kevinboske Brian Jones’ Blog –http://blogs.msdn.com/brian_joneshttp://blogs.msdn.com/brian_jones.NET 3.0 Developer Center –http://msdn.microsoft.com/netframework/http://msdn.microsoft.com/netframework/

23 For More Information MSDN ® Developer Centers –VSTO section of the Office Developer Center http://msdn.microsoft.com/office/understanding/vsto/ http://msdn.microsoft.com/office/understanding/vsto/ –VSTO section of the Smart Client Developer Center http://msdn.microsoft.com/smartclient/understanding/vsto/ http://msdn.microsoft.com/smartclient/understanding/vsto/ VSTO forum –http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=16http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=16 VSTO-related blogs –http://blogs.msdn.com/vsto2/http://blogs.msdn.com/vsto2/ –http://blogs.msdn.com/andreww/http://blogs.msdn.com/andreww/ –http://blogs.msdn.com/eric_carter/http://blogs.msdn.com/eric_carter/ VSTO Help documentation on MSDN –http://msdn2.microsoft.com/library/d2tx7z6d.aspxhttp://msdn2.microsoft.com/library/d2tx7z6d.aspx VSTO forum resources –http://forums.microsoft.com/MSDN/ShowPost.aspx? PostID=196504&SiteID=1http://forums.microsoft.com/MSDN/ShowPost.aspx? PostID=196504&SiteID=1

24 DEMONSTRATION

25 Development Steps Install Visual Studio 2005 Professional Install VSTO SE Install VS 2005 Extensions for WWF (rename to ZIP) Create Workflow / Workflow Activity Project Update web.config Create activity.ACTIONS Deploy DLL to GAC Iisreset Build workflow Success!

26 QUESTIONS & DISCUSSION

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

28 Open XML Formats and ODF Sharing a common vision for XML-based formats Microsoft believes in customer choice in file formats One format cannot address the breadth of industry needs Save as PDF, XPS, ODF, Open XML Formats, HTML, TXT and many other existing formats from Microsoft applications Open XML Formats are compatible with your existing documents Full-fidelity document conversion between binary files and Open XML Formats documents Convert documents to Open XML Formats without risking data loss, destruction of protection, or losing metadata Microsoft offers a full tool set for deploying, managing and migrating between Open XML formats and binary document formats


Download ppt "SharePoint and OpenXML Tools and Object Models for Server-Side Office Development Ron Dunn Information Worker Technology Specialist."

Similar presentations


Ads by Google