| 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"
|
|
492
|
23 |
24 |
3 |
not $row_idx and $do_headers
|
|
593
|
50 |
0 |
0 |
defined $cell_max_w and defined $cell_min_w
|
|
650
|
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 ""
|
|
725
|
9 |
9 |
1 |
not $row_idx and $do_headers
|
|
836
|
10 |
0 |
1 |
$do_headers && $pg_cnt == 1 || $do_headers == 2 && $pg_cnt > 1 and defined $rows_height->[1]
|
|
869
|
0 |
3 |
8 |
$ink and $h_border_w
|
|
893
|
10 |
1 |
19 |
scalar @{$data;} and $cur_y - $rows_height->[0] > $bot_margin
|
|
931
|
22 |
24 |
3 |
$first_row and $do_headers
|
|
1029
|
49 |
0 |
0 |
defined $cell_max_w and defined $cell_min_w
|
|
1148
|
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
|
|
1172
|
0 |
49 |
0 |
ref $content eq "" and $content eq ""
|
|
1175
|
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]
|
|
1313
|
9 |
9 |
1 |
$first_row and $do_headers
|
|
1338
|
32 |
0 |
18 |
defined $bg_color and $bg_color ne "transparent"
|
|
|
32 |
0 |
18 |
defined $bg_color and $bg_color ne "transparent" and $bg_color ne "trans"
|
|
|
0 |
0 |
18 |
defined $bg_color and $bg_color ne "transparent" and $bg_color ne "trans" and not $colspanned{$row_idx . '_' . $col_idx}
|
|
1348
|
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}
|
|
1360
|
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
|
|
1375
|
0 |
0 |
0 |
$first_row and $do_headers
|
|
1401
|
0 |
3 |
8 |
$gfx and $h_border_w
|
|
1469
|
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")
|
|
1482
|
4 |
1072 |
688 |
not defined $cell_val and $fallback ne ""
|
|
1486
|
68 |
1021 |
675 |
not defined $cell_val and $fallback ne ""
|
|
1490
|
68 |
1021 |
675 |
not defined $cell_val and $fallback ne ""
|
|
1494
|
101 |
988 |
675 |
not defined $cell_val and $fallback ne ""
|
|
1586
|
0 |
0 |
3 |
defined $text and length $text > 0
|
|
1602
|
0 |
0 |
3 |
defined $arg{'leading'} && $arg{'leading'} > 0
|
|
1640
|
0 |
0 |
0 |
$arg{'parspace'} and $paragraph_number > 1
|
|
1652
|
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
|
|
1717
|
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
|
|
501
|
0 |
0 |
3 |
$header_props->{'padding_top'} || $header_props->{'padding'}
|
|
503
|
0 |
0 |
3 |
$header_props->{'padding_right'} || $header_props->{'padding'}
|
|
505
|
0 |
0 |
3 |
$header_props->{'padding_bottom'} || $header_props->{'padding'}
|
|
507
|
0 |
0 |
3 |
$header_props->{'padding_left'} || $header_props->{'padding'}
|
|
836
|
1 |
3 |
7 |
$do_headers && $pg_cnt == 1 || $do_headers == 2 && $pg_cnt > 1
|
|
939
|
0 |
0 |
3 |
$header_props->{'padding_top'} || $header_props->{'padding'}
|
|
941
|
0 |
0 |
3 |
$header_props->{'padding_right'} || $header_props->{'padding'}
|
|
943
|
0 |
0 |
3 |
$header_props->{'padding_bottom'} || $header_props->{'padding'}
|
|
945
|
0 |
0 |
3 |
$header_props->{'padding_left'} || $header_props->{'padding'}
|
|
1094
|
12 |
37 |
0 |
$fg_color ||= $fg_color_default
|
|
1141
|
49 |
0 |
0 |
$data_row->[$col_idx] //= $cell_def_text
|
|
1601
|
3 |
0 |
0 |
$arg{'font_size'} || $font_size_default
|
|
1603
|
3 |
0 |
0 |
$line_space ||= $font_size * $leading_ratio
|
|
1717
|
0 |
0 |
4 |
$align eq "fulljustify" or $align eq "justify" and @paragraph
|