Документ взят из кэша поисковой машины. Адрес оригинального документа : http://old.hcs.cmc.msu.ru/lectures/OpenXML-2.pdf
Дата изменения: Thu Mar 20 16:56:48 2008
Дата индексирования: Mon Oct 1 20:53:02 2012
Кодировка:
OpenXML
Microsoft



OpenXML
OpenXML OpenXML







­ , XML ­ ,




,



Extensible Markup Language ­ XML
10

, ,

XML
SportsML Docbook XML :
1 2 3


OpenXML


· ·


·


·

,
·


Office
Office 2003
Breakthrough XML Support WordProcessingML, SpreadsheetML Custom-defined schema

2007 Office system Office 2000
Early Innovation XML Document Properties New XML-based Formats XML File format Default XML PowerPoint Format

Office XP
First XML Formats Spreadsheet XML

Office 97
Existing binary file formats designed in 1994, launched in Office 97


SpreadsheetML
Architecture

:

1 4

2 5

3 6


SpreadsheetML
Architecture
: XML Excel 2007 SpreadsheetML 123456

1 4
: OD - OpenOffice Calc 2.0.2

2 5

3 6

123456









Shared service oriented architecture
(fx http, XML, SOAP, W SDL, UDDI)

Documents


Open XML
: OPC . ZIP . .

-XML , .. OLE .
. .


Open XML
Office
­
ZIP Package

Document Properties

Comments


ZIP ,

W ordML / SpreadsheetML, etc.

custom XML

Images, video, sound

Embedded code / macros*



Charts



Architecture



: XML XML

­
XML

(binary images, OLE objects, VBA code, etc).



Architecture

. XML. .

.
Workbook Document Properties Application Properties Custom Doc. Props. Sh e e t 1 Sh e e t 2 Sh e e t 3 ... ... Styles Strings Chart
Relationship



Architecture

Excel 2007 Relationship Part



Architecture

Word 2007 Zip Package & File Structure


Ecma Office Open XML
Markup Languages

WordprocessingML

SpreadsheetML
Vocabularies

PresentationML

DrawingML VML (legacy)

Custom XML Metadata
Open Packaging Convention

Bibliography Equations

Relationships

Content Types
Core Technologies

Digital Signatures

ZIP

XML + Unicode


WordProcessingML
Architecture






WordProcessingML
=


­ _rels Content types XML Content Controls XML Mapping


SpreadsheetML
Architecture

SpreadsheetML


SpreadsheetML
Workbook Sheets Charts


PresentationML
Architecture

PresentationML


PresentationML
Presentation Slides Slide Content Animation




Architecture

Open XML Formats Specifications
Ecma International 5- Part 1 - Fundamentals Part 2 - Open Packaging Conventions Part 3 - Primer Part 4 - Markup Language Reference Part 5 - Markup Compatibility and Extensibility

http://www.ecma-international.org/news/TC45_current_work/TC45-200650_final_draft.htm




Architecture

XML
WordProcessingML - Office Word 2007 SpreadsheetML - Office Excel 2007 PresentationML - Office PowerPoint 2007


Default macro-free files end with `x'. Macro-enabled files end with `m'. Excel Binary Workbooks end with `b'.


ZIP Package (container) with compression. Document parts (XML & Non-XML) that define the document. Relationship parts that define the file structure. Subdirectories that help structure the document files.


Developer Scenario: Styling Content


Open XML Processing


Developer Scenario: Content Inspection

Open XML Processing

\
Open XML Processing


Development Scenario: Consuming Documents
Excel
Authoring environment (Microsoft Office, etc.)

Open XML Processing

Back-end system (LOB/CRM/etc.)


Development Scenario: Document Assembly


Web client or rich client allows user to select or enter content criteria Open XML Processing


Development Scenario: Custom XML Markup
custom

.

Authoring environment

Open XML Processing


Custom XML Data Store
Doc/Template

Customer-defined XML XML
WSS Custom XML ( XML )

Doc Parts
XML

External App

XML ( DOM) Word (client/server)


Open XML Interoperability

ZIP Library

Minizip
zLib

J2SE java.util.zip

.NET Framework 3.0 System.IO.Packaging * Xceed .NET controls .NET Framework 3.0 System.Xml

Xceed ActiveX controls

XML Library

Apache Xerces

JAXP

MSXML


For more information
www.microsoft.com/office/preview www.OpenXMLDeveloper.org www.Ecmainternational.org Blogs.msdn.com/brian_jones msdn.microsoft.com/office/xml www.microsoft.com/technet/prodtechnol/office www.microsoft.com/resources/casestudies