| 1 | package PDF::API2::Outlines; | ||
| 2 | |||
| 3 | 2 | ▶ | use base 'PDF::API2::Outline'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 2 | our $VERSION = '2.044'; # VERSION | |
| 9 | |||
| 10 | 2 | ▶ | use PDF::API2::Basic::PDF::Utils; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | sub new { | ||
| 13 | 3 | ▶ | my ($class, $api) = @_; |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 14 | 3 | my $self = $class->SUPER::new($api); | |
| 15 | 3 | $self->{'Type'} = PDFName('Outlines'); | |
| 16 | |||
| 17 | 3 | return $self; | |
| 18 | } | ||
| 19 | |||
| 20 | sub count { | ||
| 21 | 11 | ▶ | my $self = shift(); |
|
Subroutine
count: called CC=1 SCAR=0.0
Pod
documented
| |||
| 22 | 11 | return abs($self->SUPER::count()); | |
| 23 | } | ||
| 24 | |||
| 25 | 2 | 1; | |