Documentation of the UJAC print module's XML tag set.

Similar documents
INFS 2150 / 7150 Intro to Web Development / HTML Programming

Quick Reference Card Business Objects Toolbar Design Mode

Html basics Course Outline

IMY 110 Theme 7 HTML Tables

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Word Tutorial 3. Creating a Multiple- Page Report COMPREHENSIVE

Rich Text Editor Quick Reference

Create a new document based on default template, other available template like: memo, fax, agenda.

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

Fall 2016 Exam Review 3 Module Test

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development

HTML2PDF. User manual

THE HITCHHIKERS GUIDE TO HTML

Microsoft Office Excel 2013 Courses 24 Hours

APPENDIX THE TOOLBAR. File Functions

Web Design and Application Development

Chapter 4 Creating Tables in a Web Site Using an External Style Sheet

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

Chapter 4 Notes. Creating Tables in a Website

EDITOR GUIDE. Button Functions:...2 Inserting Text...4 Inserting Pictures...4 Inserting Tables...8 Inserting Styles...9

Perceptive Document Composition

Excel Select a template category in the Office.com Templates section. 5. Click the Download button.

Adding CSS to your HTML

Perceptive Document Composition

HTML & XHTML Tag Quick Reference

1 of 7 11/12/2009 9:29 AM

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

Formatting Spreadsheets in Microsoft Excel

Eng 110, Spring Week 03 Lab02- Dreamwaver Session

ADOBE 9A Adobe Dreamweaver CS4 ACE.

Dreamweaver CS3 Concepts and Techniques

Perceptive Document Composition

HTML5. HTML5 Introduction. Form Input Types. Semantic Elements. Form Attributes. Form Elements. Month Number Range Search Tel Url Time Week

Word processing software

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

CSS: The Basics CISC 282 September 20, 2014

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Lesson 19 Organizing and Enhancing Worksheets

USER GUIDE MADCAP FLARE Tables

Lecture 08. Tables in HTML. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

CSC 121 Computers and Scientific Thinking

CSS Selectors. element selectors. .class selectors. #id selectors

Excel 2003 Tutorials - Video File Attributes

General: All cells have this format by default. Numbers display as typed except that leading and trailing zeroes are deleted becomes 12.

INDEX. Access. See Database Alignment, 21, 34, 36-37, 71, 74

Additional catalogs display. Customize text size and colors.

Table of Contents. Chapter 1

Creating Web Pages with SeaMonkey Composer

[AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6

INFS 2150 Introduction to Web Development

MS Word Professional Document Alignment

INFS 2150 Introduction to Web Development

Page Layout Using Tables

Learning Map Excel 2007

Taking Fireworks Template and Applying it to Dreamweaver

Use Table Styles to format an entire table. Format a table. What do you want to do? Hide All

A Balanced Introduction to Computer Science, 3/E

Using Microsoft Word. Working With Objects

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

Output a HTML Table to file PDF use FPDF

Zen Garden. CSS Zen Garden

Appendix D CSS Properties and Values

Creating a Newsletter

Microsoft Word 2007 on Windows

The Importance of the CSS Box Model

HTML5, CSS3, JQUERY SYLLABUS

The American University in Cairo. Academic Computing Services. Word prepared by. Soumaia Ahmed Al Ayyat

Spreadsheets Microsoft Office Button Ribbon

Styles, Style Sheets, the Box Model and Liquid Layout

Table Basics. The structure of an table

Advanced Excel. Click Computer if required, then click Browse.

Spring Semester Study Guide

Excel 2007 Tutorials - Video File Attributes

TABLE OF CONTENTS. i Excel 2016 Basic

Understanding Word Processing

Excel Main Screen. Fundamental Concepts. General Keyboard Shortcuts Open a workbook Create New Save Preview and Print Close a Workbook

Word 2016: Using Section Breaks

Creating & Using Tables

Web Development & Design Foundations with HTML5

HTML + CSS. ScottyLabs WDW. Overview HTML Tags CSS Properties Resources

Quick Access Toolbar. You click on it to see these options: New, Open, Save, Save As, Print, Prepare, Send, Publish and Close.

Open and arrange windows This section covers items like: Opening another window on to a workbook Arranging workbook windows Hiding and show windows

Computer Nashua Public Library Introduction to Microsoft Word 2010

HTML-5.com itemscopehttp://data-vocabulary.org/breadcrumb<span itemprop="title">html 5</span> itemscopehttp://data-vocabulary.

Web Design and Development ACS Chapter 12. Using Tables 11/23/2017 1

Block & Inline Elements

Word Processing. Delete text: Allows you to erase characters, words, lines, or pages as easily as you can cross them out on paper.

The HOME Tab: Cut Copy Vertical Alignments

CHRIST THE KING BOYS MATRIC HR. SEC. SCHOOL, KUMBAKONAM CHAPTER 2 TEXT FORMATTING

Portage Northern High School Computer Applications * Microsoft Office 2010 Course Syllabus Mrs. Meyer

Introduction to Microsoft Word 2008

CHAPTER 4: MICROSOFT OFFICE: EXCEL 2010

Microsoft Office PowerPoint 2013 Courses 24 Hours

Web Site Design and Development Lecture 6

Working with Tables in Word 2010

Excel 2010 Tutorials - Video File Attributes

CATEGORY SKILL SET REF. TASK ITEM

Transcription:

Documentation of the UJAC print module's XML tag set. <b> tag Changes the document font by adding the 'bold' attribute to the current font. <barcode> tag Prints a barcode. type: The barcode type, supported values are: CODABAR, CODE39, CODE39EXT, INTER25, CODE128, CODE128_UCC, EAN8, PLANET, POSTNET, SUPP2, SUPP5, UPCA, UPCE. bar-width: The width of one single bar. bar-height: The height of a bar. bar-color: The bar color. text-color: The color of the text below the bar. rotate: The rotation flag. start-stop-text: The start-stop text generate-checksum: The flag deciding, whether to generate a checksum or not. baseline: If positive the text distance above the bars, if negative, the text distance below the bars. <br> tag Adds a linefeed to its parent item. <case> tag Conditional item, which evalutes its content in case the given value matches the value of the surrounding 'switch' tag. value: The value to be checked against the value of the surrounding switch item. font-def, font, i, u, b, case, foreach, default, print-table, else, if, cell, table, table-header, phrase, paragraph, footer, header, chart, set-format, resource-bundle Document tag documentation Page 1 of 11

<cell> tag Adds a cell to its surrounding table or surrounding cell. bgcolor: The cell's background color. colspan: The column span of the cell. border-style: The cell's border style (none left right top bottom box). border-width: The cell's border width. border-color: The cell's border color. halign: The cell's horizontal alignment. valign: The cell's vertical alignment. padding: The padding for all border edges. padding-left: The left padding. padding-right: The right padding. padding-top: The top padding. padding-bottom: The bottom padding. no-wrap: The no wrap flag. font, i, u, b, case, foreach, default, print-table, else, if, phrase, paragraph, cell, table, chart <cell-block> tag Declares a range of cells which have to be printed at once, If this block doesn't fit into the current page, a new page is stated before printing the block. bgcolor: Defines the default background color for the nested cells. border-style: Defines the default border type for the nested cells. border-width: Defines the default border width for the nested cells. border-color: Defines the default border color for the nested cells. padding: Defines the default padding for the nested cells. padding-left: Defines the default left padding for the nested cells. padding-right: Defines the default right padding for the nested cells. padding-top: Defines the default top padding for the nested cells. padding-bottom: Defines the default bottom padding for the nested cells. font, i, u, b, case, foreach, default, print-table, else, if, cell Document tag documentation Page 2 of 11

<cell-style> tag Specifies the style of cells for a specific row within the surrounding print-row tag. name: The name of the column to define the attributes for. bgcolor: The cell's background color. colspan: The column span of the cell. border-style: The cell's border style (none left right top bottom box). border-width: The cell's border width. border-color: The cell's border color. halign: The cell's horizontal alignment. valign: The cell's vertical alignment. padding: The padding for all border edges. padding-left: The left padding. padding-right: The right padding. padding-top: The top padding. padding-bottom: The bottom padding. no-wrap: The no wrap flag. font-def: The font definition name (see font-def item). <chart> tag Places a chart into the document. title: The title of the chart. title-font: The font to use for the chart title rendering. type: The chart type, currently supported types are 'line' and 'bar'. x: The absolute horizontal position. y: The absolute vertical position. width: The width of the chart's area. height: The height of the chart's area. halign: The horizontal alignment, valid values are left, right and center. valign: The vertical alignment, valid values are top, bottom and middle. padding: The padding for all border edges. padding-left: The left padding. padding-right: The right padding. padding-top: The top padding. padding-bottom: The bottom padding. <date-format> tag Formats the given value using the specified number format. The given number format must be specified according to the specifications of the SDK class java.text.decimalformat. format: The format string according to the definition of class java.text.decimalformat. value: The value to be formatted Document tag documentation Page 3 of 11

<default> tag Conditional item, which evalutes its content in case no occurred 'case' item matched the value of the surrounding 'switch' tag so far. font-def, font, i, u, b, case, foreach, default, print-table, else, if, cell, table, table-header, phrase, paragraph, footer, header, chart, set-format, resource-bundle <document> tag Root element of the document. size: The page size (LETTER NOTE LEGAL A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 B0 B1 B2 B3 B4 B5). width: The page-width can be used alternatively together with page-height to define a custom document size. height: The page-height can be used alternatively together with page-width to define a custom document size. rotate: The rotation flag, if true the page gets rotated 90 degrees clockwise. margin-left: The left margin. margin-right: The right margin. margin-top: The top margin. margin-bottom: The bottom margin. bgcolor: The background color. footer, header, font, i, u, b, font-def, case, foreach, default, print-table, else, if, phrase, paragraph, table, chart, set-format, resource-bundle <else> tag Conditional item, which evalutes its content in case a previous if tag's condition didn't evaluate to true. font-def, font, i, u, b, case, foreach, default, print-table, else, if, cell, table, table-header, phrase, paragraph, footer, header, chart, set-format, resource-bundle <font> tag Sets the current font for the document. You can either hardcode a font here, or use a predefined font definition (see 'font-def' item). font-def: The font definition name, use this in case you want to make use of predefined fonts (see font-def item). color: The font color. family: The font family. size: The font size. style: The font style. case, foreach, default, print-table, else, if, font, i, u, b, cell, table, table-header, phrase, paragraph, footer, header Document tag documentation Page 4 of 11

<font-def> tag Defines a font for the document, this item can be useful, if a font is used several times defined fonts can be uses by the font tag, specifying its 'font-def' attribute. name: The name of the font definition. color: The font color. family: The font family. size: The font size. style: The font style. <footer> tag Defines the footer for the document. footer-part <footer-part> tag Defines a part of the surrounding footer. bgcolor: The background color. border-style: The border style. border-width: The border width. border-color: The border color. halign: The horizontal alignment. padding-top: The padding to the top border. font, i, u, b, number-format, date-format <foreach> tag Executes the nested items for each occurrence of the specified sequence. Sequences can be everything that provides an iterator method serving an Iterator instance. loop-variable: The loop variable, holds the current value from the specified sequence. sequence: An expression evaluating to a valid sequence. Valid sequences are objects of each type that implement a public method called 'iterator()' which serves an instance that implements the interface java.util.iterator. font-def, font, i, u, b, case, foreach, default, print-table, else, if, cell, table, table-header, phrase, paragraph, footer, header, chart, set-format, resource-bundle <header> tag Defines the header for the document. header-part Document tag documentation Page 5 of 11

<header-part> tag Defines a part of the surrounding header. bgcolor: The background color. border-style: The border style. border-width: The border width. border-color: The border color. halign: The horizontal alignment. padding-bottom: The padding to the bottom border. font, i, u, b, number-format, date-format <i> tag Changes the document font by adding the 'italic' attribute to the current font. <if> tag Conditional item, which evalutes its content in case the specified condition evaluates to true. cond: The conditional expression, accoding to the definition of classorg.ujac.util.exi.expressioninterpreter. font-def, font, i, u, b, case, foreach, default, print-table, else, if, cell, table, table-header, phrase, paragraph, footer, header, chart, set-format, resource-bundle <image> tag Inserts a image into the document. Images may be places absolutely on the page or relative to its parent item. The image gets loaded by the resource loader, which is specified at the document handler. x: The horizontal position, only needed for absolute positioning. y: The vertical position, only needed for absolute positioning. width: The image width, if no height is given, the image height is scaled with the same factor to keep the image proportions. height: The image height, if no width is given, the image width is scaled with the same factor to keep the image proportions. rotate: The image rotation angle. source: The image source. <import> tag Imports a document part from an external source, this document gets loaded by the resource loader, which is specified at the document handler. source: The location of the document to import. This document is loaded using the ResourceLoader, specified at the DocumentHandler. Document tag documentation Page 6 of 11

<item> tag Adds values to the surrounding item holder. Known item holders tags are: parameter. <macro> tag Uses a document macro, this macro must have been specified previously by a 'macro-def' item. name: The name of the macro definition to use. parameter <macro-def> tag Defines a document macro block. This macro can be used in serveral parts of the document using the 'macro' item. name: The name of the macro to define. parameter-def, item, table, footer, footer-part, case, chart, foreach, import, font, i, phrase, u, resource-bundle, new-page, date-format, image, outline, barcode, parameter, switch, cell, macro-def, header, parameter-def, default, number-format, print-table, paragraph, b, space, set-property, table-split, cell-block, macro, else, cell-style, table-header, print-row, if, br, fontdef, set-format, header-part <new-page> tag Starts a new page. case, foreach, default, print-table, else, if, footer, header <number-format> tag Formats the given value using the specified number format. The given number format must be specified according to the specifications of the SDK class java.text.decimalformat. format: The format string according to the definition of class java.text.decimalformat. value: The value to be formatted <outline> tag Adds a outline to the document. <paragraph> tag Adds a paragraph to its parent item. leading: The vertically leading distance. Document tag documentation Page 7 of 11

<parameter> tag Adds a parameter to its surrounding parameter holder.this could be a macro for example. There must be a according parameter definition for each parameter. The parameter value is determined from the item's body. name: The name of the paremeter. item <parameter-def> tag Adds a parameter definition to its surrounding parameter definition holder.this could be a macro definition for example. name: The name of the paremeter. list: The list flag. optional: The optional flag. default-value: The default value, this only makes sense if the optional flag is defined as 'true'. type: The attribute type, valid types are: int(eger), float, long, double, date, string (or text) and object <phrase> tag Adds a phrase to its parent item. leading: The vertically leading distance. <print-row> tag Prints the given table row. bgcolor: The cell's background color. border-style: The cell's border style (none left right top bottom box). border-width: The cell's border width. border-color: The cell's border color. valign: The cell's vertical alignment. padding: The padding for all border edges. padding-left: The left padding. padding-right: The right padding. padding-top: The top padding. padding-bottom: The bottom padding. no-wrap: The no wrap flag. font-def: The font definition name (see font-def item). cell-style Document tag documentation Page 8 of 11

<print-table> tag Executes the nested items for each row of the specified table. Creates a table according to the column layout hints of the table. loop-variable: The loop variable, holds the current value from the specified sequence. sequence: An expression evaluating to a valid sequence. Valid sequences are objects of each type that implement a public method called 'iterator()' which serves an instance that implements the interface java.util.iterator. width: The table widths in percent. halign: The horizontal alignment of the table. bgcolor: The cell's background color. border-style: The cell's border style (none left right top bottom box). border-width: The cell's border width. border-color: The cell's border color. valign: The cell's vertical alignment. padding: The padding for all border edges. padding-left: The left padding. padding-right: The right padding. padding-top: The top padding. padding-bottom: The bottom padding. no-wrap: The no wrap flag. print-header: Tells whether to print the header row or not. font, i, u, b, font, i, u, b, case, foreach, default, print-table, else, if, cell, print-row, tableheader <resource-bundle> tag Loads a localized resource bundle through the resource loader. name: The name of the resource bundle. source: The location of the resource bundle at the resource loader. <set-format> tag Defines the output format for the given data type. type: The type for which to define the format, supported types are: int, double, Date, Time and Timestamp. format: The format for the specified type. For more info see JAVA SDK documentation for types java.text.decimalformat and java.text.simpledateformat. <set-property> tag Defines the value for a specific property. name: The name of the property to set. type: The type of the property to set, supported types are: int, long, float, double, String, Date, Time and Timestamp. value: The value to set for the property. In case of numeric or date/time values international format will be used for parsing. Document tag documentation Page 9 of 11

<space> tag Leading and trailing spaces are mostly killed by trimming the content, so if you like to explicitely print a certain amount of spaces into the document, you can do this by using this item. count: The amount of spaces to insert, default is 1. <switch> tag Specifies the value that nested 'case' items compare their value to. value: Expression serving the value to check against the nested case items. case, default <table> tag Adds a table to its parent item. Tables are very useful if you want to layout your document nicely. columns: The number of table columns. widths: The table widths, a comma separated list of percentual column widths. width: The table widths in percent. halign: The horizontal alignment of the table. bgcolor: Defines the default background color for the nested cells. border-style: Defines the default border type for the nested cells. border-width: Defines the default border width for the nested cells. border-color: Defines the default border color for the nested cells. padding: Defines the default padding for the nested cells. padding-left: Defines the default left padding for the nested cells. padding-right: Defines the default right padding for the nested cells. padding-top: Defines the default top padding for the nested cells. padding-bottom: Defines the default bottom padding for the nested cells. font, i, u, b, case, foreach, default, print-table, else, if, table-header, cell, table-split Document tag documentation Page 10 of 11

<table-header> tag Declares the header cells for the surrounding table. In case the table already contains cells, it starts a new table to make sure that only the cells defined inside its own area are repeated as header on the following pages. bgcolor: Defines the default background color for the nested cells. border-style: Defines the default border type for the nested cells. border-width: Defines the default border width for the nested cells. border-color: Defines the default border color for the nested cells. padding: Defines the default padding for the nested cells. padding-left: Defines the default left padding for the nested cells. padding-right: Defines the default right padding for the nested cells. padding-top: Defines the default top padding for the nested cells. padding-bottom: Defines the default bottom padding for the nested cells. font, i, u, b, case, foreach, default, print-table, else, if, cell <table-split> tag Splits the surrounding table. This can be useful, if you like to break up a table or want to continue the table on the next page. new-page: Flag telling whether to add a page break before continuing the table or not. keep-header: Flag telling whether to keep the currently defined header of the table or to reset the header. <u> tag Changes the document font by adding the 'underline' attribute to the current font. Document tag documentation Page 11 of 11