PDF Paragraphs

This is a multi-part message in MIME format.

--===============0723402520==
Content-Class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C73F2C.333EE2FE"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C73F2C.333EE2FE
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

One of the last problems I am having,



I need to make paragraphs in PDF API2, I have yet been able to get
anything to work. Nor is there any good documentation anywhere on it,
and the ones that there is do not work.



Has anyone got this feature to work and if so and you please shed some
light on it for me??



Thanks for all the Help


------_=_NextPart_001_01C73F2C.333EE2FE
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
[at] page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>One of the last problems I am =
having,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I need to make paragraphs in PDF API2, I have yet =
been able
to get anything to work. Nor is there any good documentation anywhere on =
it,
and the ones that there is do not work.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Has anyone got this feature to work and if so and you =
please
shed some light on it for me??</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'> </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks for all the Help</span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C73F2C.333EE2FE--

--===============0723402520==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============0723402520==--
Ben Eagle [ Di, 23 Januar 2007 21:22 ] [ ID #1605688 ]

RE: PDF Paragraphs

From: activeperl-bounces [at] listserv.ActiveState.com
[mailto:activeperl-bounces [at] listserv.ActiveState.com] On Behalf Of Ben
Eagle
Sent: 23 January 2007 20:22
To: perl-unix-users [at] listserv.ActiveState.com
Cc: activeperl [at] listserv.ActiveState.com
Subject: PDF Paragraphs

> One of the last problems I am having,
>
> I need to make paragraphs in PDF API2, I have yet been able to get
anything to work. Nor is there any good
> documentation anywhere on it, and the ones that there is do not work.
>
> Has anyone got this feature to work and if so and you please shed some
light on it for me??

See PDF::API2::Simple. For example:

use strict;
use warnings;
use PDF::API2::Simple;
use Text::Greeking;

my $pdf = PDF::API2::Simple->new(
file => 'output.pdf'
);

$pdf->add_font('VerdanaBold');
$pdf->add_font('Verdana');
$pdf->add_page();

my $g = Text::Greeking->new;
$g->paragraphs(1,1);

for (1..100) {
my $text = $g->generate;
$pdf->text($text, autoflow => 'on');
}

$pdf->save();

HTH

--
Brian Raven

_________________________________________

The information contained in this e-mail is confidential and solely
for the intended addressee(s). Unauthorised reproduction, disclosure,
modification, and/or distribution of this email may be unlawful. If you
have received this email in error, please notify the sender immediately
and delete it from your system. The views expressed in this message
do not necessarily reflect those of Atos Euronext Market Solutions.
_________________________________________



=================================
Atos Euronext Market Solutions Disclaimer
=================================
The information contained in this e-mail is confidential and solely for the intended addressee(s). Unauthorised reproduction, disclosure, modification, and/or distribution of this email may be unlawful.
If you have received this email in error, please notify the sender immediately and delete it from your system. The views expressed in this message do not necessarily reflect those of Atos Euronext Market Solutions.

L'information contenue dans cet e-mail est confidentielle et uniquement destinee a la (aux) personnes a laquelle (auxquelle(s)) elle est adressee. Toute copie, publication ou diffusion de cet email est interdite. Si cet e-mail vous parvient par erreur, nous vous prions de bien vouloir prevenir l'expediteur immediatement et d'effacer le e-mail et annexes jointes de votre systeme. Le contenu de ce message electronique ne represente pas necessairement la position ou le point de vue d'Atos Euronext Market Solutions.

_______________________________________________
ActivePerl mailing list
ActivePerl [at] listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Brian Raven [ Do, 25 Januar 2007 10:27 ] [ ID #1608448 ]
Perl » gmane.comp.lang.perl.active-perl » PDF Paragraphs

Vorheriges Thema: Extract fisrt frame from SWF
Nächstes Thema: Passing Variable from .pl to .pl