Working With
Open XML Document Formats
In MOSS 2007
Romeo Pruno
nonaka.eu
Agenda
 Overview
 Open XML document format
 Collaboration made in Microsoft
Overview 1/3interoperability
timeline
2002 2003 2004 2005 2006 2007 2008
intraoperabilitycompatibility
binary document
format
XML document
format
MS Office
2003
ECMA 376
Office
Open XML
ISO/IEC DIS
29500
MS Office
2003 SP3
MS Office
2007
ISO/IEC
29500
Overview 2/3
MS
Office 14
2007 2008 2009
MS
Office
2007
ECMA 376 ISO/IEC 29500
2006
SP1 SP2
ISO/IEC 29500
fully compatible
Overview 3/3
 Open XML
 Community
 http://www.openxmldeveloper.org
 SDK
 Open XML Format SDK 2.0 (CTP)
 http://www.microsoft.com/downloads/details.aspx?FamilyID=c6e744e
5-36e9-45f5-8d8c-331df206e0d0&DisplayLang=en
 License
 Open Specification promise
 http://www.microsoft.com/interop/osp/default.mspx
Agenda
 Overview
 Open XML document format
 Collaboration made in Microsoft
Open XML document format
WordprocessingML SpreadsheetML PresentationML
ZIP XML + Unicode
DrawingML
Content Types
Custom XML Bibliography
Relationships
Metadata
Document
VML (legacy) Equations
Open Packaging Convention
Core Technologies
Vocabularies
Markup Languages
Open XML document format
(OPC)
Open Packaging
Convention
Relationships
/_rels
ContentType Document
/docProps
app.xml core.xml
/word /customXML
Open XML document format
 Content Type
 [Content_Types].xml
<Types xmlns=”http://schemas.openxmlformats.org/package/2006/content-types”>
<Default Extension=”rels” ContentType=”application/
vnd.openxmlformats-package.relationships+xml” />
<Default Extension=”xml” ContentType=”application/
vnd.openxmlformats-officedocument
.wordprocessingml.document.main+xml” />
</Types>
Open XML document format
 Relationships
 /_rels/.rel
<Relationships
xmlns=”http://schemas.openxmlformats.org/package/2006/relationships”>
<Relationship Id=”rId1”
Type=”http://schemas.openxmlformats.org/
officeDocument/2006/relationships/officeDocument”
Target=”document.xml” />
</Relationships>
Open XML document format
 Document (docx)
 /docProps
 core.XML
 Title, author, date
 app.XML
 Doc properties
 /word
 .......
 /customXML
 .......
demo
Manipulating Office Open XML
Formats Documents
Programmatically
Agenda
 Overview
 Open XML document format
 Collaboration made in Microsoft
Collaboration made in Microsoft
 Microsoft Office SharePoint Server 2007
 Microsoft Office 2007
 Microsoft Office 2003
 TaskPane
 Microsoft Office XP
 Data interchange
 Microsoft Office 2000
 Alert(s)
 Network mapping
Collaboration made in Microsoft
 Microsoft Office 2007
 Enterprise Content Management
 Publishing
 Metadata & Content Type
 Workflow
 Approval
 Collect
Collaboration made in Microsoft
 Open XML
 Document Conversion Service
 http://msdn.microsoft.com/en-us/library/aa979484.aspx
 Indexing
 http://technet.microsoft.com/en-us/library/bb735129.aspx
 Custom solution
demo
Interoperability between
OXML & MOSS 2007
Working With
Open XML Document Formats
In MOSS 2007
Romeo Pruno
nonaka.eu
Q&A

Open XML & MOSS

  • 1.
    Working With Open XMLDocument Formats In MOSS 2007 Romeo Pruno nonaka.eu
  • 2.
    Agenda  Overview  OpenXML document format  Collaboration made in Microsoft
  • 3.
    Overview 1/3interoperability timeline 2002 20032004 2005 2006 2007 2008 intraoperabilitycompatibility binary document format XML document format MS Office 2003 ECMA 376 Office Open XML ISO/IEC DIS 29500 MS Office 2003 SP3 MS Office 2007 ISO/IEC 29500
  • 4.
    Overview 2/3 MS Office 14 20072008 2009 MS Office 2007 ECMA 376 ISO/IEC 29500 2006 SP1 SP2 ISO/IEC 29500 fully compatible
  • 5.
    Overview 3/3  OpenXML  Community  http://www.openxmldeveloper.org  SDK  Open XML Format SDK 2.0 (CTP)  http://www.microsoft.com/downloads/details.aspx?FamilyID=c6e744e 5-36e9-45f5-8d8c-331df206e0d0&DisplayLang=en  License  Open Specification promise  http://www.microsoft.com/interop/osp/default.mspx
  • 6.
    Agenda  Overview  OpenXML document format  Collaboration made in Microsoft
  • 7.
    Open XML documentformat WordprocessingML SpreadsheetML PresentationML ZIP XML + Unicode DrawingML Content Types Custom XML Bibliography Relationships Metadata Document VML (legacy) Equations Open Packaging Convention Core Technologies Vocabularies Markup Languages
  • 8.
    Open XML documentformat (OPC) Open Packaging Convention Relationships /_rels ContentType Document /docProps app.xml core.xml /word /customXML
  • 9.
    Open XML documentformat  Content Type  [Content_Types].xml <Types xmlns=”http://schemas.openxmlformats.org/package/2006/content-types”> <Default Extension=”rels” ContentType=”application/ vnd.openxmlformats-package.relationships+xml” /> <Default Extension=”xml” ContentType=”application/ vnd.openxmlformats-officedocument .wordprocessingml.document.main+xml” /> </Types>
  • 10.
    Open XML documentformat  Relationships  /_rels/.rel <Relationships xmlns=”http://schemas.openxmlformats.org/package/2006/relationships”> <Relationship Id=”rId1” Type=”http://schemas.openxmlformats.org/ officeDocument/2006/relationships/officeDocument” Target=”document.xml” /> </Relationships>
  • 11.
    Open XML documentformat  Document (docx)  /docProps  core.XML  Title, author, date  app.XML  Doc properties  /word  .......  /customXML  .......
  • 12.
    demo Manipulating Office OpenXML Formats Documents Programmatically
  • 13.
    Agenda  Overview  OpenXML document format  Collaboration made in Microsoft
  • 14.
    Collaboration made inMicrosoft  Microsoft Office SharePoint Server 2007  Microsoft Office 2007  Microsoft Office 2003  TaskPane  Microsoft Office XP  Data interchange  Microsoft Office 2000  Alert(s)  Network mapping
  • 15.
    Collaboration made inMicrosoft  Microsoft Office 2007  Enterprise Content Management  Publishing  Metadata & Content Type  Workflow  Approval  Collect
  • 16.
    Collaboration made inMicrosoft  Open XML  Document Conversion Service  http://msdn.microsoft.com/en-us/library/aa979484.aspx  Indexing  http://technet.microsoft.com/en-us/library/bb735129.aspx  Custom solution
  • 17.
  • 18.
    Working With Open XMLDocument Formats In MOSS 2007 Romeo Pruno nonaka.eu Q&A