Office Open XML Developer Workshop Office Open XML Overview Štěpán Bechynský.

Slides:



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

WordprocessingML Basics
Solution Development Using the 2007 Microsoft Office System Open XML File Formats Microsoft Corporation.
Open XML Developer Workshop Office Open XML Architecture A developers introduction to the file formats.
Integrating data and documents
SpreadsheetML Advanced
SpreadsheetML Basics.
WeB application development
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
Open XML Developer Workshop PresentationML. Open XML Developer Workshop Disclaimer The information contained in this slide deck represents the current.
Honors Certifications Degrees. CompTIA A+ Certification (COMP ) I completed training for my A+ certification at CompuTech Consultants in Irving,
Tutorial 8: Developing an Excel Application
Microsoft PowerPoint 2013 An Overview.
1 CA202 Spreadsheet Application Combining Data from Multiple Sources Lecture # 6.
Microsoft Excel 2003 Illustrated Complete Excel Files and Incorporating Web Information Sharing.
Microsoft Office Excel 2013 Core Microsoft Office Excel 2013 Core Courseware # 3253 Lesson 8: Macros, Importing and Exporting Data.
With Microsoft Access 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access.
Lesson 16 Enhancing Documents
Word. Define the meaning of Word will be divided into two parts: First Section: What it means is commonly known It is a word processor that through which.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Word 2003 Lab 3 Creating Reports and Tables.
Microsoft Office Open XML Formats Brian Jones Lead Program Manager Microsoft Corporation.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
1 ADVANCED MICROSOFT WORD Lesson 15 – Creating Forms and Working with Web Documents Microsoft Office 2003: Advanced.
1 Word Lesson 4 Working with Graphic Objects Microsoft Office 2010 Fundamentals Story / Walls.
© 2002 ComputerPREP, Inc. All rights reserved. Word 2000: Working with Long Documents.
Microsoft ® Word Templates and Accessibility. 1 What is a Word template? File with a.dot (document template) extension Can define the following:  Paragraph.
Office Open XML Developer Workshop SpreadsheetML Basics.
Microsoft Office Illustrated Fundamentals
_ HTML, XHTML & CSS Sami Niemelä | Module 1: Introduction to digital media: Day 02.
PowerPoint Lesson 9 Importing and Exporting Information Microsoft Office 2010 Advanced Cable / Morrison 1.
Using a Spreadsheet Chapter 5.
Spreadsheet Introduction and Terminology Fill in the Listening Guide as you view this presentation.
Lesson 9: Using Excel with the Internet Microsoft Office Excel 2003 Lesson 9 Using Excel with the Internet.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Word 2007 Chapter 4: Share, Compare and Document Robert Grauer, Keith.
Committed to Shaping the Next Generation of IT Experts. Exploring Microsoft Office Word 2007 Chapter 4: Share, Compare and Document Robert Grauer, Keith.
Working With Open XML Document Formats In MOSS 2007 Romeo Pruno nonaka.eu.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
1 Committed to Shaping the Next Generation of IT Experts. Chapter 8 Exchanging Data Between Access and Other Applications Exploring Microsoft Office Access.
Office Open XML Developer Workshop WordprocessingML Basics.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lab 6 Creating and Using Lists and.
McGraw-Hill Career Education© 2008 by the McGraw-Hill Companies, Inc. All Rights Reserved. Office Word 2007 Lab 3 Creating Reports and Tables.
Office Open XML Developer Workshop Custom XML Integrating data and documents.
Office Open XML Developer Workshop Office Open XML Architecture A developer’s introduction to the file formats.
Comparison of different output options from Stata
The References Tab contains tools that help users to easily create references, table of contents, indexes, captions, citations, footnotes, endnotes and.
Satisfy Your Technical Curiosity Open XML Deep Dive Doug Mahugh Technical Evangelist, Microsoft
Open XML Formats Fabio Santini.NET Developer Evangelist Microsoft Italy.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Open XML Developer Workshop WordprocessingML Basics.
HTML HyperText Markup Language. Text Files An array of bytes stored on disk Each element of the array is a text character A text editor is a user program.
Introducing XLink and XPointer ©NIITeXtensible Markup Language/Lesson 10/Slide 1 of 23 Objectives In this lesson, you will learn to: * Identify the types.
1 Word Lesson 4 Working with Graphics Microsoft Office 2010 Introductory Pasewark & Pasewark.
Web Design – Week 2 Introduction to website basics Website basics: How the Web Works Client / server architecture Packet switching URL components.
Open XML Developer Workshop Office Open XML Architecture A developer’s introduction to the file formats.
Chapter 7 Creating Templates, Importing Data, and Working with SmartArt, Images, and Screen Shots Microsoft Excel 2013.
Microsoft Excel 2007 Noris Bt. Ismail Faculty of Information and Communication Technology Tel : (Ext 8408) BCOMP0101.
Microsoft Excel Illustrated Introductory Workbooks and Preparing them for the Web Managing.
HTML Basics Text, Images, Tables, Forms. HTML Structure HTML is comprised of “elements” and “tags” – Begins with and ends with Elements (tags) are nested.
OPEN XML Developer Workshop
5.2 Microsoft Excel.
Lesson 16 Enhancing Documents
Lesson 16 Enhancing Documents
Office Open XML Formats: Enabling Solutions
Word Processing.
MS-Office It is a Software Package It contains some programs like
Course: CAT Date: November 6, 2018
Excel Spreadsheet Introduction and Terminology.
Translation Workspace File Filters
Microsoft Office Illustrated Fundamentals
Presentation transcript:

Office Open XML Developer Workshop Office Open XML Overview Štěpán Bechynský

Office Open XML Developer Workshop Open XML Specification Part 1: Fundamentals, 173 pages Part 2: Open Packaging Convention, 129 pages Part 3: Primer, 472 pages Part 4: Markup Language Reference, 5219 pages Part 5: Markup Compatibility and Extensibility, 43 pages

Office Open XML Developer Workshop Programmer View of Open XML Files ZIP Archive Document Parts XML Parts Binary Parts Typed (RFC 2616) Relationships Connections between parts Content Type Stream A specially-named stream Defines mappings from part names to content types Not itself a part, not URI addressable Folder structure for convenience only DEMO

Office Open XML Developer Workshop Files and folders – NO!Parts and relationships – YES How to think about OPC packages

Office Open XML Developer Workshop Ecma Office Open XML Specifications WordprocessingMLSpreadsheetMLPresentationML ZIPXML + Unicode DrawingML Content Types Custom XMLBibliography Markup Languages Relationships Metadata Digital Signatures VML (legacy)Equations Open Packaging Convention Core Technologies Vocabularies

Office Open XML Developer Workshop WordprocessingML Document Architecture Document body properties fontTable headers/footers images numberingDefinitions styles customXML footnotes/endnotes comments A WordprocessingML file is a collection of multiple subdocuments: The main story Header(s) / Footer(s) Footnote(s) / Endnote(s) Subdocuments Comment(s)

Office Open XML Developer Workshop Paragraph Example Simple text formatting at the paragraph/run levels: Paragraph properties specify bold (default for the entire paragraph) The quick brown fox. The quick brown fox. Run properties specify italics (override for this run)

Office Open XML Developer Workshop Images An image is a w:pict element inside a run The v:imagedata element is defined in VML: xmlns:v="urn:schemas-microsoft-com:vml" The actual image is referenced via a relationship: The relationship points to an image part in the package: <Relationship Id="rId4” Type=" Target="image1.jpg"/> <Relationship Id="rId4” Type=" Target="image1.jpg"/>

Office Open XML Developer Workshop Hyperlinks A hyperlink is nested inside a paragraph, outside a run: The destination is stored in a relationship: Click here for OpenXmlDeveloper.org. <Relationship Id=“linkRel1“ Type=" Target=" TargetMode="External" /> <Relationship Id=“linkRel1“ Type=" Target=" TargetMode="External" />

Office Open XML Developer Workshop SpreadsheetML Workbook properties table chart styles calcChain sharedStrings sheet1..N drawing

Office Open XML Developer Workshop Minimal Workbook/Worksheet workbook.xml: sheet1.xml: relationship

Office Open XML Developer Workshop Strings in SpreadsheetML Two ways a string can be stored: 1.Inline strings Provided for ease of translation/conversion Useful in XSLT scenarios Excel and other consumers may convert to shared strings 2.An entry in the shared-strings table May be either a simple string or formatted text These approaches may be mixed/combined

Office Open XML Developer Workshop Inline Strings Inline string support provides a very simple mechanism for programmatically populating a worksheet Especially useful in XSLT scenarios Excel 2007 converts to shared strings on save If you’re consuming Open XML documents, you must handle both cases: inline strings and/or shared strings To convert our shared-strings example to inline strings, just replace sheetdata: Paris Seattle London Copenhagen Paris London

Office Open XML Developer Workshop Shared Strings By default, strings are stored in a shared-strings part: Each unique string is stored once Cells store the index (0-based) of the string This design is based on analysis of typical spreadsheet contents: highly repetitive strings are very common Benefits: Users: reduced file size, improved performance Developers: all strings are in one part, simplifying search, localization, and other common string-handling objectives

Office Open XML Developer Workshop Shared Strings: example Worksheet contents: sharedStrings.xml contents: Paris Seattle London Copenhagen 6 string references, 4 unique strings Paris = string 0 0

Office Open XML Developer Workshop