1, 'template_page' => 1, ), //'company_name' => array( // 'coordinates' => array( // 'x' => 57, // 'y' => 105, // 'h' => 5, // 'w' => 100, // 'halign' => 'C', // ), // 'font' => array( // 'size' => 10, // 'type' => 'B' // ), //), // //// Company Full mailing address on one line //'company_full_address' => array( // 'coordinates' => array( // 'x' => 57, // 'y' => 110, // 'h' => 5, // 'w' => 100, // 'halign' => 'C', // ), // 'font' => array( // 'size' => 10, // 'type' => '' // ), //), // Recipeints Full mailing address. 'full_address' => array( 'coordinates' => array( 'x' => 17, 'y' => 137, 'h' => 20, 'w' => 100, 'halign' => 'L', ), 'font' => array( 'size' => 10, 'type' => '' ), 'multicell' => TRUE, ), // amount words 'amount_words' => array( 'function' => array('filterAmountWords', 'drawNormal'), 'coordinates' => array( 'x' => 19, 'y' => 118, 'h' => 5, 'w' => 100, 'halign' => 'L', ), 'font' => array( 'size' => 10, 'type' => '' ) ), // amount cents 'amount_cents' => array( 'function' => array('filterAmountCents', 'drawNormal'), 'coordinates' => array( 'x' => 119, 'y' => 118, 'h' => 5, 'w' => 15, 'halign' => 'L', ), 'font' => array( 'size' => 10, 'type' => '' ) ), // date 'date' => array( 'function' => array('filterDate', 'drawNormal'), 'coordinates' => array( 'x' => 173, 'y' => 106, 'h' => 5, 'w' => 25, 'halign' => 'C', ), 'font' => array( 'size' => 10, 'type' => '' ) ), //date format label array( 'function' => array('getDisplayDateFormat', 'drawNormal'), 'coordinates' => array( 'x' => 173, 'y' => 110, 'h' => 5, 'w' => 25, 'halign' => 'C', ), 'font' => array( 'size' => 6, 'type' => '' ) ), 'alignment_grid' => array( //Print alignment grid around the dollar amount, as it usually needs most fine tuning. 'function' => array('drawAlignmentGrid'), 'coordinates' => array( 'x' => 5, 'y' => 109, 'h' => 26, 'w' => 52, ), ), // amount padded 'amount_padded' => array( 'function' => array('filterAmountPadded', 'drawNormal'), 'coordinates' => array( 'x' => 175, 'y' => 118, 'h' => 5, 'w' => 23, 'halign' => 'L', ), 'font' => array( 'size' => 10, 'type' => '' ) ), // Signature 'signature' => array( 'function' => array('drawImage'), 'coordinates' => array( 'x' => 135, 'y' => 136, 'h' => 13, 'w' => 50, ), ), // left column 'stub_left_column' => array( 'function' => 'drawPiecemeal', 'coordinates' => array( array( 'x' => 15, 'y' => 12, 'h' => 75, 'w' => 92, 'halign' => 'L', ), array( 'x' => 15, 'y' => 188, 'h' => 75, 'w' => 92, 'halign' => 'L', ), ), 'font' => array( 'size' => 10, 'type' => '' ), 'multicell' => TRUE, ), // right column 'stub_right_column' => array( 'function' => 'drawPiecemeal', 'coordinates' => array( array( 'x' => 107, 'y' => 12, 'h' => 75, 'w' => 91, 'halign' => 'R', ), array( 'x' => 107, 'y' => 188, 'h' => 75, 'w' => 91, 'halign' => 'R', ), ), 'font' => array( 'size' => 10, 'type' => '', ), 'multicell' => TRUE, ), ); if ( isset($template_schema[$name]) ) { return $name; } else { return $template_schema; } } } ?>