-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 09, 2003 8:38 PM
To: [EMAIL PROTECTED]
Subject: iText-questions digest, Vol 1 #1476 - 10 msgs
Send iText-questions mailing list submissions to
[EMAIL PROTECTED]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/itext-questions
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of iText-questions digest..."
Today's Topics:
1. RE: Missing Content and How to shift the starting location (Raymond
Leong)
2. RE: Missing Content and How to shift the starti
ng location (Paulo Soares)
3. RE: PdfStamper fails when flattening is true (Paulo Soares)
4. RE: add metadata to existing pdf ([EMAIL PROTECTED])
5. RE: Re: [iText] - barcodes (Brook Stevens)
6. Difficulties choosing fint size (Thomas Toft Rokamp)
7. iText to add formfield to existing pdf file ([EMAIL PROTECTED])
8. RE: Difficulties choosing fint size (Paulo Soares)
9. RE: iText to add formfield to existing pdf file (Paulo Soares)
--__--__--
Message: 1
From: "Raymond Leong" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: [iText-questions] Missing Content and How to shift the starting
location
Date: Tue, 09 Sep 2003 10:11:20 +0000
stamp.setFormFlattening(true);
I had already done that. I had flatten them to output1.pdf before copying to
output.pdf. And now I realised that my form fields are flatten, but not the
rectangles and free text.
Will be reading Ch10 in the mean time.
>From: Paulo Soares <[EMAIL PROTECTED]>
>To: 'Raymond Leong' <[EMAIL PROTECTED]>,
>[EMAIL PROTECTED]
>Subject: RE: [iText-questions] Missing Content and How to shift the
>starting location
>Date: Tue, 9 Sep 2003 11:00:11 +0100
>
>
>
> > -----Original Message-----
> > From: Raymond Leong [SMTP:[EMAIL PROTECTED]
> > Sent: Tuesday, September 09, 2003 4:41
> > To: [EMAIL PROTECTED]
> > Subject: [iText-questions] Missing Content and How to shift the
> > starting location
> >
> > Hi,
> >
> >
> > I wanted to create a report in a short time. So I did the following
> > 1. Create the report in MS Words and convert it into pdf.
> > 2. Use Adobe Acrobat to add forms, some wordings and rectangles so that
>I
> > can dynamically set the values. I intend to use Adobe Acrobat for future
> > editing.
> > 3. Use PdfStamper to set the values, and save as output1.pdf
> > 4. Use PdfWriter, PdfImportedPage to move the content of output1.pdf to
>a
> > new document. From here programmatically add some phases and drawings.
> > Save
> > as output.pdf
> >
> >
> > Q1 :
> > Step 1,2,3 went well. But in step 4, output.pdf do not have the
> > wordings/drawings I made via Adobe Acrobat. Only wordings/drawings from
>MS
> >
> > Words or cut and paste from other pdf appears in the final pdf. Why did
> > loose all the changes I made via Adobe Acrobat? For your info,
>output1.pdf
> >
> > still has everything.
> >
> PdfImportedPage in PdfWriter only imports the contents not the
>interactive features. You have to flatten the fields for this to work. If
>you just want to shift the position, like in odd/even page margin
>adjustment
>other alternatives exist.
>
> > Q2 :
> > And after copying the content of output1.pdf, I want to continue add
>some
> > phases and drawings programmatically. I would like to define the
>starting
> > location to write phases and paragraphs. Right now they always starts at
> > the
> > top of a page. Any hints on how to do that?
> >
> See http://www.lowagie.com/iText/tutorial/ch10.html.
>
> Best Regards,
> Paulo Soares
>
_________________________________________________________________
Get a FREE computer virus scan online from McAfee.
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--__--__--
Message: 2
From: Paulo Soares <[EMAIL PROTECTED]>
To: 'Raymond Leong' <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Subject: RE: [iText-questions] Missing Content and How to shift the starti
ng location
Date: Tue, 9 Sep 2003 11:13:56 +0100
Flattening only works on fields.
Best Regards,
Paulo Soares
> -----Original Message-----
> From: Raymond Leong [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, September 09, 2003 11:11
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: RE: [iText-questions] Missing Content and How to shift the
> starting location
>
> stamp.setFormFlattening(true);
> I had already done that. I had flatten them to output1.pdf before copying
> to
> output.pdf. And now I realised that my form fields are flatten, but not
> the
> rectangles and free text.
>
> Will be reading Ch10 in the mean time.
>
>
> >From: Paulo Soares <[EMAIL PROTECTED]>
> >To: 'Raymond Leong' <[EMAIL PROTECTED]>,
> >[EMAIL PROTECTED]
> >Subject: RE: [iText-questions] Missing Content and How to shift the
> >starting location
> >Date: Tue, 9 Sep 2003 11:00:11 +0100
> >
> >
> >
> > > -----Original Message-----
> > > From: Raymond Leong [SMTP:[EMAIL PROTECTED]
> > > Sent: Tuesday, September 09, 2003 4:41
> > > To: [EMAIL PROTECTED]
> > > Subject: [iText-questions] Missing Content and How to shift the
> > > starting location
> > >
> > > Hi,
> > >
> > >
> > > I wanted to create a report in a short time. So I did the following
> > > 1. Create the report in MS Words and convert it into pdf.
> > > 2. Use Adobe Acrobat to add forms, some wordings and rectangles so
> that
> >I
> > > can dynamically set the values. I intend to use Adobe Acrobat for
> future
> > > editing.
> > > 3. Use PdfStamper to set the values, and save as output1.pdf
> > > 4. Use PdfWriter, PdfImportedPage to move the content of output1.pdf
> to
> >a
> > > new document. From here programmatically add some phases and drawings.
> > > Save
> > > as output.pdf
> > >
> > >
> > > Q1 :
> > > Step 1,2,3 went well. But in step 4, output.pdf do not have the
> > > wordings/drawings I made via Adobe Acrobat. Only wordings/drawings
> from
> >MS
> > >
> > > Words or cut and paste from other pdf appears in the final pdf. Why
> did
> > > loose all the changes I made via Adobe Acrobat? For your info,
> >output1.pdf
> > >
> > > still has everything.
> > >
> > PdfImportedPage in PdfWriter only imports the contents not the
> >interactive features. You have to flatten the fields for this to work. If
> >you just want to shift the position, like in odd/even page margin
> >adjustment
> >other alternatives exist.
> >
> > > Q2 :
> > > And after copying the content of output1.pdf, I want to continue add
> >some
> > > phases and drawings programmatically. I would like to define the
> >starting
> > > location to write phases and paragraphs. Right now they always starts
> at
> > > the
> > > top of a page. Any hints on how to do that?
> > >
> > See http://www.lowagie.com/iText/tutorial/ch10.html.
> >
> > Best Regards,
> > Paulo Soares
> >
>
> _________________________________________________________________
> Get a FREE computer virus scan online from McAfee.
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--__--__--
Message: 3
From: Paulo Soares <[EMAIL PROTECTED]>
To: 'Nalin Tyagi' <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Subject: RE: [iText-questions] PdfStamper fails when flattening is true
Date: Tue, 9 Sep 2003 11:14:19 +0100
It's a bug in iText. iText can't process pages without a /Contents key. The
workaround for now is to create the document with some content even if
invisible.
Best Regards,
Paulo Soares
> -----Original Message-----
> From: Nalin Tyagi [SMTP:[EMAIL PROTECTED]
> Sent: Monday, September 08, 2003 15:29
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] PdfStamper fails when flattening is true
>
> Hi All,
>
> I have a few sample PDF's in which the PDF stamping mechanism fails with a
> NULLPointer Exception while merging an FDF & a PDF.
> I am attaching the smallest PDF that it fails with from the Adobe Java FDF
> Toolkit as an example.
> the program is fdfmerge.java a sample from Paulo Soares
> <http://www.geocities.com/itextpdf>'s example's package
> I tried it with versions 0.98 .0.99 &1.00 to seek out if this is a recent
> bug( Paulo has mentioned in his change logs that in his version 114 the
> PDFStamperImp broke), but the failure is consistent across all releases.
> The failure occurs when the -f flattening option is used.
> There is another PDF that I have with which the failure is not complete
> but i see the form-field names stamped across the page in some random
> fashion. Iam not attaching that one as it's over 6 MB in size. The merging
> is flawless when flatenning is false.
> The exact error that i get is:
> "
> C:\Documents....\iTextBuild>java fdfmerge -f simple.pdf out.pdf simple.fdf
> java.lang.NullPointerException
> at com.lowagie.text.pdf.ByteBuffer.append(Unknown Source)
> at com.lowagie.text.pdf.PdfStamperImp.alterContents(Unknown
> Source)
> at com.lowagie.text.pdf.PdfStamperImp.close(Unknown Source)
> at com.lowagie.text.pdf.PdfStamper.close(Unknown Source)
> at fdfmerge.main(fdfmerge.java:40)
> "
>
>
> In case anybody else has also faced this error and a patch is available
> I'ld be grateful If you could point me in that direction. In case it is a
> problem with the specific PDF file please let me know as in that case
> I'ld fix the PDF templates.
>
> Best Regards
> enkaytee
>
>
>
>
> _____
>
> Do you Yahoo!?
> Yahoo! SiteBuilder
> <http://us.rd.yahoo.com/evt=10469/*http://sitebuilder.yahoo.com> - Free,
> easy-to-use web site design software << File: files.zip >>
--__--__--
Message: 4
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: [iText-questions] add metadata to existing pdf
Date: Tue, 9 Sep 2003 13:51:08 +0200
Hallo Paulo,
thank you very much, that helped.
Everything is working.
here is my sourcecode so other people have an example if needed.
try {
PdfReader reader = new PdfReader("in.pdf");
HashMap meta = reader.getInfo(); // the original metadata
PdfStamper stp = new PdfStamper(reader, new
FileOutputStream("out.pdf"));
meta.put(new String("Subject"),subject);
meta.put(new String("ModDate"),moddate);
meta.put(new String("Author"),author);
meta.put(new String("Keywords"),keywords);
meta.put(new String("Producer"),producer);
meta.put(new String("Title"),title);
meta.put(new String("Creator"),creator);
meta.put(new String("CreationDate"),creationdate);
stp.setMoreInfo(meta);
stp.close();
}
catch (Exception e) {
e.printStackTrace();
}
> See PdfStamper.getMoreInfo() and PdfStamper.setMoreInfo().
>
> Best Regards,
> Paulo Soares
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> > Sent: Tuesday, September 09, 2003 10:03
> > To: [EMAIL PROTECTED]
> > Subject: [iText-questions] add metadata to existing pdf
> >
> > hi.
> > I am using apache fop to create pdf files. but fop can not create meta
> > data like title author.
> > Now I would like to use iText to do that.
> > So fop creates the pdf and itext just adds metadata to existing pdf.
> >
> > Can somebody show me an example on e.g. how to add title to an existing
> > pdf.
> > I know that I probally need to save the pdf as a new pdf, that is ok.
> > I could not find an example yet.
> > Please help me.
> >
> > thank you very much.
> >
> > Phil
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > iText-questions mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
>
--__--__--
Message: 5
From: Brook Stevens <[EMAIL PROTECTED]>
To: "Wierzchowski, Marcin (PZUSA)" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: RE: [iText-questions] Re: [iText] - barcodes
Date: Tue, 9 Sep 2003 09:03:31 -0400
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C376D2.C51D5730
Content-Type: text/plain;
charset="iso-8859-1"
There is also a sourceforge project called barbecue
(http://barbecue.sourceforge.net/). Not sure if it is any good. iText
certainly has more development, better support etc etc. But it may be
better for your situation.
-Brook
> -----Original Message-----
> From: Paulo Soares [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 09, 2003 6:06 AM
> To: Wierzchowski, Marcin (PZUSA)
> Cc: [EMAIL PROTECTED]
> Subject: RE: [iText-questions] Re: [iText] - barcodes
>
>
> The version at itextpdf.sf.net supports the generation of barcode
> java.awt.Image. Look for the method createAwtImage().
>
> Best Regards,
> Paulo Soares
>
> > -----Original Message-----
> > From: Bruno [SMTP:[EMAIL PROTECTED]
> > Sent: Monday, September 08, 2003 17:31
> > To: Wierzchowski, Marcin (PZUSA)
> > Cc: [EMAIL PROTECTED]
> > Subject: [iText-questions] Re: [iText] - barcodes
> >
> > Quoting "Wierzchowski, Marcin (PZUSA)" <[EMAIL PROTECTED]>:
> >
> > > Hi!
> > >
> > > My name is Marcin Wierzchowski. I am developing a small
> Java application
> > > that needs to write barcode images (especialy Code 128
> B). I am looking
> > for
> > > some free package that can do it for me, but so far I
> cant find any free
> > > (just commercial ones). Of course I found iText which is
> free and can
> > add
> > > barcodes to its own PDF documents. Unfortunately this is
> not what I am
> > > looking for (I need barcodes on HTML/JSP pages and in the
> standalone
> > > application). So why am I disturbing you? I wonder if you
> found or know
> > any
> > > free sources or packages for dealing with barcodes. It is
> strange that I
> > > cant find any free package for some some stupid barcode
> images though
> > there
> > > is for free, so big and usefull package, like iText, that
> contains as a
> > > small part of the project, his own barcode classes. I
> would be grateful
> > if
> > > you tell me something about your barcode classes - how
> did you write
> > them
> > > or if you know any free packages that I can use.
> >
> > I don't know of free packages to generate Images of barcodes,
> > but I think there are plans to implement this in iText.
> > I'm not sure, so I am forwarding this mail to the mailinglist.
> >
> > br,
> > Bruno
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > iText-questions mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
------_=_NextPart_001_01C376D2.C51D5730
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [iText-questions] Re: [iText] - barcodes</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>There is also a sourceforge project called barbecue =
(<A HREF=3D"http://barbecue.sourceforge.net/" =
TARGET=3D"_blank">http://barbecue.sourceforge.net/</A>). Not sure =
if it is any good. iText certainly has more development, better =
support etc etc. But it may be better for your =
situation.</FONT></P>
<P><FONT SIZE=3D2>-Brook</FONT>
</P>
<P><FONT SIZE=3D2>> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> From: Paulo Soares [<A =
HREF=3D"mailto:[EMAIL PROTECTED]">mailto:[EMAIL PROTECTED]</A>]</FON=
T>
<BR><FONT SIZE=3D2>> Sent: Tuesday, September 09, 2003 6:06 =
AM</FONT>
<BR><FONT SIZE=3D2>> To: Wierzchowski, Marcin (PZUSA)</FONT>
<BR><FONT SIZE=3D2>> Cc: =
[EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>> Subject: RE: [iText-questions] Re: [iText] - =
barcodes</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> The version at itextpdf.sf.net supports the =
generation of barcode</FONT>
<BR><FONT SIZE=3D2>> java.awt.Image. Look for the method =
createAwtImage().</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Best Regards,</FONT>
<BR><FONT SIZE=3D2>> Paulo Soares</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> > -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>> > From: =
Bruno [SMTP:[EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>> > Sent: =
Monday, September 08, 2003 17:31</FONT>
<BR><FONT SIZE=3D2>> > To: Wierzchowski, Marcin (PZUSA)</FONT>
<BR><FONT SIZE=3D2>> > Cc: =
[EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>> > Subject: =
[iText-questions] Re: [iText] - barcodes</FONT>
<BR><FONT SIZE=3D2>> > </FONT>
<BR><FONT SIZE=3D2>> > Quoting "Wierzchowski, Marcin =
(PZUSA)" <[EMAIL PROTECTED]>:</FONT>
<BR><FONT SIZE=3D2>> > </FONT>
<BR><FONT SIZE=3D2>> > > Hi!</FONT>
<BR><FONT SIZE=3D2>> > > </FONT>
<BR><FONT SIZE=3D2>> > > My name is Marcin Wierzchowski. I am =
developing a small </FONT>
<BR><FONT SIZE=3D2>> Java application</FONT>
<BR><FONT SIZE=3D2>> > > that needs to write barcode images =
(especialy Code 128 </FONT>
<BR><FONT SIZE=3D2>> B). I am looking</FONT>
<BR><FONT SIZE=3D2>> > for</FONT>
<BR><FONT SIZE=3D2>> > > some free package that can do it for =
me, but so far I </FONT>
<BR><FONT SIZE=3D2>> cant find any free</FONT>
<BR><FONT SIZE=3D2>> > > (just commercial ones). Of course I =
found iText which is </FONT>
<BR><FONT SIZE=3D2>> free and can</FONT>
<BR><FONT SIZE=3D2>> > add</FONT>
<BR><FONT SIZE=3D2>> > > barcodes to its own PDF documents. =
Unfortunately this is </FONT>
<BR><FONT SIZE=3D2>> not what I am</FONT>
<BR><FONT SIZE=3D2>> > > looking for (I need barcodes on =
HTML/JSP pages and in the </FONT>
<BR><FONT SIZE=3D2>> standalone</FONT>
<BR><FONT SIZE=3D2>> > > application). So why am I disturbing =
you? I wonder if you </FONT>
<BR><FONT SIZE=3D2>> found or know</FONT>
<BR><FONT SIZE=3D2>> > any</FONT>
<BR><FONT SIZE=3D2>> > > free sources or packages for dealing =
with barcodes. It is </FONT>
<BR><FONT SIZE=3D2>> strange that I</FONT>
<BR><FONT SIZE=3D2>> > > cant find any free package for some =
some stupid barcode </FONT>
<BR><FONT SIZE=3D2>> images though</FONT>
<BR><FONT SIZE=3D2>> > there</FONT>
<BR><FONT SIZE=3D2>> > > is for free, so big and usefull =
package, like iText, that </FONT>
<BR><FONT SIZE=3D2>> contains as a</FONT>
<BR><FONT SIZE=3D2>> > > small part of the project, his own =
barcode classes. I </FONT>
<BR><FONT SIZE=3D2>> would be grateful</FONT>
<BR><FONT SIZE=3D2>> > if</FONT>
<BR><FONT SIZE=3D2>> > > you tell me something about your =
barcode classes - how </FONT>
<BR><FONT SIZE=3D2>> did you write</FONT>
<BR><FONT SIZE=3D2>> > them</FONT>
<BR><FONT SIZE=3D2>> > > or if you know any free packages that =
I can use.</FONT>
<BR><FONT SIZE=3D2>> > </FONT>
<BR><FONT SIZE=3D2>> > I don't know of free packages to generate =
Images of barcodes,</FONT>
<BR><FONT SIZE=3D2>> > but I think there are plans to implement =
this in iText.</FONT>
<BR><FONT SIZE=3D2>> > I'm not sure, so I am forwarding this mail =
to the mailinglist.</FONT>
<BR><FONT SIZE=3D2>> > </FONT>
<BR><FONT SIZE=3D2>> > br,</FONT>
<BR><FONT SIZE=3D2>> > Bruno</FONT>
<BR><FONT SIZE=3D2>> > </FONT>
<BR><FONT SIZE=3D2>> > </FONT>
<BR><FONT SIZE=3D2>> > =
-------------------------------------------------------</FONT>
<BR><FONT SIZE=3D2>> > This sf.net email is sponsored =
by:ThinkGeek</FONT>
<BR><FONT SIZE=3D2>> > Welcome to geek heaven.</FONT>
<BR><FONT SIZE=3D2>> > <A HREF=3D"http://thinkgeek.com/sf" =
TARGET=3D"_blank">http://thinkgeek.com/sf</A></FONT>
<BR><FONT SIZE=3D2>> > =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>> > iText-questions mailing list</FONT>
<BR><FONT SIZE=3D2>> > =
[EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>> > <A =
HREF=3D"https://lists.sourceforge.net/lists/listinfo/itext-questions" =
TARGET=3D"_blank">https://lists.sourceforge.net/lists/listinfo/itext-que=
stions</A></FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> =
-------------------------------------------------------</FONT>
<BR><FONT SIZE=3D2>> This sf.net email is sponsored =
by:ThinkGeek</FONT>
<BR><FONT SIZE=3D2>> Welcome to geek heaven.</FONT>
<BR><FONT SIZE=3D2>> <A HREF=3D"http://thinkgeek.com/sf" =
TARGET=3D"_blank">http://thinkgeek.com/sf</A></FONT>
<BR><FONT SIZE=3D2>> =
_______________________________________________</FONT>
<BR><FONT SIZE=3D2>> iText-questions mailing list</FONT>
<BR><FONT SIZE=3D2>> [EMAIL PROTECTED]</FONT>
<BR><FONT SIZE=3D2>> <A =
HREF=3D"https://lists.sourceforge.net/lists/listinfo/itext-questions" =
TARGET=3D"_blank">https://lists.sourceforge.net/lists/listinfo/itext-que=
stions</A></FONT>
<BR><FONT SIZE=3D2>> </FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C376D2.C51D5730--
--__--__--
Message: 6
Date: Tue, 9 Sep 2003 15:38:11 +0200
From: "Thomas Toft Rokamp" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: [iText-questions] Difficulties choosing fint size
Hi!
No matter what I do, all my text is displayed with a fontsize of
12.0f...
I have no example to give at this moment, but if someone could show me
one simple example of writing some text with fontsize 9.0f, to the
PdfContentByte, I would be really happy...
If required, I will produce an example of my code, so you can see what's
wrong.
Thanks in advance,=20
Thomas Rokamp
--__--__--
Message: 7
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Tue, 9 Sep 2003 15:53:46 +0200
Subject: [iText-questions] iText to add formfield to existing pdf file
Hi.
Well this mailinglist is great. All questions get a quick(short) answer that
helps.
I have anoth one.
Can I use itext to add a formfield(all kinds) at a special position to an
existing pdf file??
can I also add a button (inkl. Buttonaction[JS]) to an existing pdf file??
thank you very very much
Phil
--__--__--
Message: 8
From: Paulo Soares <[EMAIL PROTECTED]>
To: 'Thomas Toft Rokamp' <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Subject: RE: [iText-questions] Difficulties choosing fint size
Date: Tue, 9 Sep 2003 14:56:30 +0100
Writing to a PdfContentByte requires the explicit setting of the font and
size. I can't see how you can skip that step. If you are using PdfPTable and
ColumnText then you should create your Phrase/Chunk with a Font.
Best Regards,
Paulo Soares
> -----Original Message-----
> From: Thomas Toft Rokamp [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, September 09, 2003 14:38
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Difficulties choosing fint size
>
> Hi!
>
> No matter what I do, all my text is displayed with a fontsize of
> 12.0f...
>
> I have no example to give at this moment, but if someone could show me
> one simple example of writing some text with fontsize 9.0f, to the
> PdfContentByte, I would be really happy...
>
> If required, I will produce an example of my code, so you can see what's
> wrong.
>
> Thanks in advance,
>
> Thomas Rokamp
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
--__--__--
Message: 9
From: Paulo Soares <[EMAIL PROTECTED]>
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
Subject: RE: [iText-questions] iText to add formfield to existing pdf file
Date: Tue, 9 Sep 2003 15:09:22 +0100
Not yet. The version at itextpdf.sf.net already supports adding annotations
to PdfStamper but fields are a couple of months away.
Best Regards,
Paulo Soares
> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]
> Sent: Tuesday, September 09, 2003 14:54
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] iText to add formfield to existing pdf
> file
>
> Hi.
> Well this mailinglist is great. All questions get a quick(short) answer
> that helps.
> I have anoth one.
> Can I use itext to add a formfield(all kinds) at a special position to an
> existing pdf file??
> can I also add a button (inkl. Buttonaction[JS]) to an existing pdf file??
>
> thank you very very much
>
> Phil
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
--__--__--
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
End of iText-questions Digest
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions