Hai All,My Requirement is that we have created lots of PDF's in a Batch using iText, but unfortunatly we forget to create a Banner Page just like 1st Page of Book contains Title last Page contains index.Now is it possible to open the existing PDF and add 1st Page and last Page with So
Hi, I've been working to resolve this issue for a little while now and have not been able to get it working. I'm using itext 1.4 within a web application I am loading a font using the FontFactory and registering the font like this: FontFactory.register("c:\\windows\\fonts\\
This isn't
directly supported by AcroFields' API. You'll have to dig under the covers
a bit:
1) Get the
field's "Item":
AcroFields.Item fldItem =
myAcroFields.getFieldItem("SomeField");
2) For each
instance of that field
for (int i = 0; i < fldItem.widgets.size(); ++i) {
3) Get t
You have to call Document's "close()" before "ViewPdf()". Just about all of
the PDF is written as a result of "close()".
--Mark Storer
Senior Software Engineer
Cardiff Software
#include
typedef std::Disclaimer DisCard;
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EM
At 01:40 PM 5/19/2006, Antoine wrote:
You certainly can. DPI is a mandatory tiff tag, as are height and
width (in pixels).
That is true.
HOWEVER when converting/placing a TIFF into a PDF, it makes
no difference since it won't be a TIFF anymore and it goes back to a
"raw bitma
Paulo Soares consiste.pt> writes:
>
> You must use PdfPTable and a table or cell event to know where to place
> the checkbox.
>
> Paulo
>
> >
Thanks Paulo
If i am not asking much could you please route some code sample to use events.
or may be point me to some source which demonstrates this
This is hardly the forum for a thread on dpi, so I will keep it short.
DPI is just a measurement of pixels at a given size in inches.
If you use a program to increase (interpolate) an images resolution, you are
ADDING pixels.
So, a 900 x 900 pixel image is 300dpi at 3 inches, if you interpolate
On 17/05/06, Bill Ensley <[EMAIL PROTECTED]> wrote:
You can't state that you have a tiff of 750 pixels by 900 pixels and
Also say that it is 600dpi. It doesn't work that way.
You certainly can. DPI is a mandatory tiff tag, as are height and
width (in pixels).
A 750 by 900 pixel image is 600
At 02:36 AM 5/19/2006, Thorben wrote:
As it is a server-job and I want to set a new font width for example
80 per cent
or 110 ...
OK.
But you shouldn't be touching the font data itself..Doing so
will create a PDF that will NOT render consistently!
Instead, you shoul
Paulo Soares wrote:
That's a side effect of the font propagation that changes the Chunk.
pschema.add(new Chunk(schemaLabel));
will solve the problem.
Paulo
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Antonio Gurisatti
Sent: Friday, May 1
That's a side effect of the font propagation that changes the Chunk.
pschema.add(new Chunk(schemaLabel));
will solve the problem.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Antonio Gurisatti
> Sent: Friday, May 19, 2006 5:01 PM
>
You must use PdfPTable and a table or cell event to know where to place
the checkbox.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Abhinav Sancheti
> Sent: Friday, May 19, 2006 4:01 PM
> To: itext-questions@lists.sourceforge.net
> Subj
Use page events.
http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.htm
l#examples
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Singhal, Ramneek (Exchange)
> Sent: Friday, May 19, 2006 4:54 PM
> To: itext-questions@li
Use page events. http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.html#examples
Paulo
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Srinivas PSent: Friday, May 19, 2006 3:07 PMTo:
itext-questions@lists.sourceforge.netSubject: [iText-qu
Use page events. http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/index.html#examples
Paulo
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Srinivas PSent: Friday, May 19, 2006 3:03 PMTo:
itext-questions@lists.sourceforge.netSubject: [iText-que
From AcroField.getItem() get the widget dictionary and change the
/Rect key. Write that change value also to the merged dictionary. You'll have to
fill the field again to see some change.
Paulo
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Title: iText with different jdk versions
See http://itextpdf.sourceforge.net/ for
JDK1.1. No problem with higher versions.
Paulo
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mamta
JoshiSent: Friday, May 19, 2006 2:34 PMTo:
itext-questions@lists.sourcef
Michael,
I've playing around with silent printing PDFs for a while now.
Some thoughts:
1) The screen your seeing is most probably Acrobat Reader's splash screen.
Try disabling it in the Reader ("edit" - "settings" - "application
start" - show
splash" or something similar).
2) You can indeed st
Michael Caletka gmail.com> writes:
>
> Hi,iText is a really wonderful tool, yet I do have some
troubles concerning printing. I have a big Java-application,
that produces lots of PDF-files.
One for each customer. Now I want them ALL printed as well.
I tried the method printDocumentSilent, whi
Paulo Soares wrote:
Post code that can be run standalone.
Paulo
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Antonio Gurisatti
Sent: Friday, May 19, 2006 5:25 AM
To: iText
Subject: [iText-questions] New paragraph is appending data
from prev
I have to generate a tabular report which can span 15 pages. I have to
display a Header(table headers row) and a footer(some disclaimer) on
every page of the report. I think I can use "HeaderFooter" object to do
so. I need to know how can I add a table to HeaderFooter object(to
display table header
Hello
I am new to iText.
I have a table and I need to show a checkBox in one of the cells.
How do I create it.
I know I can creat a PDFFormField but how do I add it to cell.
Or is there any other approach.
This is urgent please let me know ASAP
Thanks
Abhinav
--
Hi,
I am trying to add an image to header, the co-ordinates like left, top,
bottom, right margins may vary, since I am collecting those parameters from
user form, but I was unable to display the header image and content properly, for
some co-ordinates the content going under the heade
Hi,
When I used the below code it is displaying two lines both
at Top and bottom, but I don’t need those lines how to remove them
HeaderFooter header = new
HeaderFooter(new Phrase(“Hello”), true);
HeaderFooter footer = new
Head
Hi,
I want to add an image to header by using HeaderFooter class,
I tried with the below code
Document document = new Document(PageSize.A4, 50, 50,
50, 50);
PdfWriter.getInstance( document , new
FileOutputStream("text.pdf"));
document.addAuthor("Bruno Lowagie");
document.a
Darryl Miles netbauds.net> writes:
>
>
> Thomas Herre wrote:
> > A simple problem, but I don't find the solution:
> > How do I position a footer, say 0.5 cm from the bottom of an RTF document?
> > By default, it's always half an inch from the bottom and I can't find
> > out how to change this.
Title: iText with different jdk versions
Hi
Can we use iText with JDK1.1 /1.2/1.3?
Thanks and Regards,
Mamta Joshi
how can i size the form filed?
which command should i execute?
thx for help
You can size the form field but the text that is not in the form
field will stay in the same position, there will be no
reflow.
Paulo
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]Sent: Friday, May 19, 2006 1:23
PMTo: itext-questions@lis
Thomas Herre wrote:
A simple problem, but I don't find the solution:
How do I position a footer, say 0.5 cm from the bottom of an RTF document?
By default, it's always half an inch from the bottom and I can't find
out how to change this.
Are you using:
Document document = new Document(PageS
Hi all,
A simple problem, but I don't find the solution:
How do I position a footer, say 0.5 cm from the bottom of an RTF document?
By default, it's always half an inch from the bottom and I can't find
out how to change this.
Thank you for your advise,
Thomas
---
Hi mailinglist,
i need a method (perhapes setFieldProperty)
to change the width of an textfield.
does anybody know a solution for my
problem?
is it possible?
background: i have a pdf document with
a lot of formelements (textfields). some of these elements are in the middle
of an text. depence wh
Hi,iText is a really wonderful tool, yet I do have some troubles concerning printing. I have a big Java-application, that produces lots of PDF-files. One for each customer. Now I want them ALL printed as well. I tried the method printDocumentSilent, which just prints the last of the files I produce
Hi mailinglist,
i need a method (perhapes setFieldProperty)
to change the width of an textfield.
does anybody know a solution for my
problem?
is it possible?
background: i have a pdf document with
a lot of formelements (textfields). some of these elements are in the middle
of an text. depence wh
Hi all,
I'm using iText 1.4 to generate RTF files. The problem with the
generated RTF file is:
I have some very large cells, and instead of spanning the cell to the
next page, the extra text that doesn't fit the cell would just be cut off.
Actually not cut off, the extra text is hidden - if I r
Post code that can be run standalone.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Antonio Gurisatti
> Sent: Friday, May 19, 2006 5:25 AM
> To: iText
> Subject: [iText-questions] New paragraph is appending data
> from previous one.
>
You'll have to rename the fields and use PdfCopyFields. Other option is
to flatten the fields before concatenating.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Jim Bethancourt
> Sent: Friday, May 19, 2006 12:13 AM
> To: itext-question
Post some code so that the problem can be reproduced.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: Friday, May 19, 2006 5:47 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] table qu
You may solve it with Chunk.setHorizontalScaling() although it will also
shrink/expand the font and not only the spacing between characters. With
getWidths() you can't cache the font and you must embedd it and change
the font name.
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
>
Jansonc.dotop.com wrote:
> Dear Bruno :
> Thank you for your kindly help.
I meant to add a link to the tutorial for an example on FontSelector,
but I was looking at the wrong place (I was searching the Font chapters).
Meanwhile I have found the correct URL:
http://itextdocs.lowagie.com/tutorial/o
Hi
My application gives me an error when opening the pdf. Acrobat Reader says
the file is damaged and cannot be open.
My code is attached.
From: bruno <[EMAIL PROTECTED]>
To: HINDI TLC <[EMAIL PROTECTED]>
CC: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Re: Table Font
How could I add destinations even if they don't exist on the local
pdf?
If I add a setLocalGoto("hello") and the destination doesn't not exist
the document cannot be closed and it throws a RuntimeException. How
could I avoid this? If the destination doesn't exist I would like it
doesn't jump.
I
Jansonc.dotop.com wrote:
> Hello bruno:
> Thank you for reply so quickly.So sorry,english is not good for me.I
> describe the problem when I use the iText.If I keyin the single
> quotes(') in
> content and export it to PDF file use the iText by programing.When I open
> this PDF, I can't see the si
Here is my code, to get it running you have to download:
bouncycastle
commons-httpclient
commons-logging
commons-codec
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.InputStream;
import ja
Hello
I am using SimpleBookmark class to get bookmarks
from a PDF file by using
SimpleBookmark.getBookmark(reader) method. The main
problem is that when it returns a list, i am unable to
extract the required information from the fields in
it, especially Named field. Some PDF files return
Actio
45 matches
Mail list logo