Chicago Code Camp Leverage OOXML for Powerful Document Generation

Preview:

DESCRIPTION

 

Citation preview

www.psclistens.com

Leverage Open XML To Write Powerful Document Generation Applications

Tim MurphyTechnical Specialist

Agenda• Review Of Document Generation• What Is Open XML• How The SDK Tool Are Critical• Challenges of Word with OOXML• Challenges of PowerPoint with OOXML• Generating Word Documents

Overview Of Document Generation• Print Merge• Office Automation• Office Open XML

What Is Open XML

• Started with Office 2003• Zip packaged XML driven document

standard• ISO Standard

What Is Open XMLWord Document Structure

How The SDK Tools Are Critical• Thank you Document Reflector• The OpenXml Diff tool increases

productivity• Document Validator• OOXML Documentation

General Challenges With Document Generation• Uniquely Identify Object• Good end user experience• Consistent naming

Challenges of Word with OOXML• Identifying text in charts• Existing CustomXml functionality being

removed• Different containers for the same object

types depending on conditions

Marking Up Word Documents

• Good UI experience• Can‘t name from a list

Content Controls

Marking Up Word Documents

• Flexible and multiple uses• No UI support in 2010

CustomXml Controls

Challenges of PowerPoint w/ OOXML

• Naming slide objects• Naming slides• Identifying text• Position based organization• Different containers for each object

Marking Up Presentations

• Selection Pane• Slide Custom Tags

So Let’s See Some Real Code

Demo

Real World Results• Research Director, Inc.• Microsoft Case Study • 200 presentations, each consists of 440 slides

including 372 charts/tables

Before8 hours each

1600 hours

After10 minutes each

33 hours

ResourcesDownload OOXML SDK –http://bit.ly/4hJHg4

OpenXML Developer – http://openxmldeveloper.org/default.aspx

Eric White’s Blog - http://blogs.msdn.com/ericwhite/default.aspx

Microsoft Case Study - http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?CaseStudyID=4000005717

Thank You!Blogs –

codingthedocument.wordpress.comgeekswithblogs.net/tmurphy

Email -tmurphy@psclistens.com

Twitter –@twmurph

PSC’s websitewww.psclistens.com

Recommended