<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://pdf-api2-simple.redtreesystems.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://pdf-api2-simple.redtreesystems.com/feed.php">
        <title>PDF-API2-Simple</title>
        <description></description>
        <link>http://pdf-api2-simple.redtreesystems.com/</link>
        <image rdf:resource="http://pdf-api2-simple.redtreesystems.com/lib/images/favicon.ico" />
       <dc:date>2009-07-16T18:54:06-04:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://pdf-api2-simple.redtreesystems.com/doku.php?id=alignment&amp;rev=1187909428"/>
                <rdf:li rdf:resource="http://pdf-api2-simple.redtreesystems.com/doku.php?id=auto.flow&amp;rev=1187909188"/>
                <rdf:li rdf:resource="http://pdf-api2-simple.redtreesystems.com/doku.php?id=barebones&amp;rev=1247157659"/>
                <rdf:li rdf:resource="http://pdf-api2-simple.redtreesystems.com/doku.php?id=headers.footers&amp;rev=1187909347"/>
                <rdf:li rdf:resource="http://pdf-api2-simple.redtreesystems.com/doku.php?id=links&amp;rev=1187909088"/>
                <rdf:li rdf:resource="http://pdf-api2-simple.redtreesystems.com/doku.php?id=pdf-api2-simple&amp;rev=1187750093"/>
                <rdf:li rdf:resource="http://pdf-api2-simple.redtreesystems.com/doku.php?id=simple.examples&amp;rev=1187750311"/>
                <rdf:li rdf:resource="http://pdf-api2-simple.redtreesystems.com/doku.php?id=the.roadmap&amp;rev=1187750179"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://pdf-api2-simple.redtreesystems.com/lib/images/favicon.ico">
        <title>PDF-API2-Simple</title>
        <link>http://pdf-api2-simple.redtreesystems.com/</link>
        <url>http://pdf-api2-simple.redtreesystems.com/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://pdf-api2-simple.redtreesystems.com/doku.php?id=alignment&amp;rev=1187909428">
        <dc:format>text/html</dc:format>
        <dc:date>2007-08-23T18:50:28-04:00</dc:date>
        <title>alignment</title>
        <link>http://pdf-api2-simple.redtreesystems.com/doku.php?id=alignment&amp;rev=1187909428</link>
        <description>A simple alignment example:



#!/usr/bin/perl

use PDF::API2::Simple;

my $pdf = PDF::API2::Simple-&gt;new( 
                                 file =&gt; '06_alignment.pdf'
                        );

$pdf-&gt;add_font('Verdana');
$pdf-&gt;add_page();

# left align
{
  my $y = $pdf-&gt;height - 50;

  # autoflow off
  $pdf-&gt;text( 'Please align me left',
               x =&gt; $pdf-&gt;margin_left,
               y =&gt; $y,
               align =&gt; 'left',
               autoflow =&gt; 'off'
            );

  # autoflow on…</description>
    </item>
    <item rdf:about="http://pdf-api2-simple.redtreesystems.com/doku.php?id=auto.flow&amp;rev=1187909188">
        <dc:format>text/html</dc:format>
        <dc:date>2007-08-23T18:46:28-04:00</dc:date>
        <title>auto.flow</title>
        <link>http://pdf-api2-simple.redtreesystems.com/doku.php?id=auto.flow&amp;rev=1187909188</link>
        <description>Illustrates “autoflow”, or the way that text extends lines &amp; pages.


#!/usr/bin/perl

use PDF::API2::Simple;

my $pdf = PDF::API2::Simple-&gt;new( 
		  	  file =&gt; '03_autoflow.pdf',
			  line_height =&gt; 20,
			  margin_left =&gt; 5,
			  margin_top =&gt; 5,
			  margin_right =&gt; 5,
			  margin_bottom =&gt; 5
		  );

$pdf-&gt;add_font('VerdanaBold');
$pdf-&gt;add_font('Verdana');
$pdf-&gt;add_page();
	
$pdf-&gt;next_line;
	
$pdf-&gt;text( 'Demonstrating Text', 
    x =&gt; ($pdf-&gt;width / 2),
    font =&gt; 'VerdanaBold',
    …</description>
    </item>
    <item rdf:about="http://pdf-api2-simple.redtreesystems.com/doku.php?id=barebones&amp;rev=1247157659">
        <dc:format>text/html</dc:format>
        <dc:date>2009-07-09T12:40:59-04:00</dc:date>
        <title>barebones</title>
        <link>http://pdf-api2-simple.redtreesystems.com/doku.php?id=barebones&amp;rev=1247157659</link>
        <description>A very simple example


#!/usr/bin/perl

use PDF::API2::Simple;

my $pdf = PDF::API2::Simple-&gt;new( 
		  file =&gt; '01_barebones.pdf'
	  );

$pdf-&gt;add_font( 'Verdana' );
$pdf-&gt;add_page();

$pdf-&gt;save(); ##hello</description>
    </item>
    <item rdf:about="http://pdf-api2-simple.redtreesystems.com/doku.php?id=headers.footers&amp;rev=1187909347">
        <dc:format>text/html</dc:format>
        <dc:date>2007-08-23T18:49:07-04:00</dc:date>
        <title>headers.footers</title>
        <link>http://pdf-api2-simple.redtreesystems.com/doku.php?id=headers.footers&amp;rev=1187909347</link>
        <description>This example illustrates using headers and footers in a document. Note that they are defined as subroutines, and called each time they're needed.


#!/usr/bin/perl

use PDF::API2::Simple;

my $page_num = 1;
my $pdf = PDF::API2::Simple-&gt;new( 
                                  file =&gt; '04_headers.pdf',
                          header =&gt; \&amp;header,
                          footer =&gt; \&amp;footer
                          );

$pdf-&gt;add_font('VerdanaBold');
$pdf-&gt;add_font('Verdana');
$pdf-&gt;add_page();

…</description>
    </item>
    <item rdf:about="http://pdf-api2-simple.redtreesystems.com/doku.php?id=links&amp;rev=1187909088">
        <dc:format>text/html</dc:format>
        <dc:date>2007-08-23T18:44:48-04:00</dc:date>
        <title>links</title>
        <link>http://pdf-api2-simple.redtreesystems.com/doku.php?id=links&amp;rev=1187909088</link>
        <description>A small example to illustrate links in a PDF


#!/usr/bin/perl

use PDF::API2::Simple;

my $pdf = PDF::API2::Simple-&gt;new( 
		  file =&gt; '02_links.pdf'
	  );

$pdf-&gt;add_font('Verdana');
$pdf-&gt;add_page();

$pdf-&gt;link( 'http://search.cpan.org', 'A Hyperlink',
    x =&gt; ($pdf-&gt;width / 2),
    y =&gt; ($pdf-&gt;height / 2),
    align =&gt; 'left' );

$pdf-&gt;add_page();

$pdf-&gt;link( 'http://perlmonks.org', 'A fine link',
    x =&gt; ($pdf-&gt;width / 2),
    y =&gt; ($pdf-&gt;height / 2),
    align =&gt; 'center' );

$pdf-&gt;add_…</description>
    </item>
    <item rdf:about="http://pdf-api2-simple.redtreesystems.com/doku.php?id=pdf-api2-simple&amp;rev=1187750093">
        <dc:format>text/html</dc:format>
        <dc:date>2007-08-21T22:34:53-04:00</dc:date>
        <title>pdf-api2-simple</title>
        <link>http://pdf-api2-simple.redtreesystems.com/doku.php?id=pdf-api2-simple&amp;rev=1187750093</link>
        <description>PDF::API2::Simple is a perl module that wraps the PDF::API2 set of modules, resulting in a single easy-to-use interface.

Check out the POD on the subject, and feel free to add on to the site.

Simple Examples

The Roadmap</description>
    </item>
    <item rdf:about="http://pdf-api2-simple.redtreesystems.com/doku.php?id=simple.examples&amp;rev=1187750311">
        <dc:format>text/html</dc:format>
        <dc:date>2007-08-21T22:38:31-04:00</dc:date>
        <title>simple.examples</title>
        <link>http://pdf-api2-simple.redtreesystems.com/doku.php?id=simple.examples&amp;rev=1187750311</link>
        <description>Barebones

Links

Auto Flow

Headers &amp; Footers

Alignment</description>
    </item>
    <item rdf:about="http://pdf-api2-simple.redtreesystems.com/doku.php?id=the.roadmap&amp;rev=1187750179">
        <dc:format>text/html</dc:format>
        <dc:date>2007-08-21T22:36:19-04:00</dc:date>
        <title>the.roadmap</title>
        <link>http://pdf-api2-simple.redtreesystems.com/doku.php?id=the.roadmap&amp;rev=1187750179</link>
        <description>We'd like to add PDF::API2::CSS, for css-enabled layouts &amp; whatnot. That's about all the plans we have besides maintaining. You kind of wasted your time clicking this link.</description>
    </item>
</rdf:RDF>
