doc1 overview

23
DOC1 Overview An Introduction for Programmers

Upload: artikalra

Post on 29-Nov-2014

640 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: DOC1 Overview

DOC1 Overview

An Introduction for Programmers

Page 2: DOC1 Overview

Goal

You will be able to answer questions like -What is DOC1?What are the Components of DOC1?How to code using these components?What are Inputs & Outputs for DOC1?How DOC1 works?

At the end of this session…

Page 3: DOC1 Overview

DOC1 Development Environment

DOC1 Workstations To format the statements Typically windows NT environment

DOC1 HOST To run the statements for production Typically AIX, IBM Mainframe, VMS

environments

Page 4: DOC1 Overview

What is DOC1?

DOC1 is an Electronic Document Generation ToolUsed widely in large scale business and finance applications for client communicationProduct of Group1 Software UK Ltd

Page 5: DOC1 Overview

DOC1 Installation

Begin setup from setup.exeAgree to License AgreementSelect “Workstation” and “Production Engine” componentsSelect Production Engine Components – PCE & EMFEEnter Licensing Information for EMFEEnter Licensing Information for PCEChoose Destination directoryClick Next>>…Click Finish.

Installing DOC1 is easy.

Page 6: DOC1 Overview

Components of DOC1

Data Format EditorDocument Library Manager/ Document Object EditorApplication Layout Editor

Page 7: DOC1 Overview

Build and Release

Building an application file (x.lar) produces the following set of files: X.ear X.eol X.edf

Page 8: DOC1 Overview

Using Resources in DOC1

Windows Resources True type Fonts Image files- bmp, jpeg, tiff, etc.

Native Resources Need to be converted to DOC1 format (LarMeta) using

conversion utilities

Fonts and Images are common Resources. They can be categorized as :

Page 9: DOC1 Overview

Thank You

Page 10: DOC1 Overview

Data Format Editor

Defines the structure of input data to form the basis of your applicationAccepts data in following formats: Keyed Records (identified by a key field) XML SAP

Input File extension is x.svd and formatted file extension is x.ldf

Page 11: DOC1 Overview

Defining Keyed Records

Identify Key Field for the data documentGive Description to each Record TypeIdentify Record Attributes: Indicates Start Of Document Single Iterated Key Non Compulsory Begins a range iteration Ends a range iteration

Page 12: DOC1 Overview

Record Attributes

Select Start of Document if the record represents the beginning of a new data document.Data for a single data document ends just before the next Start of Document or the end of file.

Start of Document

Page 13: DOC1 Overview

Record Attributes (contd.)

Select Single Iteration if there may be multiple instances of the same record consecutivelyThese repeated records will have the same key valueIn short, number of records for this record type can be 1 or many

Single Iteration

Page 14: DOC1 Overview

Record Attributes (contd.)

Mark those records as Non compulsory which may or may not exist in the data documentHowever, while defining the record structure, these records should exist in the sample data fileIn short, number of records for this record type can be 0 or 1

Non- Compulsory

Page 15: DOC1 Overview

Record Attributes (contd.)

Select a record type as Begins a range iteration when a range of records following this record is repeatedSelect a record type as Ends a range iteration when the repetition of a range of records endsThe number of times that the range of records may occur is 1 or many.

Range iteration

Page 16: DOC1 Overview

Record Attributes (contd.)

Start Of Document

Range Iteration

Back To Components

Page 17: DOC1 Overview

Document Library Manager

Also known as Firm Data EditorDLM is the tool used to create/ maintain document objectsDocument Objects contain the text displayed on your documentsA document object can be a single line to a complex full page designFiles created by DLM are called as Document Object Libraries having extension x.lfl

Page 18: DOC1 Overview

Document Object Library

Sections

Document Objects

contain

Page 19: DOC1 Overview

Document Object Editor (contd.)

Symbolic Links These links need to be resolved in the ALE immediately

after the Document Object by populating the Place Holders.

Global Symbolic Links No hassle of populating the Place Holders Can be resolved anytime before the Document Object is

printed using a single Action object. Stored in Global Symbolic Link Definition Files (x.lgl)

URL links To create hyperlinks to online resources when DOC1

generates web based output.

Document Objects can contain variable data (links). Links are required when the contents are resolved at runtime.

Back To Components

Page 20: DOC1 Overview

Application Layout Editor

ALE holds the processing logic for the documentIntegrates the Data Format and Document Objects into the application logicALE can also create sub documents which can be used in multiple documentsFile extensions are :– x.lar for application file and x.lsd for sub documentTwo of its most important sections are:

Document view Logic Map

Page 21: DOC1 Overview

Application Layout Editor (contd.)

Displays the contents of your document single page at a timeShows physical placement of fixed objects on the document page

Document View

Page 22: DOC1 Overview

Application Layout Editor (contd.)

Shows the sequence of events while DOC1 application executesDisplays the conditions on which various objects are printed/ hiddenResolves the links of all Document Objects

Logic Map

Page 23: DOC1 Overview

Logic Map

ActionBundleCaseConcatenationConditionConstantDocument ObjectIterationJournalKeyed Document Object

LoopRetainerRelative PositioningStealthSub Document ReferenceSubPage ControlText Substitution

It is evident that the Logic Map forms the core of DOC1 application. To understand it better, let’s explore its features:

Back To Components