line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package PDF::Builder::Outlines; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1128
|
use base 'PDF::Builder::Outline'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
884
|
|
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
13
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
35
|
|
6
|
2
|
|
|
2
|
|
9
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
74
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our $VERSION = '3.024'; # VERSION |
9
|
|
|
|
|
|
|
our $LAST_UPDATE = '3.024'; # manually update whenever code is changed |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
10
|
use PDF::Builder::Basic::PDF::Utils; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
268
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 NAME |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
PDF::Builder::Outlines - further Outline handling. Inherits from L |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=cut |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub new { |
20
|
3
|
|
|
3
|
1
|
5
|
my ($class, $api) = @_; |
21
|
|
|
|
|
|
|
|
22
|
3
|
|
|
|
|
11
|
my $self = $class->SUPER::new($api); |
23
|
3
|
|
|
|
|
6
|
$self->{'Type'} = PDFName('Outlines'); |
24
|
|
|
|
|
|
|
|
25
|
3
|
|
|
|
|
7
|
return $self; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub count { |
29
|
11
|
|
|
11
|
1
|
34
|
my $self = shift(); |
30
|
11
|
|
|
|
|
26
|
return abs($self->SUPER::count()); |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
1; |