UNIBASE

Postscript / PDF Forms

PS Forms Engine: Statically Compiled Stream Rendering & Deterministic Pagination Multi-pass Matrices

1. Unibase Attribute Field Types

KeySyntax / ModifiersFunctional Behavior & Verbatim Examples
AA{R}{<dec>}<expr>Accumulator. Resets at subtotals unless R passed. balance, 10 A2 [amount]
BB<valid_chars>Boolean. Restricts string to listed upper/digits. sex, 1 BMF
CCCounter. Zero-filled sequential numeric digit blocks. line no, 3 C
DD{C}Date. Width 6 (YYMMDD). C forces Century Width 8 (CCYYMMDD). date, 8 DC
EE{<mod>}{<dec>}<expr>Expression. Math/logic loops arrays via #. sales, 10*7 E2 ([day]="#")*[sales]
FF<tbl>{<bx>}{<cmd>}[<ds>]Foreign Key. Validates target index. Modifiers: F file, C cmd, X script. cust, 6 Fcustomer [cust name]
GG<val_per_*><expr>Graphic Expression. Renders responsive charts using text * tags. perf, 10 G1000 [sales]
IIInvisible. Masks terminal screen viewport input text data into values of * characters. pass, 8 I

2. Calculations & Matrix Expressions

Calculated dynamically without physical database storage footprint. Non-procedural sorting.
Operator TokensParsing Mechanics, Precedence Frameworks & Array Rules
SQRT, EXP, LOG, LOG10Transcendental functions. Strings/Dates transform automatically when passed.
TRIG & HYPERBOLICFull execution of SIN, COS, TAN, ASIN, ACOS, ATAN, SINH, COSH, TANH matrices.
DAYExtracts date structures into fixed week offsets (0 = Sunday to 6 = Saturday).
&, |Logical bitwise AND / OR. Yields boolean 0 or 1. Short-circuits left-to-right.
+, -, *, /, ( )Arithmetic operators. Multiplication overrides logical/comparison evaluation borders.
<, <=, >=, >, =, !=, <>Comparisons. Vector check rules: "AAA"=[area] (matches any element), "AAA"<[area] (all). Inline short-circuit fork instance: ([amount]>=0)*[amount] (replaces if-then-else).
Formatting: Numbers use standard syntax (2.5). Strings use "X" or 'X'. Fields use [name]. Dates utilize @ (Century) or ~ trackers. Appending Z forces zero-suppression (blanks instead of 0).

3. ubmenu Flat File Routing Engine Layout

Compiles configuration hierarchies directly into secure interface routing matrices, applying security access thresholds before dispatching tasks:

MENU: hub  |  TITLE: “ENTERPRISE CORE SECURITY ROUTING GATEWAY”  |  SECURITY: 100
OPTION: 1  |  LABEL: “Run Ledger Matrix”  |  SECURITY: 150  |  COMMAND: run_program “$UBDIR/bin/ub_ledger”
OPTION: 2  |  LABEL: “Compile Schema Engine”  |  SECURITY: 200  |  COMMAND: run_program “$UBDIR/bin/ub_compiler”
OPTION: 3  |  LABEL: “Load Utilities Menu Tree”  |  SECURITY: 100  |  COMMAND: load_menu “$UBDIR/menu/utils.mnu”
OPTION: 4  |  LABEL: “Terminate Shell Pipeline”  |  SECURITY: 100  |  COMMAND: exit_process_thread

4. Prompted Scripts Sections Ledger (.prm)

BlockSyntax Definition MapFunctional Responsibility & Execution Context Matrix
BB T > M > B >Background Layout: Maps viewports into 9 locations via lines (>) and regions (#).
CC <tbl> <cond> >Conditions Block: Enforces dynamic data row boundaries during foreign key index reads.
FF{B|C|E|R} {k} {f} l...Function Keys: Runs commands (Default: Tcl, override via #!/bin/bash). Evaluates inputs inside [f]. Modifiers: B,C,E clear text buffer focus; R loops screen focus; I maps targets to explicit iframe/div nodes.
FR1 [user] USER NAME > #!/bin/bash who am i >
HH {name} <help> >Help Matrix: Pins structured runtime help strings to interface nodes.
MM {B} {r c} >Popup Menus: Builds responsive overlay context selectors across row/col configurations.
PP {def} > {screen} >Data Entry Core: Subsection 1 sets variable properties; Part 2 renders form layout blocks via square [field] tokens. P user, 8 #ID > UID: [user] >
SS <f> <expr> >Initialization: Forces an automated calculation write into field buffers if data is completely blank.
TT{1..6} <title>Form Title: Renders highlight headers on terminal sheets, or <h1>-<h6> markup on web layers.

5. PS Forms Structural Layout Tree

Statically compiled server-side page-breaking rendering pipeline framework:

XML TagChild Elements ArrayMatrix Processing Scope & Rendering Bounds
documentwatermark, form*Root canvas container. Dictates absolute units, dimensions, row/col grids.
formhead, body, tail?, watermarkInitializes multi-page stream scope boundaries. Handles landscape/portrait orientation.
head / tailline*, rule*, imageBinds elements systematically to the start/end margins of every page sheet.
boxbar*, line*, barcodeGroups vector properties, rules, and typography blocks inside spatial coordinates.
imagetabNoneAdvances drawing markers past the bottom tracking borders of all current images.
line / ptext*, image*, pageNumber*Horizontal typing nodes. Controls dynamic padding limits and text spacing loops.
newpageNoneFlushes the output data stream and forces a hard layout boundary shift to a fresh page.
pageNumberNoneRetrieves active runtime page loop sequence variable totals to inject them dynamically.
rule / barNoneDraws solid graphic lines across the grid via heights, point widths, shades, or RGB scales.
textPlain string valuePrints text characters. Hooks URLs via links, applies transforms, sets underlines.

Native PS Forms Engine Layout Attributes Index

alignleft|center|right text adjustments.linkAttaches hyperlinked URLs to text regions.
anchorPins images to the top or bottom of target lines.llx / llyLower-left coordinates measured from the page margin base.
background-*Sets fill color shades or red/green/blue balances.llx-even|odd...Duplex alignment offsets to compensate for print binders.
red / green / blueNumeric channel densities scaled from 0 to 1.nameStructural identifier mapping layout array objects.
border-*Draws outlines using explicit widths, gray tones, or RGB.orientationSwitches engine calculation matrix to landscape|portrait.
check-*Fills layout frames with standard x * width verification marks.orphan / orphan-heightThresholds forcing pagebreaks if remaining units are low.
cols / rowsEstablishes column/row layouts on document grids.posMeasures string positions from the margin base line.
corner-*Renders curved box perimeters matching a point radius.rgbHex colors using uppercase characters without hash marks (e.g. 008080).
fadeTransparency tweaks (values < 1 darken; > 1 lighten).rotateApplies angular vector transformations to drawing streams.
font-facePostScript text typeface family map identifier.siblingsGroups lines so they move to new pages together.
font-sizeTypographic scale calculated in points (72 points = 1 inch).topMeasures text spacing from the upper margin container.
grid-* / grid-widthGenerates background measurement grids across page axes.underline-*Customizes rule strokes under text nodes.
height / widthGeometric rule boundaries computed via native unit maps.units / urx / uryInches (in) or millimeters (mm) / Upper-right matrix paths.

All technical attributes, formatting rules, and command specifications are fully synchronized.

User Manual Index

Verified by MonsterInsights