Download presentation
Presentation is loading. Please wait.
1
Microsoft Office Open XML Formats Brian Jones Lead Program Manager Microsoft Corporation
2
Agenda Overview of the new formats Demo: New Office document Additional benefits of the new formats Role of XML in Office documents Structural details of the new formats Custom defined schema support File format benefits for developers Solution capabilities demos throughout
3
Microsoft Office Open XML Formats New XML file formats for Word, Excel and PowerPoint New formats will be the default file formats New file type extensions Open, transparent format improves interoperability Published file format specification with royalty- free license Transparent, XML format enables new integration scenarios for documents and LOB systems ZIP container allows for standard compression on all files without user effort
4
Office Open XML Formats
5
Microsoft Office Open XML Formats 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 97-2003 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)
6
Benefits of the Office Open XML Formats
7
The Role of XML in Office Capture and reuse of information Connecting users to data Intelligent applications
8
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
9
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 12” New XML Formats XML file format default XML PowerPoint format “Wave 12”
10
Open XML Formats Architecture User view: single Office “file” Questionnaire. docx Document Parts Most parts are XML Each XML part is a discreet, compressed component Can add, extract and modify individual parts without using Office programs Corruption or absence of any part would not prohibit the file from being opened Developer view: modular file
11
Modifying an Excel Spreadsheet
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
13
Create a document from scratch
14
The Role of XML Reference and custom-defined schemas Custom-defined Schemas Data-oriented (e.g., Price, Invoice) Represents the business information stored in the document Enable System Integration XML Reference Schemas Display-oriented (e.g. Bold, Italics, Tables, Paragraphs, Styles) Open Document Format Enable Archival & File Formats Interoperability
15
The Role of XML Reference and custom-defined schemas XML Reference Schemas Display-oriented (e.g. Bold, Italics, Tables, Paragraphs, Styles) Open Document Format Enable Archival & File Formats Interoperability John Doe Health Agency
16
3/24/2004 Health Agency 100 25% … Custom-defined Schemas Data-oriented (e.g., Price, Invoice) Represents the business information stored in the document Enable System Integration The Role of XML Reference and custom-defined schemas
17
Custom defined schema
18
Developing against the formats More Reliable Solutions 3 rd party tools were main cause of document corruptions Fully Documented Formats Freely available for download with a royalty free license Office file format schemas - Used to validate content for a given part Samples, samples, samples In the form of code “snippets” for easier use and integration into your VSTO solutions WinFx Package APIs Access/maintain parts and relationships within a file Takes care of all ZIP level functionality XPath Navigation within content XML DOM Manipulating content Office Open XML Resource Kit Tools for constructing and deconstructing the new file formats Design time Validation tool Parses a file and reports on schema, relationship errors and warnings Runtime serialization tool Flattens package into a single file for ease of development in simple construction scenarios
19
Programming against the formats
20
Sample Solution Scenarios Data interoperability Content manipulation Content sharing and reuse Document assembly Document security Managing sensitive information Document styling Document profiling
21
Resources Office Preview Site: http://www.microsoft.com/office/preview/ Brian Jones’s Blog: http://blogs.msdn.com/Brian_Jones/ Office 2003 Reference Schema Information: http://www.microsoft.com/office/xml/
22
© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.