Open XML Formats Jessica Gruber Consultant Microsoft Corporation.

Slides:



Advertisements
Similar presentations
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
Advertisements

Solution Development Using the 2007 Microsoft Office System Open XML File Formats Microsoft Corporation.
Assembling, Repurposing And Manipulating Document Content Using The New Office File Format Brian Jones OFF 304 Program Manager Microsoft Corporation.
Microsoft Office Excel 2013 Core Microsoft Office Excel 2013 Core Courseware # 3253 Lesson 8: Macros, Importing and Exporting Data.
Microsoft Confidential Solution Overview: Foxit Software Corporation’s PDF Security Suite.
Microsoft Office ® Access 2007 Microsoft Office Access 2007: Introduzione allo sviluppo Fabio Santini.NET Developer Evangelist Microsoft Italy.
Dave Glover 4/15/ :12 PM Microsoft Office Overview Open XML Formats, Extensible UI, InfoPath and Forms Services, Workflow.
What are they? Users see a single file MyDoc.docx Developers see a zip file with xml parts Document properties File container Comments WordML/SpreadsheetML,
OFC 317 使用 WinWF 构建 Microsoft Office SharePoint Server 2007 中的工作流应用.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
Microsoft Office Open XML Formats Brian Jones Lead Program Manager Microsoft Corporation.
2007 Microsoft Office System Microsoft Partner Confidential.
Microsoft Office Sharepoint Server 2007 (MOSS) Overview Momentum Microsoft November 15, 2007.
Today’s Agenda 14:30 Communication & Collaboration Platform 14:50 Portals & Document Management 15:10 Enterprise Project Management 15:30 Break 15:50 Business.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
New Document Lifecycle Opportunities N. Gregg Brown Lead Program Manager Digital Documents microsoft.com Microsoft Corporation.
Office Open XML Developer Workshop Office Open XML Overview Štěpán Bechynský.
OFC 322 Building Office Research Web Services: Exposing Corporate Data Through Office Brian Jones Program Manager Authoring Services Martin Sawicki Lead.
Microsoft Confidential Gregg Brown| Lead Program Manager Windows Digital Documents Team | Microsoft Corporation XPS Overview and Demonstration.
OFC304 Excel 2003 Overview: XML Support Joseph Chirilov Program Manager.
Office Live Workspace Visio 2007 Outlook 2007 Groove 2007 Access 2007 Excel 2007 Word 2007.
Lisa Ruff Business Productivity/Accessibility TS Microsoft Federal.
Microsoft Office InfoPath 2007 Development, Deployment, And Hosting For Rich And Browser Forms Jessica Gruber Consultant Microsoft Corporation.
Working With Open XML Document Formats In MOSS 2007 Romeo Pruno nonaka.eu.
OFC 308 Advanced Word XML: The WordML Schema and Bringing Everything Together Brian Jones Program Manager Authoring Services.
SharePoint and OpenXML Tools and Object Models for Server-Side Office Development Ron Dunn Information Worker Technology Specialist.
James Akrigg Microsoft Ltd Integrating InfoPath Forms Into Workflow Solutions And Business Processes.
MSG316: Building Portals With SharePoint ™ Portal And Microsoft ® Office XP Howard Crow Program Manager SharePoint Portal Server Microsoft Corporation.
OFC291 Microsoft® Office Word XML (part 1 of 3): Introduction Martin Sawicki Lead Program Manager.
Office Open XML Developer Workshop Office Open XML Architecture A developer’s introduction to the file formats.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Search Overview Search Features: WSS and Office Search Architecture Content Sources and.
Open XML Developer Workshop Working with the Packaging API.
Office 2007 for Developers Darryl Burling Developer Evangelist Microsoft New Zealand Blog:
New Capabilities with the Open XML File Format Visual Studio Tools for Office Mike Ormond Developer and Platform Group, Microsoft Ltd
Coding Compliance Components Writing Custom Policies for Auditing, Expiration and More Jason Morrill Program Manager Windows SharePoint Services.
Open XML Formats Fabio Santini.NET Developer Evangelist Microsoft Italy.
1 Unleashing The Power Of XPS-Based File Formats For Your Application Jesse McGatha DAT304 Program Manager Microsoft Corporation.
Package! Publish! Print! Brian Adelberg Digital Document Solutions Software Development Lead Microsoft Corporation.
The Office Development Platform & Visual Studio Tools for Office Mike Hernandez Product Manager Microsoft Corporation Steven Goulet Group Program Manager.
Microsoft Confidential 2007 Microsoft Office System Technical Overview - Client Michael McClary Microsoft Confidential.
The 2007 Microsoft Office System Servers Enterprise Content Management, Workflow and Forms Martin Parry Developer and Platform Group, Microsoft Ltd
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
Open XML Developer Workshop Open XML Packages, Parts and Relationships.
Open XML Developer Workshop Office Open XML Architecture A developer’s introduction to the file formats.
Microsoft Virtual Academy Jamie McAllister | SharePoint MVP & Solution Architect Rob Latino | Program Manager in Office 365 Support.
Power Point Mistakes Contrasting background and text Microsoft Office PowerPoint 2007 enables users to quickly create high-impact, dynamic presentations,
Microsoft Office and XML – Making the data work for YOU! Mark Johnston Developer & Platform Group, Microsoft Ltd
Office 365 Development July 2014.
SharePoint 2007 Business Intelligence
Microsoft Office SharePoint Server 2007 Enterprise Search
5/25/2018 2:39 AM © 2006 Microsoft Corporation. All rights reserved.
Office Open XML Formats: Enabling Solutions
Visio Services 2013 Collaboration APIs Chris Hopkins
Visual Studio Tools for Office 2005
2007 Office System Integration
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
Microsoft Dynamics.
Microsoft Office XML Formats
Open XML Packages, Parts and Relationships
Office Power Hour New developer APIs and features for Apps for Office
ECM for the Masses How SharePoint 2010 Delivers on the Promise
Microsoft Office System 2007: Records Management
2/24/2019 6:15 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
SharePoint Foundation 2010
SharePoint Foundation 2010
Delivering great hardware solutions for Windows
The Social Life of Information
Introduction to ASP.NET Parts 1 & 2
Contexualized Data In Document Authoring
Presentation transcript:

Open XML Formats Jessica Gruber Consultant Microsoft Corporation

Agenda Introduction to the new formats (demos) Developer view of the Open XML Formats Tools for working with Open XML Files (demos) Server development scenarios (demos) Question and Answer

Session Goals Understand the benefits of Office Open XML solutions for developers Introduction to Microsoft tools for Open XML development Learn basic developer patterns for Working with Packages and Parts (Zip) Navigating through relationships (XML) Manipulating data within parts (XML) Kick off the conversation on OpenXMLDeveloper.org

Open XML Formats New XML file formats for Word, Excel and PowerPoint New formats will be the default file formats, with new file type extensions (.docx;.pptx;.xlsx) Fully 100% compatible with existing formats Open, transparent format improves interoperability XML - Transparent, XML format enables new integration scenarios for documents and LOB systems ZIP container - allows for standard compression on all files without user effort Licensing - Removed need for license by providing a Covenant that says we won’t enforce IP against folks implementing the format (100% royalty free) Standardization Ecma International - created TC45 to fully document the Open XML formats Members include: Apple, Barclays Capital, BP, the British Library, Essilor, Intel Corporation, NextPage Inc., Statoil ASA and Toshiba Current spec is already over 2000 pages

Open XML Formats (cont’d) Added Benefits: compact and robust ZIP container allows for standard compression on all files without user effort (Dramatic file size improvements) Significantly more robust files to help minimize data loss Backward Compatible: Office 2000, Office XP, Office 2003 will all support the new formats Patches for compatibility available by launch Open, edit and save new formats Legacy support: Current Office binary file formats supported Support for XML formats from Office 2003, Office XP continued Developers: Endless potential for developers Build solutions to read, write, and modify Office files (without the need to run Office APIs)

Evolution Of File Formats Office 2000 Early Innovation XML document properties Office 97 Existing binary file formats designed in 1994, launched in Office 97 Office XP First XML Format Spreadsheet XML Office 2003 Breakthrough XML Support WordML, SpreadsheetML Custom-defined schema Office 2007 New XML Formats XML file format default XML PowerPoint format “Wave 12”

Components of the new formats Package – ZIP Container Part – The “files” inside the ZIP Content Types – Each part has a content type that is enforced on open Relationships – Any part that references another part must do so via a relationship

Introduction to the new File Format

Document Analyzer Office Open XML Formats

User view: single Office “file” Questionaire.docx Document Parts Most parts are XML Each XML part is a discreet, compressed component Can add, extract and modify individual parts using any Zip implementation Corruption or absence of any part would not prohibit the file from being opened Developer view: modular file Open XML Formats Architecture

Benefits Of Open XML Solutions No longer need to automate client applications to open and modify files Unsupported solution on server Clients not designed for this scenario Reliability Access directly the parts you need Avoid corruption Transparency Direct access to your data!

Tools for Accessing Data In Office Open XML files XML Editing Notepad? System.XML makes this easier ZIP Manipulation Compressed Folders in Windows? Third-Party Zip Libraries Microsoft’s Packaging API’s Office Open XML Resource Kit Code Snippets - Beta 2 C# and VB.NET Validation Library Parses a file and reports on schema, relationship errors and warnings Schemas already in the ECMA document

System.IO.Packaging Part of Windows Presentation Foundations (WinFX) Ships with Vista Betas available now Requires.NET 2.0 Enables package manipulation for Office Open XML File Formats XML Paper Specification Files Any Open Packaging Convention files

PackagePackagePartPackagePartCollectionPackageRelationshipPackageRelationshipCollectionPackUriHelper 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

Reading Data From Files Microsoft Office PowerPoint 2007

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… Part Rels XML Part Part Rels

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 Package Relationships Core Properties Common Package Parts Thumbnail Digital Signatures officeDocument XML Part Specific Format Parts Etc… Part Rels XML Part Part Rels officeDocument XML Part

System.IO.Packaging.PackagePart Parts are the objects of data within the Package PackagePart provides support to create, enumerate and delete part relationships Get Part data as Stream PackagePart Properties: CompressionOption ContentType Package Uri Package Relationships Core Properties Common Package Parts Thumbnail Digital Signatures officeDocument XML Part Specific Format Parts Etc… Part Rels XML Part Part Rels - The Quick Brown Fox jumped over the river. … XML Part - The Cow jumped over the moon. …

System.IO.Packaging.PackURIHelper Helper class to aid working with URIs URIs required to GetParts Create or Get URIs for Packages Parts Relationship parts Resolve relative URIs for parts from source to target part

The Role Of XML With Documents ScenarioExample Document Assembly Server-based or user-assisted construction of documents from archived content or database content Create sales reports from financial and forecast data stored in a CRM system Content Reuse Much easier to move content between documents, including different document types Apply content stored in Word documents to Web pages quickly and efficiently Content Tagging Add domain-specific metadata to document content to enable custom solutions Tag presentations using a specific taxonomy to improve knowledge management efficiency Document Interrogation Query document repositories based on custom data, content types or document metadata Search for all documents containing a specific company name or sales contact Document Sanitization Remove unwanted content like comments or embedded code from your document when appropriate Remove all tracked changes and comments from a Word document before it is published

Document Interrogation Scenarios When you need meta-data about Office files on a server Building reports from data in files Workflow and Content Management scenarios Validate compliance

Document Analyzer Office Open XML Formats

Document Assembly Scenarios Useful when documents need to be generated from structured data Auto generate reports in Excel from data in database Create documents for users from form data Repurpose existing data (slide libraries) Recommendation: Start from a template

Document Assembly Office Open XML Formats

Document Sanitization Scenarios Security Remove active content (VBA, ActiveX) Privacy Remove comments, revisions, hidden text Remove or alter document properties Legal Insert copyrights, watermarks, images Run as part of Workflows, publishing, compliance scenarios

Document Sanitization Office Open XML Formats

New community formed to help bring developers together Currently sponsored by almost 40 institutions from around the world Community and website for information exchange Free of Charge: Available to everyone that wants to participate; encourage development on all platforms Be one of the first to join the community!

Resources OpenXMLDeveloper.org Kevin Boske’s Blog Brian’s Blog WinFX Developer Center Latest CTP: XPS Blog:

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