[iText-questions] Table of contents - RTF

2006-11-30 Thread Henry Lu
To generate TOC in RTF, does each item in the TOC have to be a new Chapter? For example, I have 10 different categories; each has its own items. What I'd like to do is to list these 10 categories in the TOC. Can we do that? -Henry -

Re: [iText-questions] Merge PDF's while keeping structure

2006-11-30 Thread Leonard Rosenthol
At 5:36 PM + 11/30/06, Debbie Gelfand wrote: >Is this currently available? It's been available in iText for about 3-4 years now, I believe. Leonard -- --- Leonard Rosenthol

Re: [iText-questions] Merge PDF's while keeping structure

2006-11-30 Thread Debbie Gelfand
Is this currently available? Does anyone know when/what version of iText will support this functionality? Sometime after I find the time to merge my changes into the current tree...Or I pull this part out of my tree and send it to Bruno & Paolo to merge. Leonard --

Re: [iText-questions] index with page numbers

2006-11-30 Thread Bruno Lowagie
Paulo Soares wrote: > That's possible to do with page reordering First create the document and keep track of the content you want to be indexed. Then create the index and use the page reordering example as Paulo indicates. > and absolute text positioning. Put the title in a Chunk, and pass the p

Re: [iText-questions] electronic signature field

2006-11-30 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of mike mike > Sent: Thursday, November 30, 2006 4:50 PM > To: Post all your questions about iText here > Subject: [iText-questions] electronic signature field > > Hi all, > > is it possible to add

Re: [iText-questions] index with page numbers

2006-11-30 Thread Paulo Soares
That's possible to do with page reordering and absolute text positioning. See the tutorial at http://itextdocs.lowagie.com/tutorial/. The book has more detailed explanations. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of armando paolo >

[iText-questions] electronic signature field

2006-11-30 Thread mike mike
Hi all, is it possible to add an empty signature field to a PDF? is it possible to sign into an empty signature field? Thanks. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and y

[iText-questions] index with page numbers

2006-11-30 Thread armando paolo
hi all, I was using itext two years ago to do really nice stuff, and now I have a question: I would like to know (only short answer: yes or no), if it's possible to use itext to create a pdf document consisting of paragraphs representing piece of news (title and body), and a news index in

Re: [iText-questions] Adding format validation on text fields

2006-11-30 Thread Bruno Lowagie
Dajana Delic wrote: > Hi, > > I am trying to add text field validation on forms created in Acrobat. I need > to load a form and append functionality like: > > - enforce "numbers only" format > - custom date format > - custom input masks > - setting min/max character length > > Can I do any of t

Re: [iText-questions] Read and Manipulate existing PDF cont.

2006-11-30 Thread Bruno Lowagie
Iliad Yan wrote: > What advantage or disadvantage do I have by using XFA forms in PDF. It's hard to explain in only a few words. Advantages of XFA: - it's XML. - it's new. - it offers some flexibility. Disadvantages of XFA: - it's XML. - it's new: not many tools support it - it's not really PDF

[iText-questions] Adding format validation on text fields

2006-11-30 Thread Dajana Delic
Hi, I am trying to add text field validation on forms created in Acrobat. I need to load a form and append functionality like: - enforce "numbers only" format - custom date format - custom input masks - setting min/max character length Can I do any of these with iText? It looks like most of val

Re: [iText-questions] Read and Manipulate existing PDF cont.

2006-11-30 Thread Iliad Yan
Thanx again. use Acrobat WITHOUT Designer I will keep that in mind for future documents. any XFA stuff in your PDF What advantage or disadvantage do I have by using XFA forms in PDF. Yannis Iliadis 2006/11/30, Bruno Lowagie (iText) <[EMAIL PROTECTED]>: Iliad Yan wrote: > Thanx for y

Re: [iText-questions] Read and Manipulate existing PDF cont.

2006-11-30 Thread Bruno Lowagie (iText)
Iliad Yan wrote: > Thanx for your quick reply. > > I will try the XFA form and PdfPTable part to see how they work. If you are redesigning the form: - use Acrobat WITHOUT Designer; have a look at: Tools > Advanced Editing > Text Field Tool That way you won't have any XFA stuff in your PDF.

Re: [iText-questions] Read and Manipulate existing PDF cont.

2006-11-30 Thread Iliad Yan
Thanx for your quick reply. I will try the XFA form and PdfPTable part to see how they work. BTW: It seems that Acrobat Designer does't align objects correctly, even if you tell them to (Layout->Align->Left from the Designer's Menu). 2006/11/30, Bruno Lowagie (iText) <[EMAIL PROTECTED]>: Ilia

Re: [iText-questions] RTF strange space between rows

2006-11-30 Thread Alin Popa
Guys, I made it, by using setLeading(0) to paragraph object. By default I saw that is something like 18.3 that value. Thanks. - Original Message From: Alin Popa <[EMAIL PROTECTED]> To: itext-questions@lists.sourceforge.net Sent: Wednesday, November 29, 2006 10:08:22 PM Subject: [iText-q

Re: [iText-questions] Alignment of footer Text

2006-11-30 Thread Bruno Lowagie (iText)
Patrick Mugabe wrote: > I am using the folllowing code to add a header and footer. It works fine > except that I am failing to align the text on the footer even after > using setAlignment(Element.ALIGN_MIDDLE); > Paragraph ph = new > Paragraph(ProposalConstants.FOOTERTEXT, ari

Re: [iText-questions] Read and Manipulate existing PDF cont.

2006-11-30 Thread Bruno Lowagie (iText)
Iliad Yan wrote: > I am sending you 2 sample attachments (both created with Acrobat > Designer 7) of what I want to do. Note that there is only limited support for forms created with Designer. You also need a very recent version of iText. However, that's not a problem. Let's get some source co

Re: [iText-questions] Gain performance

2006-11-30 Thread Bruno Lowagie (iText)
Nielsen, Michael wrote: > Hi again > > Sorry for keep babbeling :)...But what object precisely do you want me > to cache? If you mean the PdfReader isnt there a risk of an continues > open stream as I do not close the reader then before the PdfStamper has > been around explicitly .close() it? No,

[iText-questions] Alignment of footer Text

2006-11-30 Thread Patrick Mugabe
I am using the folllowing code to add a header and footer. It works fine except that I am failing to align the text on the footer even after using setAlignment(Element.ALIGN_MIDDLE); Is there something I am missing? Please assist public void onEndPage(PdfWriter writer, Document documen

Re: [iText-questions] Gain performance

2006-11-30 Thread Nielsen, Michael
Hi again Sorry for keep babbeling :)...But what object precisely do you want me to cache? If you mean the PdfReader isnt there a risk of an continues open stream as I do not close the reader then before the PdfStamper has been around explicitly .close() it? Pls advise...I will not be popular crea

Re: [iText-questions] Tiff Watermarking

2006-11-30 Thread Bruno Lowagie (iText)
MCC wrote: > > > Does iText support watermarking a Tiff document directly without > converting it to PDF? iText doesn't create/manipulate TIFF files. TIFF can be imported into PDF, and that's it. br, Bruno - Take Surveys

Re: [iText-questions] Gain performance

2006-11-30 Thread Bruno Lowagie (iText)
Nielsen, Michael wrote: > Well we have 3 different forms and we read the information from a url as > its a web application Why not cache these three forms, one way or another. Read them from the URL upon starting the web app. > Have 3 different PDFReaders and then use a generic > approach using t

Re: [iText-questions] ColumnText and large table header

2006-11-30 Thread Bruno Lowagie (iText)
[EMAIL PROTECTED] wrote: > I have used and adapted the onEndPAge() example and everything works > nicely. I have tried adding a a big fat table as my header and it doesn't > display right, it seems like it is reacting to my margins that I have set > for the ColumnText but when I change them it exh

Re: [iText-questions] Gain performance

2006-11-30 Thread Nielsen, Michael
Well we have 3 different forms and we read the information from a url as its a web application and the pdf is inside a web application accessible from a URL, so I guess RandomAccessFile is not usefull right? So how can do this. Have 3 different PDFReaders and then use a generic approach using the

Re: [iText-questions] Gain performance

2006-11-30 Thread Bruno Lowagie (iText)
Nielsen, Michael wrote: > Hi there > > I with joy using this iText component..really nice and flexible to use. > Though I have been performance measuring the code and it seams there > might be a few "skelletons in the clotheset" performance wise :). > > The implementation is simpel. I read a

[iText-questions] Rtf documents and images

2006-11-30 Thread Manuel Español
Hello, I have the following problem: is it possibe set an absolute position, alignments, ... to a image in a rtf document? Thanks in advance Manuel Español - Take Surveys. Earn Cash. Influence the Future of IT Join SourceF

[iText-questions] Gain performance

2006-11-30 Thread Nielsen, Michael
Hi there I with joy using this iText component..really nice and flexible to use. Though I have been performance measuring the code and it seams there might be a few "skelletons in the clotheset" performance wise :). The implementation is simpel. I read a 250 kb PDF file from an http url using