16
www.psclistens.com Leverage Open XML To Write Powerful Document Generation Applications Tim Murphy Technical Specialist

Chicago Code Camp Leverage OOXML for Powerful Document Generation

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Chicago Code Camp Leverage OOXML for Powerful Document Generation

www.psclistens.com

Leverage Open XML To Write Powerful Document Generation Applications

Tim MurphyTechnical Specialist

Page 2: Chicago Code Camp Leverage OOXML for Powerful Document Generation

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

Page 3: Chicago Code Camp Leverage OOXML for Powerful Document Generation

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

Page 4: Chicago Code Camp Leverage OOXML for Powerful Document Generation

What Is Open XML

• Started with Office 2003• Zip packaged XML driven document

standard• ISO Standard

Page 5: Chicago Code Camp Leverage OOXML for Powerful Document Generation

What Is Open XMLWord Document Structure

Page 6: Chicago Code Camp Leverage OOXML for Powerful Document Generation

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

productivity• Document Validator• OOXML Documentation

Page 7: Chicago Code Camp Leverage OOXML for Powerful Document Generation

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

Page 8: Chicago Code Camp Leverage OOXML for Powerful Document Generation

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

removed• Different containers for the same object

types depending on conditions

Page 9: Chicago Code Camp Leverage OOXML for Powerful Document Generation

Marking Up Word Documents

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

Content Controls

Page 10: Chicago Code Camp Leverage OOXML for Powerful Document Generation

Marking Up Word Documents

• Flexible and multiple uses• No UI support in 2010

CustomXml Controls

Page 11: Chicago Code Camp Leverage OOXML for Powerful Document Generation

Challenges of PowerPoint w/ OOXML

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

Page 12: Chicago Code Camp Leverage OOXML for Powerful Document Generation

Marking Up Presentations

• Selection Pane• Slide Custom Tags

Page 13: Chicago Code Camp Leverage OOXML for Powerful Document Generation

So Let’s See Some Real Code

Demo

Page 14: Chicago Code Camp Leverage OOXML for Powerful Document Generation

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

Page 15: Chicago Code Camp Leverage OOXML for Powerful Document Generation

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

Page 16: Chicago Code Camp Leverage OOXML for Powerful Document Generation

Thank You!Blogs –

codingthedocument.wordpress.comgeekswithblogs.net/tmurphy

Email [email protected]

Twitter –@twmurph

PSC’s websitewww.psclistens.com