line |
true |
false |
branch |
91
|
0 |
0 |
if (defined $defaults{$dflt}) |
100
|
0 |
0 |
if (ref $DEFAULTS{'PageSize'} eq 'ARRAY') { } |
110
|
0 |
0 |
if (lc($DEFAULTS{'PageOrientation'}) =~ /landscape/) |
159
|
0 |
0 |
if (defined $defaults{'File'} and length $defaults{'File'}) { } |
160
|
0 |
0 |
unless $$self{'pdf'} = 'PDF::API2'->open($defaults{'File'}) |
218
|
0 |
0 |
if not defined $index or $index =~ /[^\d]/ or $index > $totpgs |
286
|
0 |
0 |
if defined $color and not length $color |
287
|
0 |
0 |
if defined $underline and not length $underline |
288
|
0 |
0 |
if defined $indent and not length $indent |
368
|
0 |
0 |
if ($align =~ /^left$|^right$|^center$/) |
401
|
0 |
0 |
unless length $text |
403
|
0 |
0 |
if $text =~ /\n/ |
404
|
0 |
0 |
unless defined $width |
410
|
0 |
0 |
if $ThisTextWidth <= $width |
418
|
0 |
0 |
if ($currentWidth + $strWidth > $width) { } |
449
|
0 |
0 |
if ($hPos =~ /^[0-9]+([.][0-9]+)?$/ and $$self{'align'} =~ /^left$/i) |
454
|
0 |
0 |
unless ($$self{'hPos'} =~ /^[0-9]+([.][0-9]+)?$/) |
455
|
0 |
0 |
if ($$self{'align'} =~ /^left$/i) { } |
|
0 |
0 |
elsif ($$self{'align'} =~ /^right$/i) { } |
|
0 |
0 |
elsif ($$self{'align'} =~ /^center$/i) { } |
467
|
0 |
0 |
if (not $textWidth =~ /^[0-9]+$/ and $$self{'align'} =~ /^left$/i) { } |
|
0 |
0 |
elsif (not $textWidth =~ /^[0-9]+$/ and $$self{'align'} =~ /^right$/i) { } |
|
0 |
0 |
elsif (not $textWidth =~ /^[0-9]+$/ and $$self{'align'} =~ /^center$/i) { } |
475
|
0 |
0 |
if ($textWidthR < $textWidth) |
480
|
0 |
0 |
if (not defined $$self{'vPos'} or $$self{'vPos'} == 0) |
485
|
0 |
0 |
unless ($text =~ /\n/) |
489
|
0 |
0 |
if (not $text =~ /\n/) { } |
496
|
0 |
0 |
if ($$self{'align'} =~ /^right$/i) { } |
|
0 |
0 |
elsif ($$self{'align'} =~ /^center$/i) { } |
503
|
0 |
0 |
if $$self{'align'} =~ /^right$/i |
504
|
0 |
0 |
if $$self{'align'} =~ /^center$/i |
512
|
0 |
0 |
if (length $text) |
515
|
0 |
0 |
if ($$self{'vPos'} - $$self{'size'} < $$self{'Ymargin'}) { } |
519
|
0 |
0 |
unless $textHeight |
848
|
0 |
0 |
if $b > $circ |
856
|
0 |
0 |
if (scalar @{$rLabels;}) |
865
|
0 |
0 |
if $self->getStringWidth($$rLabels[$_]) > $maxsize |
1009
|
0 |
0 |
if (exists $$self{'__font_cache'}{$font}) { } |
1090
|
0 |
0 |
unless exists $info{$key} and defined $info{$key} |
1091
|
0 |
0 |
if (length $info{$key} and $info{$key} ne ${$$self{'INFO'};}{$key}) |
1097
|
0 |
0 |
unless (grep /$key/, @orig_keys) |
1157
|
0 |
0 |
if (ref $callback eq 'CODE') { } |
|
0 |
0 |
elsif (defined $callback and not $callback =~ /none/i) { } |
1190
|
0 |
0 |
if $$self{'no_page_num'}[$i - 1] |
1195
|
0 |
0 |
if ($type eq 'roman') { } |