Presentation is loading. Please wait.

Presentation is loading. Please wait.

© 2006 Microsoft Corporation. OpenXML et.NET Pierre Lagarde Relation.

Similar presentations


Presentation on theme: "© 2006 Microsoft Corporation. OpenXML et.NET Pierre Lagarde Relation."— Presentation transcript:

1 © 2006 Microsoft Corporation. http:// www.microsoft.com/france/msdn/office/openxml/default.mspx OpenXML et.NET Pierre Lagarde pierlag@microsoft.com Relation Technique Développeurs Microsoft France

2 © 2006 Microsoft Corporation. Open XML Interoperability Php JavaMicrosoftCOM ZIP Library pclZip.lib.php J2SE java.util.zip.NET Framework 3.0 System.IO.Packaging * Xceed.NET controls (ZIP) Xceed ActiveX controls XML Library DOMXML Php 4 DOM Php 5 JAXP.NET Framework 3.0 System.Xml MSXML * Inclus une abstraction sur le concept OPC (Open Packaging Convention)

3 © 2006 Microsoft Corporation. Open XML Formats Architecture File Container Document Properties Comments WordML / Spreadsheet ML Custom XML Embedded Code Images / Video / Sound Document Parts Presque tout est XML Chaque Part est indépendante en cas de corruption

4 © 2006 Microsoft Corporation. Open Packaging Convention Package – Le container Document Parts – Les fichiers dans le container Relationships – Relation entre les Parts Zip Parts et Relationships Open Package Specification Package (Core Properties, Preview) Les droits numériques (Information Right Management) Office 2007 Open XML Formats XPS Format de Document XML Paper Specification Formats Personnalisés

5 © 2006 Microsoft Corporation. Open Packaging Convention Propriétés du package: Category ContentType Creator Description Identifier Keywords Modified Revision lastModifiedBy Subject Title Version Natif dans l’explorateur de fichier de Vista (Démo)

6 © 2006 Microsoft Corporation. Open Packaging Convention Une Part c’est quoi ? Analogique à un fichier dans un système de fichier Stocké dans le package et accessible via une URI Stocké avec un type de contenu (Content-Type) Peut être XML, binaire ou OPC Images, sounds, video, OLE objects, OpenXML Le fichier [Content_Types].xml définie les types de média stockés dans le package <Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/> <Override PartName="/word/document.xml" ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml"/>

7 © 2006 Microsoft Corporation. Open Packaging Convention Chaque relation est typé Exemple : Ce fichier XML a un contenu ‘stylé’ avec cette Part http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles

8 © 2006 Microsoft Corporation. Framework 3.0 System.IO.Packaging Fait partie de Windows Presentation Fondation Installé avec le Framework 3.0 Directement dans Vista Framework 1.x Framework 2.0 RunTime Framework 2.0 RunTime Framework 2.0 WPF WF WCF CartSpace WPF WF WCF CartSpace Framework 3.5 (Automne 2007 ?) Framework 3.5 (Automne 2007 ?) RunTime Framework 2.0 RunTime Framework 2.0 WPF WF WCF CartSpace WPF WF WCF CartSpace Orcas Linq, Ajax, … Orcas Linq, Ajax, …

9 © 2006 Microsoft Corporation. Composants de System.IO.Packaging Les Classes: Package Package Properties PackageRelationships PackageParts Récupération des parts avec System.IO.Stream Common Package Parts Package Relationships Core Properties Digital Signatures Specific Format Parts Office Document Part Relationships XML Part Part Rels Etc… PackagePart: CompressionOpti on ContentTypePackageUriRelationshipIDPackageRelationshipTypeSourceUriTargetModeTargetUri

10 © 2006 Microsoft Corporation.


Download ppt "© 2006 Microsoft Corporation. OpenXML et.NET Pierre Lagarde Relation."

Similar presentations


Ads by Google