New Printing Options from RTF Charles Engelke Info Tech, Inc. Trnsport Users’ Group October 15, 2004.

Slides:



Advertisements
Similar presentations
DOCUMENT TYPES. Digital Documents Converting documents to an electronic format will preserve those documents, but how would such a process be organized?
Advertisements

Altman IM Ltd | | capture | convert | route | connect | workflow ScanPath provides enhanced scanning & document processing.
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Shortcut to Parametric Estimation via Web Trnsport Charles Engelke Info Tech, Inc.
1 XSLT – eXtensible Stylesheet Language Transformations Modified Slides from Dr. Sagiv.
Implementing Single Sourcing with XML
XSL XSLT and XPath 11-Apr-17.
Trnsport Test Suite Project Tony Compton, Texas DOT Charles Engelke, Info Tech.
DITA Everyday by Tom Rathkamp
PDF Those pesky proprietary formats: Alternatives Save the Day Sharon Trerise Northeast ADA & IT Center PPT.
 To publish information for global distribution, one needs a universally understood language, a kind of publishing mother tongue that all computers may.
TEA/TUG + ALDOT(Mobile) = H(O+I) The TEA/TUG being hosted by ALDOT in Mobile causes Hurricanes to come to Alabama. The TEA/TUG being hosted by ALDOT in.
2005 Adobe Systems Incorporated. All Rights Reserved. 1 LiveCycle Assembler 7.2.
Publishing Workflow for InDesign Import/Export of XML
Solutions for XML Document Navigation and Delivery Lori Wong and T.R. Girill Customer Services Group Services and Development Division Integrated Computing.
Lecture 5 Word Processing. ©1999 Addison Wesley Longman5.2 Text Editors Utility program for creating and modifying text files. Do not embed control characters,
The digital scholar’s workbench Ian Barnes ELPUB 2007 Vienna — 13th to 15th June 2007.
SQL Reporting Services Overview SSRS includes all the development and management pieces necessary to publish end user reports in  HTML  PDF 
AN OVERVIEW OF MAC PDF TOOLS 1. PDF Tools for Mac PDF files can be used either in Windows, Unix or Apple’s Mac OS operating system commonly. It still.
Technical Track Session XML Techie Tools Tim Bornholt.
Oracle Application Express Summary. © 2009 Oracle Corporation Oracle APEX Roadmap APEX Introduced Interactive Reports Basis for Audit Vault Reporting.
Collections Management Museums Reporting in KE EMu.
Reporting in EMu Crystal != Reporting or Why is reporting so difficult and can we do anything about it? Bernard Marshall KE Software.
HTML Overview for Proofreading. HTML layouts are divided into sections, and created in tables separating the images & content sections.
©2011 Quest Software, Inc. All rights reserved. Steve Walch, Senior Product Manager Blog: November, 2011 Partner Training Webcast.
XML, DITA and Content Repurposing By France Baril.
The Road to Pagination Steve Drucker CEO Fig Leaf Software.
Website Designing Using Ms FrontPage FrontPage 2003 Create a Web site with FrontPage.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
1 Networks and the Internet A network is a structure linking computers together for the purpose of sharing resources such as printers and files Users typically.
J2EE Web Fundamentals Lesson 1 Introduction and Overview
Create a Website on the CWU network Find “How to Post a Web Page with a PC”
Publications, design sets, web pages
15 November 2005Linking Outside the Box1 Cross referencing between XML documents Bob Stayton Sagehill Enterprises
Using Microsoft FrontPage and Visual InterDev Stephen W. Meeley Vice President Product Management.
XML Publisher How Does It Work And What Can You Do With It Paul Whitehouse.
SDPL 2002Notes 7: Apache Cocoon1 7 XML Web Site Architecture Example: Apache Cocoon, a Web publishing architecture based on XML technology
1 Oracle XML Publisher Enterprise Reporting and Delivery Steve Sako Principal Application Technology Sales Consultant Oracle USA, Inc.
Web Trnsport – Beta Testing and Implementation TUG Roundtable Discussion Elizabeth Rodgers Info Tech, Inc. October 9, 2007.
XML Publisher Business Applications Government Forms.
Peoplesoft XML Publisher Integration with PeopleTools -Jayalakshmi S.
Status and way forward with Publishing DICOM in XML Cor Loef Chair ad hoc group on Publishing DICOM in XML.
JBoss Developer Studio BIRT Plugin. BIRT - Business Intelligence and Reporting Tools. BIRT plugin for JBoss Developer Studio is an Eclipse-based open.
AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN.
CITA 330 Section 6 XSLT. Transforming XML Documents to XHTML Documents XSLT is an XML dialect which is declared under namespace "
DITA Single Source technology. What is Single Source? Single source technology is a concept of publishing documents when same content can be used in different.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
Ad Hoc Graphical Reports Ad Hoc Graphical Reports Copyright © Team #4 CSCI 6838 Spring CSCI Research Project and Seminar Team# 4 (
LATTICE TECHNOLOGY, INC. For Version 10.0 and later XVL Web Master Tutorial For Version 10.0 and later.
Practical Experiences With the Adoption of XML in Commercial Publishing Richard Kidd Neil Hunter
SAS ODS (Output Delivery System) Donald Miller 812 Oswald Tower ;
XML Steve Fisher/RAL. 20 October 2000XML - Steve Fisher/RAL2 Warning Information may not be all completely up to date.
Microsoft PowerPoint 2007 Part 5. Agenda Editing Presentation Masters Editing Notes and Handout Masters Exporting Outlines and Slides Presenting to a.
1 Chapter 7: Customizing and Organizing Project Results 7.1 Combining Results 7.2 Updating Results 7.3 Customizing the Output Style (Self-Study)
XSLT. XSLT stands for Extensible Stylesheet Language Transformations XSLT is used to transform XML documents into other kinds of documents. XSLT can produce.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
2 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. BI Publisher: Technology and Architecture.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
6 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Creating RTF Templates by Using Template Builder.
B Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Working with PDF and eText Templates.
Oracle XML Publisher Enterprise Reporting and Delivery Salim Odero Principal Sales Consultant, E-Business Suite Technology Oracle Corporation.
Munis Version 9.1 & 8.3 Sneak Peek System Administration.
This was written with the assumption that workbooks would be added. Even if these are not introduced until later, the same basic ideas apply Hopefully.
Single-Sourcing Without a CMS Leigh White (Original Presenter) Erin Sloan (Manager) Colleen Hoetjes Misys Healthcare Systems March 2006.
Long Term Preservation of Digital Data Raymond A. Lorie JCDL ‘01 June 24-28, 2001.
© 2005 KPIT Cummins Infosystems Limited We value our relationship XML Publisher Prafulla Kauthalkar RJTSB – Oracle Apps Consultant We value our relationship.
Core WG Meeting November 16th, 2017.
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Learning the Basics of Microsoft Word 2010 for Microsoft Windows
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Presentation transcript:

New Printing Options from RTF Charles Engelke Info Tech, Inc. Trnsport Users’ Group October 15, 2004

Overview Trnsport is about to get a new way to create reports –Still uses RTF –Produces “typeset” PDFs, not just text We’ll talk about –Why it happened –How it works –How it happened

Trnsport Reports Plain text files –Created with Report Template Facility (RTF) –Each licensee can customize in a supported way But users often request “pretty” reports –Like a Word document, or typeset –And plain text isn’t pretty Philippines DPWH requires pretty reports –Other licensees want to do it, too

Why Plain Text and RTF? Partly due to history –Mainframe software had limited options But also because it has great benefits –After migration to client/server, reporting architecture was kept –Provided very useful site customization facilities, maintainable and portable It does the core job very well

Some Users Chafe at Limitations They want nicer, richer printing –Font faces, styles, sizes –Page headers and footers –Cross references and tables of contents –Maybe graphics, too More than aesthetic reasons –Can increase clarity of information –Helps organize complex documents

What Can be Done About It? Change reporting architecture? –Say, to something like Crystal Reports –But would lose deep value of RTF –And would be a big undertaking Add an additional reporting architecture? –Increases complexity, hence development, support, maintenance, and deployment cost Use the existing architecture –And produce nicer printouts from text we can already generate

Desired Printing System

How Do We Get PDF from Text? Not a new problem at all Markup Tools from ’70s and ’80s –Runoff, troff; not very powerful or flexible More Modern Tools –TEX, LaTEX, DocBook SGML Proprietary Publishing Tools –Very expensive, not standardized HTML? –Good font control, but no page features –Estimator™ reporting experience was disappointing

Try XML Printing Tools Using DocBook XML for new RTF UG –Text file input and PDF output –(Also HTML, MS Help, other output available) Background material –Personal project to learn DocBook for software documentation –Notes at How about DocBook for Trnsport reports? XML file describes the document Publishing tools render the document

Sample DocBook File My Book 2003 Our Story So Far Once upon a time…

Real DocBook Examples The original XML fileoriginal XML And the rendered results in –A single HTML pagesingle HTML –Multiple linked HTML pagesMultiple linked HTML –Acrobat PDFPDF –Microsoft HTML HelpHTML Help –Microsoft Rich Text Format for WordRich Text Format

RTF to PDF via DocBook

First Try Step one was to hand-write a DocBook file to match a DPWH sample –Compare original with DocBook outputoriginalDocBook output Maybe close enough, but… –Little control over detailed formatting –Conversion was slow (30-60 seconds) –Tables didn’t render well (or at all with some batch tools) But this led to finding a better way

Second Try: Use the DocBook Infrastructure (without DocBook) Current DocBook XML to PDF conversion uses standard XML tools –XSLT converter (DocBook to XSL-FO) MSXML, Xalan, Saxon, many others available –XSL-FO processor (XSL-FO to PDF) Apache FOP, passivetex, RenderX XEP So, try skipping the first step –Have RTF generate XSL-FO directly instead of DocBook, then use XSL-FO tool to get PDF

RTF to PDF via XSL-FO

Results Were Very Encouraging Could create XSL-FO file that rendered PDF almost identical to the sample fileXSL-FO filePDFsample file –Down to different placement of “Sample” stamps on different pages! XSL-FO standard results in many XSL-FO processors being available –XEP worked best, but expensive. FOP worked well, is open source. Passivetex barely worked. Fast, accurate conversion –About 1 second with FOP or XEP

One Last Potential Refinement XSL-FO is very verbose –RTF template would be, too –So we defined a new XML dialect, and XSLT transforms to generate XSL-FO from it New XML dialect called pdfdoc –First version was called itidoc and very rough, but worked pretty well –Sample itidoc file and XSLT transform that creates the XSL-FO we sawitidoc fileXSLT transformXSL-FO we saw

Actual RTF to PDF via XSL-FO and XSLT

Next, Do This Inside Trnsport Turned out to fit into DPS architecture well –Created MakePDF.CMD file to convert XML (in OUTPUT.TXT file) to PDFMakePDF.CMD –Modified DPS jobexec.cmd to perform an optional post-processing step –Specified MakePDF.CMD in parameter file –Created RTF template to generate itidoc outputRTF template Only one actual change to existing code

Enhance Trnsport for This? Modify DPS and Batch Servers as shown in this example Modify installation to include FOP (which in turn needs Java) Add PDF viewer to clients Create a few XML RTF templates plus XSLT transforms to start things off

From Idea to Release in 2004 January –Idea to apply XML to Philippines DPWH requirement; developed proof of concept April –Presented to Trnsport Task Force –They asked “how much, and how fast”? June –Proposal delivered and approved; adds XML to PDF printing, three such reports (CES, LAS, SiteManager) December –Trnsport enhancement will be released

Example: New CES Program Summary Report List of all jobs in program with highlights Added CESPSUM process and template Process creates pdfdoc XML filepdfdoc New facility translates that to PDFPDF Available in demo room Still to do –PDF viewer in clients –Package, test, ship

Summary PDF reports coming to Trnsport this year –Based on XML using RTF The first step is not too big –And is happening now In the long term, many small enhancements will improve this more –Migrate more reports, add new ones –Enhance pdfdoc features –No large projects should be needed