chicago code camp leverage ooxml for powerful document generation
DESCRIPTION
TRANSCRIPT
![Page 1: Chicago Code Camp Leverage OOXML for Powerful Document Generation](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/1.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/2.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/3.jpg)
Overview Of Document Generation• Print Merge• Office Automation• Office Open XML
![Page 4: Chicago Code Camp Leverage OOXML for Powerful Document Generation](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/4.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/5.jpg)
What Is Open XMLWord Document Structure
![Page 6: Chicago Code Camp Leverage OOXML for Powerful Document Generation](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/6.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/7.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/8.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/9.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/10.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/11.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/12.jpg)
Marking Up Presentations
• Selection Pane• Slide Custom Tags
![Page 13: Chicago Code Camp Leverage OOXML for Powerful Document Generation](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/13.jpg)
So Let’s See Some Real Code
Demo
![Page 14: Chicago Code Camp Leverage OOXML for Powerful Document Generation](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/14.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/15.jpg)
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](https://reader033.vdocument.in/reader033/viewer/2022061211/54930807b47959654d8b4750/html5/thumbnails/16.jpg)
Thank You!Blogs –
codingthedocument.wordpress.comgeekswithblogs.net/tmurphy
Email [email protected]
Twitter –@twmurph
PSC’s websitewww.psclistens.com