ONO::FW::Apps::PDF

This module offers a number of PDF-related functions used by ONO apps.

Functions

check_us_letter();

ONO::FW::Apps::PDF->check_us_letter( );
returns: $temp

end();

Close a PDF file.

ONO::FW::Apps::PDF->end( );

headers();

Print PDF file headers.

Switches:

-C alternative copyright
-E alternative copyright: evaluation
-N alternative copyright: notes
-X no copyright, no name, no date

ONO::FW::Apps::PDF->headers( $vars_ref, $title1, $title2, $title3, $copyright, $format, $switches );

new();

Create a new PDF file.

ONO::FW::Apps::PDF->new( $file, $temp, $format );

page();

Create a new PDF page.

ONO::FW::Apps::PDF->page( $temp, $format, $canvas, $vars_ref );

please_wait();

Please wait message, displayed when PDF is being generated by app.

Switches:

-i open info box / donation window (same document)
-I open info box / donation window (iframe parent)
-a app mode
-P no preview
-S display scaling warning
-v process specific vars, add to back link

ONO::FW::Apps::PDF->please_wait( $pdfkey, $BLK_ref, $vars_ref, $continue, $HTTP, $BASE, $switches );

qrfile();

Get QR code file path.

ONO::FW::Apps::PDF->qrfile( $APP, $BASE );
returns: $qrfile

self_evaluation();

Print PDF file self-evaluation boxes.

ONO::FW::Apps::PDF->self_evaluation( );

specimen();

PDF specimen message printing.

ONO::FW::Apps::PDF->specimen( $canvas, $vars_ref );

title();

Print PDF file title.

ONO::FW::Apps::PDF->title( $title, $subtitle, $code, $format );

virclass_footer();

Virtual Classroom footer.

ONO::FW::Apps::PDF->virclass_footer( $canvas, $community, $format, $conf_ref );

worksheet_maker_finalizer();

Worksheet maker helper (finalizer).

ONO::FW::Apps::PDF->worksheet_maker_finalizer( $BASE, $HTTP, $canvas, $format, $pdfkey, $year,$mon,$mday, $APP_NAMES_ref, $txt_ref, $BLK_ref, $vars_ref );
returns: $WEB

worksheet_maker_processor();

Worksheet maker helper (main processor).

ONO::FW::Apps::PDF->worksheet_maker_processor( );
returns: $RET

worksheet_maker_rand_app();

Worksheet maker helper (select random app).

ONO::FW::Apps::PDF->worksheet_maker_rand_app( );
returns: $rand_app

worksheet_maker_sel_apps();

Worksheet maker helper (select apps).

ONO::FW::Apps::PDF->worksheet_maker_sel_apps( );
returns: ($sel_app_num,\@sel_app_names)

Sub-Modules

none

Dependencies

Optional CPAN Modules

The following modules may be optional, but they are probably required for all features to work properly.

Code