You are on page 1of 23

DOC1 Overview

An Introduction for Programmers


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…
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
What is DOC1?
DOC1 is an Electronic Document
Generation Tool
Used widely in large scale business and
finance applications for client
communication
Product of Group1 Software UK Ltd
DOC1 Installation
Installing DOC1 is easy.

Begin setup from setup.exe


Agree to License Agreement
Select “Workstation” and “Production Engine” components
Select Production Engine Components – PCE & EMFE
Enter Licensing Information for EMFE
Enter Licensing Information for PCE
Choose Destination directory
Click Next>>…
Click Finish.
Components of DOC1

Data Format Editor


Document Library Manager/ Document Object
Editor
Application Layout Editor
Build and Release
Building an application file (x.lar)
produces the following set of files:
 X.ear
 X.eol
 X.edf
Using Resources in DOC1
Fonts and Images are common Resources. They can be
categorized as :

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

Native Resources
 Need to be converted to DOC1 format (LarMeta) using
conversion utilities
Thank You
Data Format Editor
Defines the structure of input data to
form the basis of your application
Accepts 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
Defining Keyed Records
Identify Key Field for the data document
Give Description to each Record Type
Identify Record Attributes:
 Indicates Start Of Document
 Single Iterated Key
 Non Compulsory
 Begins a range iteration
 Ends a range iteration
Record Attributes
Start of Document

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.
Record Attributes (contd.)
Single Iteration

Select Single Iteration if there may be


multiple instances of the same record
consecutively
These repeated records will have the same
key value
In short, number of records for this record
type can be 1 or many
Record Attributes (contd.)
Non- Compulsory

Mark those records as Non compulsory which


may or may not exist in the data document
However, while defining the record structure,
these records should exist in the sample data
file
In short, number of records for this record
type can be 0 or 1
Record Attributes (contd.)
Range iteration

Select a record type as Begins a range


iteration when a range of records following
this record is repeated
Select a record type as Ends a range iteration
when the repetition of a range of records
ends
The number of times that the range of
records may occur is 1 or many.
Record Attributes (contd.)
Start Of Document

Range Iteration

Back To Components
Document Library Manager
Also known as Firm Data Editor
DLM is the tool used to create/ maintain
document objects
Document Objects contain the text displayed
on your documents
A document object can be a single line to a
complex full page design
Files created by DLM are called as Document
Object Libraries having extension x.lfl
Document Object Library

Sections
contain
Document
Objects
Document Object Editor (contd.)
Document Objects can contain variable data (links). Links
are required when the contents are resolved at runtime.
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.
Back To Components
Application Layout Editor
ALE holds the processing logic for the document
Integrates the Data Format and Document Objects
into the application logic
ALE can also create sub documents which can be
used in multiple documents
File extensions are :– x.lar for application file and
x.lsd for sub document
Two of its most important sections are:
 Document view
 Logic Map
Application Layout Editor (contd.)
Document View

Displays the contents of your document


single page at a time
Shows physical placement of fixed objects on
the document page
Application Layout Editor (contd.)
Logic Map

Shows the sequence of events while


DOC1 application executes
Displays the conditions on which
various objects are printed/ hidden
Resolves the links of all Document
Objects
Logic Map
It is evident that the Logic Map forms the core of DOC1
application. To understand it better, let’s explore its
features:
Action Loop
Bundle Retainer
Case Relative Positioning
Concatenation Stealth
Condition
Sub Document Reference
Constant
SubPage Control
Document Object
Iteration Text Substitution
Journal
Keyed Document Object

Back To Components

You might also like