File Coverage

blib/lib/PDF/API3/Compat/API2/Content/Text.pm
Criterion Covered Total %
statement 20 24 83.3
branch n/a
condition n/a
subroutine 7 8 87.5
pod 1 1 100.0
total 28 33 84.8


line stmt bran cond sub pod time code
1             #=======================================================================
2             # ____ ____ _____ _ ____ ___ ____
3             # | _ \| _ \| ___| _ _ / \ | _ \_ _| |___ \
4             # | |_) | | | | |_ (_) (_) / _ \ | |_) | | __) |
5             # | __/| |_| | _| _ _ / ___ \| __/| | / __/
6             # |_| |____/|_| (_) (_) /_/ \_\_| |___| |_____|
7             #
8             # A Perl Module Chain to faciliate the Creation and Modification
9             # of High-Quality "Portable Document Format (PDF)" Files.
10             #
11             # Copyright 1999-2005 Alfred Reibenschuh .
12             #
13             #=======================================================================
14             #
15             # This library is free software; you can redistribute it and/or
16             # modify it under the terms of the GNU Lesser General Public
17             # License as published by the Free Software Foundation; either
18             # version 2 of the License, or (at your option) any later version.
19             #
20             # This library is distributed in the hope that it will be useful,
21             # but WITHOUT ANY WARRANTY; without even the implied warranty of
22             # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23             # Lesser General Public License for more details.
24             #
25             # You should have received a copy of the GNU Lesser General Public
26             # License along with this library; if not, write to the
27             # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
28             # Boston, MA 02111-1307, USA.
29             #
30             # $Id: Text.pm,v 2.0 2005/11/16 02:16:04 areibens Exp $
31             #
32             #=======================================================================
33             package PDF::API3::Compat::API2::Content::Text;
34            
35             BEGIN {
36            
37 1     1   6 use strict;
  1         2  
  1         44  
38 1     1   6 use vars qw(@ISA $VERSION);
  1         2  
  1         60  
39            
40 1     1   6 use PDF::API3::Compat::API2::Util;
  1         2  
  1         240  
41 1     1   6 use PDF::API3::Compat::API2::Basic::PDF::Utils;
  1         2  
  1         142  
42 1     1   7 use PDF::API3::Compat::API2::Content;
  1         3  
  1         87  
43            
44 1     1   24 @ISA = qw(PDF::API3::Compat::API2::Content);
45            
46 1         37 ( $VERSION ) = sprintf '%i.%03i', split(/\./,('$Revision: 2.0 $' =~ /Revision: (\S+)\s/)[0]); # $Date: 2005/11/16 02:16:04 $
47            
48             }
49 1     1   7 no warnings qw[ deprecated recursion uninitialized ];
  1         1  
  1         120  
50            
51             =head1 $txt = PDF::API3::Compat::API2::Content::Text->new @parameters
52            
53             Returns a new text content object (called from $page->text).
54            
55             =cut
56            
57             sub new {
58 0     0 1   my ($class)=@_;
59 0           my $self = $class->SUPER::new(@_);
60 0           $self->textstart;
61 0           return($self);
62             }
63            
64             1;
65            
66             __END__