UNIBASE

Month: May 2009

  • ubxmldict

    NAME

    ubxmldict – make a data dictionary from xml definitions

    SYNOPSIS

    ubxmldict

    DESCRIPTION

    FLAGS

    FLAG ARGUMENT TYPE DESCRIPTION

    ERRORS

    EXAMPLE

    SEE ALSO

  • LINE DRAWING GRAPHICS


    ubmulti, ubprompt and ubmenu all recognise the following conventions for putting line drawing graphics on the screen:

    ‘-‘ in first coloumn. Draw a line across the screen (ubmulti only).

    ‘~’ draw a horizontal line.

    ‘|’ draw a vertical line.

    Additionally these programs will adjust the graphics to include corners, tees, crosses, etc as required.

  • INSTALLATION NOTES


    Calendar

    UNIBASE includes the open source jscalendar as a popup for date entry fields. The calendar image and popup code is included automatically for any date field.

    To make it operational you need to include a link to the jscalendar code in the htm directory of your application.

    (as root)
    # cd $UG_APP/htm
    # ln -s /usr/local/lib/jscalendar-1.0 .

    Application Layout

    UNIBASE expects applications to have the following directory structure:

    1. All applications are in the directory /usr/local/app. eg /usr/local/app/payroll
    2. dct: the data dictionary files
    3. htm: the web site (symbolically linked to the root directory of the web server as the application name.
      eg ln -s /usr/local/app/payroll/htm /var/www/html/payroll
  • PS FORMS

    NAME: PS FORMS

    DESCRIPTION:

    This is one of several XSLT transforms provided by UNIBASE. It produces paginated ps forms such as invoices.

    XML SPECIFICATION

    TAG ATTRIBUTES ELEMENTS CONTENTS
    document units height width offset-x offset-y rows cols watermark form* Container for all forms in the document
    watermark font-face font-size shade red green blue background-shade background-red background-green background-blue box* watermark to print on each page
    form name orientation font-face font-size offset-x offset-y rows cols repeat head body tail? pages of the document
    head font-face font-size box* content to put on each page
    body font-face font-size box* repeating content for pages
    tail font-face font-size box* content at end of form
    box font-face font-size llx lly urx ury border-width border-shade border-red border-green border-blue background-shade background-red background-green background-blue shade red green blue corner corner-left corner-right corner-top corner-bottom corner-ll corner-lr corner-ul corner-ur check-height check-width check-shade check-red check-green check-blue rotate line* area of text/graphics on a page
    bar width shade red green blue vertical line in a box – position in units from left side of box
    line font-face font-size shade red green blue text* image* line of text in a box
    text font-face font-size pos width align shade red green blue text to be printed
    image fade height pos width image to display
    ATTRIBUTE VALUES
    align left|center|right
    background-* set background colour of a box to shade or red/green/blue values
    blue number [0-1] – amount of blue in a colour
    border-* draw a border around a box of width points in shade or red/green/blue values
    check-* fill box with checks of height x width and colour as shade or red/green/blue values
    cols number – columns of a form on a page
    corner-* put curved corners on box of units radius
    fade number – < 1 makes image darker, > 1 makes image lighter
    font-face postscript font name
    font-size number – printing points (72 points to the inch)
    green number [0-1] – amount of green in a colour
    height number (units)
    llx number (units)
    lly number (units)
    name text
    offset-* number (units) – move whole form or document x and y from bottom left
    orientation landscape|portrait
    pos number (units) 0 – anchor position in a line (left or right depending on align)
    red number [0-1] – amount of red in a colour
    repeat number – number of times to repeat
    rotate number – degrees anti-clockwise
    rows number – rows of a form on a page
    shade number – shade of gray (0 black -< 1 white)
    units in|mm – units of measure, inches or millimetres
    urx number (units)
    ury number (units)
    width number (units)
  • ubupdate

    NAME

    ubupdate – update tables from commands

    SYNOPSIS

    ubupdate <application>

    DESCRIPTION

    FLAGS

    FLAG ARGUMENT TYPE DESCRIPTION

    ERRORS

    EXAMPLE

    SEE ALSO

  • ubtabfix

    NAME

    ubtabfix – automated table check and fix routine

    SYNOPSIS

    DESCRIPTION

    FLAGS

    FLAG ARGUMENT TYPE DESCRIPTION

    ERRORS

    EXAMPLE

    SEE ALSO

Verified by MonsterInsights