line |
!l |
l&&!r |
l&&r |
condition |
115
|
0 |
7 |
0 |
defined $page and ref $page ne "PDF::API2::Page" |
|
7 |
0 |
0 |
defined $page and ref $page ne "PDF::API2::Page" and ref $page ne "PDF::Builder::Page" |
161
|
0 |
0 |
13 |
$pdf and $page |
|
0 |
0 |
13 |
$pdf and $page and $data |
333
|
9 |
0 |
1 |
defined $arg{'header_props'} and ref $arg{'header_props'} eq "HASH" |
458
|
0 |
0 |
0 |
$cell_markup ne "none" and $cell_markup ne "md1" |
|
0 |
0 |
0 |
$cell_markup ne "none" and $cell_markup ne "md1" and $cell_markup ne "html" |
|
0 |
0 |
0 |
$cell_markup ne "none" and $cell_markup ne "md1" and $cell_markup ne "html" and $cell_markup ne "pre" |
|
0 |
0 |
0 |
defined $data->[$row_idx][$col_idx][1] and ref $data->[$row_idx][$col_idx][1] ne "" |
|
0 |
0 |
0 |
defined $data->[$row_idx][$col_idx][1] and ref $data->[$row_idx][$col_idx][1] ne "" and ref $data->[$row_idx][$col_idx][1] ne "ARRAY" |
|
0 |
0 |
0 |
defined $data->[$row_idx][$col_idx][2] and ref $data->[$row_idx][$col_idx][2] ne "HASH" |
485
|
23 |
24 |
3 |
not $row_idx and $do_headers |
586
|
50 |
0 |
0 |
defined $cell_max_w and defined $cell_min_w |
643
|
0 |
2 |
48 |
$cell_max_word_len > 0 and $data->[$row_idx][$col_idx] |
|
2 |
0 |
48 |
$cell_max_word_len > 0 and $data->[$row_idx][$col_idx] and ref $data->[$row_idx][$col_idx] eq "" |
718
|
9 |
9 |
1 |
not $row_idx and $do_headers |
829
|
10 |
0 |
1 |
$do_headers && $pg_cnt == 1 || $do_headers == 2 && $pg_cnt > 1 and defined $rows_height->[1] |
862
|
0 |
3 |
8 |
$ink and $h_border_w |
886
|
10 |
1 |
19 |
scalar @{$data;} and $cur_y - $rows_height->[0] > $bot_margin |
924
|
22 |
24 |
3 |
$first_row and $do_headers |
1022
|
49 |
0 |
0 |
defined $cell_max_w and defined $cell_min_w |
1139
|
0 |
48 |
1 |
$c_cell_props and $c_cell_props->{'colspan'} |
|
48 |
0 |
1 |
$c_cell_props and $c_cell_props->{'colspan'} and $c_cell_props->{'colspan'} > 1 |
1159
|
0 |
49 |
0 |
ref $content eq "" and $content eq "" |
1162
|
0 |
0 |
49 |
not $content =~ /(.\n.)/ and $data_row_widths->[$col_idx] |
|
0 |
3 |
46 |
not $content =~ /(.\n.)/ and $data_row_widths->[$col_idx] and $data_row_widths->[$col_idx] <= $actual_column_widths[$row_idx][$col_idx] |
1300
|
9 |
9 |
1 |
$first_row and $do_headers |
1325
|
32 |
0 |
18 |
defined $bg_color and not $colspanned{$row_idx . "_" . $col_idx} |
1334
|
0 |
14 |
36 |
$gfx and $cell_v_rule_w |
|
14 |
13 |
23 |
$gfx and $cell_v_rule_w and $col_idx |
|
27 |
0 |
23 |
$gfx and $cell_v_rule_w and $col_idx and not $colspanned{$row_idx . "_" . $col_idx} |
1346
|
0 |
14 |
36 |
$gfx and $cell_h_rule_w |
|
21 |
0 |
15 |
$gfx and $cell_h_rule_w and scalar @{$data;} and $cur_y - $actual_row_height - $current_min_rh > $bot_margin |
1361
|
0 |
0 |
0 |
$first_row and $do_headers |
1387
|
0 |
3 |
8 |
$gfx and $h_border_w |
1455
|
49 |
46 |
428 |
$name ne "underline" and $name ne "bg_color" |
|
95 |
46 |
382 |
$name ne "underline" and $name ne "bg_color" and $name ne "fg_color" |
|
92 |
46 |
336 |
$name ne "underline" and $name ne "bg_color" and $name ne "fg_color" and $name ne "bg_color_even" |
|
92 |
46 |
290 |
$name ne "underline" and $name ne "bg_color" and $name ne "fg_color" and $name ne "bg_color_even" and $name ne "bg_color_odd" |
|
92 |
46 |
244 |
$name ne "underline" and $name ne "bg_color" and $name ne "fg_color" and $name ne "bg_color_even" and $name ne "bg_color_odd" and $name ne "fg_color_even" |
|
92 |
46 |
198 |
$name ne "underline" and $name ne "bg_color" and $name ne "fg_color" and $name ne "bg_color_even" and $name ne "bg_color_odd" and $name ne "fg_color_even" and $name ne "fg_color_odd" |
|
92 |
99 |
99 |
$name ne "underline" and $name ne "bg_color" and $name ne "fg_color" and $name ne "bg_color_even" and $name ne "bg_color_odd" and $name ne "fg_color_even" and $name ne "fg_color_odd" and $name ne "min_w" |
|
145 |
99 |
0 |
$name ne "underline" and $name ne "bg_color" and $name ne "fg_color" and $name ne "bg_color_even" and $name ne "bg_color_odd" and $name ne "fg_color_even" and $name ne "fg_color_odd" and $name ne "min_w" and $name ne "max_w" |
|
1241 |
523 |
0 |
not defined $default and ($name ne "underline" and $name ne "bg_color" and $name ne "fg_color" and $name ne "bg_color_even" and $name ne "bg_color_odd" and $name ne "fg_color_even" and $name ne "fg_color_odd" and $name ne "min_w" and $name ne "max_w") |
1468
|
4 |
1072 |
688 |
not defined $cell_val and $fallback ne "" |
1472
|
68 |
1021 |
675 |
not defined $cell_val and $fallback ne "" |
1476
|
68 |
1021 |
675 |
not defined $cell_val and $fallback ne "" |
1480
|
101 |
988 |
675 |
not defined $cell_val and $fallback ne "" |
1572
|
0 |
0 |
3 |
defined $text and length $text > 0 |
1588
|
0 |
0 |
3 |
defined $arg{'leading'} && $arg{'leading'} > 0 |
1626
|
0 |
0 |
0 |
$arg{'parspace'} and $paragraph_number > 1 |
1638
|
1 |
3 |
0 |
$first_line and exists $arg{'hang'} |
|
1 |
3 |
0 |
$first_line and exists $arg{'flindent'} |
|
3 |
0 |
0 |
$first_line and exists $arg{'flindent'} and $arg{'flindent'} > 0 |
|
0 |
4 |
0 |
$paragraph_number == 1 and exists $arg{'fpindent'} |
|
4 |
0 |
0 |
$paragraph_number == 1 and exists $arg{'fpindent'} and $arg{'fpindent'} > 0 |
|
4 |
0 |
0 |
exists $arg{'indent'} and $arg{'indent'} > 0 |
1703
|
4 |
0 |
0 |
$align eq "justify" and @paragraph |
line |
l |
!l&&r |
!l&&!r |
condition |
74
|
0 |
7 |
0 |
ref $type || $type |
118
|
0 |
0 |
0 |
ref $self->{'pdf'} eq "PDF::API2" or ref $self->{'pdf'} eq "PDF::Builder" |
167
|
12 |
0 |
1 |
ref $pdf eq "PDF::API2" or ref $pdf eq "PDF::Builder" |
170
|
11 |
0 |
1 |
ref $page eq "PDF::API2::Page" or ref $page eq "PDF::Builder::Page" |
338
|
1 |
0 |
0 |
$header_props->{'repeat'} ||= $repeat_default |
367
|
0 |
10 |
0 |
$arg{'font'} || $pdf->corefont('Times-Roman', '-encode', 'latin1') |
369
|
3 |
7 |
0 |
$arg{'font_size'} || $font_size_default |
371
|
0 |
10 |
0 |
$arg{'leading'} || $min_leading |
379
|
0 |
8 |
2 |
$arg{'h_border_w'} || $border_w |
380
|
0 |
8 |
2 |
$arg{'v_border_w'} || $border_w |
383
|
2 |
8 |
0 |
$arg{'border_c'} || $fg_color_default |
387
|
1 |
9 |
0 |
$arg{'max_word_length'} || $max_wordlen_default |
388
|
0 |
10 |
0 |
$arg{'default_text'} || $empty_cell_text |
494
|
0 |
0 |
3 |
$header_props->{'padding_top'} || $header_props->{'padding'} |
496
|
0 |
0 |
3 |
$header_props->{'padding_right'} || $header_props->{'padding'} |
498
|
0 |
0 |
3 |
$header_props->{'padding_bottom'} || $header_props->{'padding'} |
500
|
0 |
0 |
3 |
$header_props->{'padding_left'} || $header_props->{'padding'} |
829
|
1 |
3 |
7 |
$do_headers && $pg_cnt == 1 || $do_headers == 2 && $pg_cnt > 1 |
932
|
0 |
0 |
3 |
$header_props->{'padding_top'} || $header_props->{'padding'} |
934
|
0 |
0 |
3 |
$header_props->{'padding_right'} || $header_props->{'padding'} |
936
|
0 |
0 |
3 |
$header_props->{'padding_bottom'} || $header_props->{'padding'} |
938
|
0 |
0 |
3 |
$header_props->{'padding_left'} || $header_props->{'padding'} |
1087
|
12 |
37 |
0 |
$fg_color ||= $fg_color_default |
1134
|
49 |
0 |
0 |
$data_row->[$col_idx] //= $cell_def_text |
1587
|
3 |
0 |
0 |
$arg{'font_size'} || $font_size_default |
1589
|
3 |
0 |
0 |
$line_space ||= $font_size * $leading_ratio |
1703
|
0 |
0 |
4 |
$align eq "fulljustify" or $align eq "justify" and @paragraph |