Help for this page

Select Code to Download


  1. or download this
        column_props => [ { justify => 'center' } ],
    
  2. or download this
        if($col_props->[$j]->{justify} eq 'right')
        {
                $space = $calc_column_widths->[$j] -($txt->advancewidth($r
    +ecord->[$j]) + $pad_right);
        }
    
  3. or download this
        if($col_props->[$j]->{justify} eq 'right')
        {
    ...
        {
                $space = ($calc_column_widths->[$j] -$txt->advancewidth($r
    +ecord->[$j])) / 2;
        }
    
  4. or download this
    sub newpage {
        my $page = $pdf->page;
    ...
    
        return $page;
    }
    
  5. or download this
        header_props => { repeat => 1 },
    
  6. or download this
        $page->gfx->textlabel(   # PDF::API2 method
            760, 15,                           # x, y
    ...
            -color => '#808080',
            -align => 'right',
        );
    
  7. or download this
    #!/usr/bin/perl
    
    ...
        my ($mon, $mday, $year) = (localtime)[4,3,5];
        return sprintf '%02d-%02d-%04d', $mon+1, $mday, $year+1900;
    }