Debian Codegraph @

README

raw
1 PDF/Reuse version 0.40
2 ======================
3
4 This module gives you a possibility to reuse PDF-files. You can use pages,
5 images, fonts and Acrobat JavaScript from old PDF-files (if they
6 were not encrypted), and rearrange the components, and add new graphics,
7 texts etc.
8
9 There is also support for graphics. In the tutorial there is a description of
10 how to transform simple PDF-pages to graphic Perl objects with the help of
11 programs based on this module.
12
13 The module is fairly fast, so it should be possible to used it for mass
14 production.
15
16 Usage e.g. for a long list:
17
18 use PDF::Reuse;
19 use strict;
20
21 # Getting customer data in some way ...
22
23 my @custData = ( { firstName => 'Anders',
24 lastName => 'Wallberg' },
25 { firstName => 'Nils',
26 lastName => 'Versen' },
27 { firstName => 'Niclas',
28 lastName => 'Lindberg' },
29
30 # and 10000 more records
31
32 { firstName => 'Sten',
33 lastName => 'Wernlund' } );
34
35 prFile('myFile.pdf');
36
37 for my $customer (@custData)
38 { prForm('letter.pdf');
39 prText(50, 750, "Dear $customer->{'firstName'}");
40 # ...
41 prPage();
42 }
43 prEnd();
44
45
46
47 INSTALLATION
48
49 perl Makefile.PL
50 make
51 make test
52 make install
53
54 In a Windows environment you will probably meed nmake or dmake instead of make.
55 (If you haven't got nmake, try to download it from Microsoft )
56
57 DEPENDENCIES
58
59 This module requires these other modules:
60
61 Carp
62 Compress::Zlib
63 Digest::MD5
64 Exporter
65 AutoLoader
66
67 If you want to use true type fonts and non-Latin1 Unicode characters you also
68 need theese optional modules
69
70 Font::TTF
71 Text::PDF::TTFont0 (Part of Text::PDF distribution)
72
73
74
75 COPYRIGHT AND LICENCE
76
77 Copyright (C) 2003 - 2004 Lars Lundberg, Solidez HB.
78 Copyright (C) 2005 - 2007 Karin Lundberg. All rights reserved.
79 Copyright (C) 2008 - 2010 Lars Lundberg, Solidez HB.
80 Copyright (C) 2010 - 2019 Chris Nighswonger.
81
82 This library is free software; you can redistribute it and/or modify
83 it under the same terms as Perl itself.
84