line |
true |
false |
branch |
15
|
0 |
2 |
$args->{'plugins'} ? :
|
22
|
11 |
754 |
unless ($klass)
|
36
|
140 |
0 |
@_ == 1 ? :
|
38
|
138 |
2 |
if ($self->page)
|
39
|
136 |
2 |
unless ($args{'force_new_page'})
|
41
|
0 |
136 |
if $border
|
43
|
69 |
67 |
unless $next
|
44
|
0 |
136 |
if ($border)
|
45
|
0 |
0 |
if $next
|
48
|
101 |
35 |
if $next
|
55
|
0 |
39 |
if $border
|
61
|
37 |
2 |
$self->page ? :
|
71
|
39 |
0 |
if $page->background
|
73
|
0 |
39 |
if $border
|
89
|
1 |
0 |
if ($self->cover->active)
|
94
|
1 |
0 |
if ($self->onsave_cbs)
|
106
|
1 |
0 |
@_ == 3 ? :
|
138
|
39 |
0 |
@_ == 2 ? :
|
139
|
0 |
39 |
$args{'open'} ? :
|
143
|
2 |
37 |
$args{'is_rotated'} ? :
|
166
|
3 |
0 |
@_ == 3 ? :
|
173
|
71 |
35 |
if ($self->onsave_cbs)
|
179
|
35 |
71 |
if $self->header and $self->header->active
|
180
|
35 |
71 |
if $self->footer and $self->footer->active
|
196
|
67 |
69 |
if ($self->column < $self->columns)
|
197
|
67 |
0 |
!!$self->footer->active ? :
|
199
|
33 |
34 |
$self->row_y ? :
|
206
|
34 |
35 |
if ($self->row < $self->rows)
|
207
|
34 |
0 |
$self->footer->active ? :
|
218
|
74 |
0 |
@_ == 1 ? :
|
224
|
1 |
0 |
$self->header->active ? :
|
|
1 |
0 |
$self->footer->active ? :
|
231
|
4 |
0 |
@_ == 1 ? :
|
232
|
3 |
1 |
if ($args{'cb'})
|
236
|
3 |
1 |
unless ($self->active)
|
244
|
0 |
141 |
$self->x > 100 ? :
|
|
71 |
70 |
$self->y > 100 ? :
|
252
|
35 |
35 |
if ($self->page_num_text)
|
270
|
70 |
1 |
if ($self->show_page_num)
|
277
|
1 |
0 |
@_ == 2 ? :
|
298
|
39 |
0 |
@_ == 1 ? :
|
306
|
34 |
5 |
unless not $head->active
|
314
|
39 |
0 |
@_ == 1 ? :
|
336
|
1 |
181 |
$self->can('file') ? :
|
345
|
0 |
156 |
$_ =~ /[^\d\.]/u ? :
|
348
|
620 |
142 |
$file ? :
|
355
|
671 |
7 |
$h > $page->footer->h ? :
|
|
70 |
678 |
$page->footer->saving ? :
|
|
14 |
748 |
!($page->footer && $page->footer->active) ? :
|
356
|
620 |
142 |
if ($file)
|
357
|
438 |
182 |
if ($page->columns > 1 and not $self->full)
|
363
|
438 |
182 |
if ($page->rows > 1 and not $self->full)
|
364
|
438 |
0 |
$page->header && $page->header->active ? :
|
365
|
438 |
0 |
$page->footer && $page->footer->active ? :
|
369
|
67 |
371 |
if ($page->row > 1 and $page->y == $page->row_y)
|
376
|
0 |
762 |
$xy ? :
|
379
|
0 |
447 |
if $self->margin_bottom
|
380
|
447 |
0 |
$self->can('file') ? :
|
386
|
828 |
0 |
@_ == 1 ? :
|
392
|
59 |
54 |
if (defined $_->$check and $_->$check =~ /$val/u) { }
|
|
26 |
28 |
elsif ($_->$recurse and scalar @{$_->$recurse;}) { }
|
396
|
26 |
0 |
if $val
|
412
|
107 |
0 |
@_ == 2 ? :
|
425
|
107 |
473 |
unless ($loaded->{$family})
|
437
|
2 |
0 |
@_ == 2 ? :
|
445
|
39 |
0 |
@_ == 1 ? :
|
456
|
0 |
0 |
@_ == 2 ? :
|
465
|
0 |
0 |
$self->end_position ? :
|
466
|
0 |
0 |
if ($self->dash) { }
|
|
0 |
0 |
elsif ($self->type eq 'dots') { }
|
|
0 |
0 |
elsif ($self->type eq 'dashed') { }
|
480
|
2 |
0 |
@_ == 2 ? :
|
488
|
0 |
0 |
@_ == 1 ? :
|
489
|
0 |
0 |
unless ($args{'border_top'})
|
491
|
0 |
0 |
if ($self->file->page->row > 1)
|
504
|
0 |
0 |
@_ == 1 ? :
|
537
|
2 |
0 |
@_ == 2 ? :
|
551
|
0 |
0 |
@_ == 2 ? :
|
570
|
0 |
0 |
@_ == 2 ? :
|
588
|
0 |
0 |
@_ == 2 ? :
|
622
|
1 |
0 |
@_ == 2 ? :
|
625
|
4 |
0 |
@_ == 2 ? :
|
644
|
2 |
54 |
defined $args{$_} ? :
|
651
|
580 |
0 |
@_ == 2 ? :
|
657
|
0 |
580 |
if ($columns == 1 and $self->paragraphs_to_columns)
|
673
|
580 |
0 |
if ($h >= 0 and $y >= 0)
|
675
|
446 |
4997 |
unless (scalar @paragraph)
|
676
|
446 |
0 |
unless scalar @paragraphs
|
678
|
0 |
0 |
if ($page_column)
|
684
|
0 |
0 |
if $self->paragraph_space
|
685
|
0 |
0 |
unless $ypos >= $y - $h
|
689
|
0 |
4997 |
if (not !$self->concat) { }
|
701
|
0 |
4997 |
if (not @line and @paragraph)
|
718
|
4523 |
474 |
if ($self->align eq 'fulljustify' or $self->align eq 'justify' and @paragraph) { }
|
719
|
0 |
4523 |
if (scalar @line == 1)
|
725
|
102 |
372 |
$self->align eq 'justify' ? :
|
729
|
4523 |
474 |
if ($align eq 'justify') { }
|
737
|
35 |
439 |
if ($align eq 'right') { }
|
|
70 |
369 |
elsif ($align eq 'center') { }
|
743
|
0 |
474 |
$self->no_space ? :
|
746
|
4551 |
446 |
if (@paragraph) { }
|
|
101 |
690 |
elsif ($self->pad and $line_width < $lw) { }
|
747
|
4551 |
0 |
if @paragraph
|
749
|
0 |
101 |
$self->min_width ? :
|
750
|
0 |
101 |
if ($xpos < $mw) { }
|
762
|
101 |
0 |
unless $self->no_space
|
770
|
134 |
446 |
if scalar @paragraph
|
771
|
0 |
580 |
if ($self->padding)
|
776
|
134 |
446 |
if (scalar @paragraphs and $self->next_page)
|
784
|
0 |
4997 |
if ($fl and $self->first_line_indent) { }
|
|
0 |
4997 |
elsif ($fp and $self->first_paragraph_indent) { }
|
|
59 |
4938 |
elsif ($self->indent) { }
|
799
|
0 |
580 |
$self->no_space ? :
|
804
|
89061 |
2137 |
if exists $width{$_}
|
811
|
1 |
0 |
@_ == 2 ? :
|
818
|
1 |
0 |
@_ == 2 ? :
|
825
|
1 |
0 |
@_ == 2 ? :
|
832
|
0 |
0 |
@_ == 2 ? :
|
839
|
0 |
0 |
@_ == 2 ? :
|
846
|
0 |
0 |
@_ == 2 ? :
|
853
|
0 |
0 |
@_ == 2 ? :
|
860
|
0 |
0 |
@_ == 2 ? :
|
867
|
0 |
0 |
@_ == 2 ? :
|
882
|
101 |
0 |
@_ == 3 ? :
|
912
|
0 |
505 |
$args{$_} ? :
|
916
|
101 |
0 |
@_ == 1 ? :
|
938
|
1 |
0 |
@_ == 2 ? :
|
948
|
1 |
0 |
$args{'font'} ? :
|
951
|
1 |
0 |
@_ == 1 ? :
|
962
|
101 |
0 |
@_ == 1 ? :
|
968
|
101 |
87 |
if (defined $args{$_})
|
969
|
0 |
101 |
ref $args{$_} ? :
|
979
|
60 |
41 |
if $args{'level'}
|
980
|
59 |
42 |
$outline ? :
|
981
|
59 |
42 |
if ($outline) { }
|
990
|
1 |
0 |
@_ == 1 ? :
|
997
|
1 |
0 |
$self->file->page->columns > 1 ? :
|
1027
|
1 |
0 |
@_ == 2 ? :
|
1035
|
0 |
0 |
@_ == 3 ? :
|
1040
|
1 |
0 |
@_ == 2 ? :
|
1064
|
0 |
1 |
if $width > $w
|
1065
|
0 |
1 |
if ($self->align eq 'fill') { }
|
|
0 |
1 |
elsif ($self->align eq 'right') { }
|
|
1 |
0 |
elsif ($self->align eq 'center') { }
|
1074
|
1 |
0 |
if ($height <= $h) { }
|
1079
|
0 |
0 |
if ($height > $h)
|
1094
|
0 |
0 |
@_ == 2 ? :
|
1105
|
0 |
0 |
@_ == 2 ? :
|
1109
|
0 |
0 |
@_ == 3 ? :
|
1123
|
0 |
0 |
@_ == 2 ? :
|
1128
|
0 |
0 |
@_ == 2 ? :
|
1135
|
0 |
0 |
if ($self->type eq 'number') { }
|
1154
|
0 |
0 |
@_ == 2 ? :
|
1160
|
0 |
0 |
@_ == 1 ? :
|
1161
|
0 |
0 |
if $self->acro
|
1167
|
0 |
0 |
@_ == 1 ? :
|
1183
|
0 |
0 |
@_ == 2 ? :
|
1184
|
0 |
0 |
if $args{'noconfigure'}
|
1201
|
0 |
0 |
if $self->can('configure')
|
1202
|
0 |
0 |
if $self->can('_set_rect')
|
1206
|
0 |
0 |
@_ == 1 ? :
|
1217
|
0 |
0 |
@_ == 2 ? :
|
1222
|
0 |
0 |
@_ == 1 ? :
|
1227
|
0 |
0 |
@_ == 2 ? :
|
1234
|
0 |
0 |
@_ == 1 ? :
|
1254
|
0 |
0 |
@_ == 1 ? :
|
1267
|
0 |
0 |
@_ == 2 ? :
|
1272
|
0 |
0 |
@_ == 1 ? :
|
1284
|
0 |
0 |
@_ == 1 ? :
|
1300
|
2 |
0 |
@_ == 2 ? :
|
1310
|
0 |
0 |
@_ == 2 ? :
|