Re: [iText-questions] New Page is not added for the end of the page for a very, very long text

2008-05-07 Thread krishnan.1000
Hi, I am sorry if I was not clear. I want to show as much text as possible as specified by the column width. If the height is not sufficient enough, I want the remaining text to be displayed on the new page. thanks, Karthik info-1527 wrote: > > Quoting "krishnan.1000" <[EMAIL PROTECTED]>: >

Re: [iText-questions] Iterate through elements

2008-05-07 Thread Lars Eirik Rønning
What i am looking at is a way to start iterating through all visible elements on a given page and in a way be able to do the following: switch(element.getType()){ case PdfObject.Xobject:{ //get the element and process it at necessary for my task.. } I have read the book and think it is brillia

Re: [iText-questions] iTextSharp backwards compatibility

2008-05-07 Thread 1T3XT info
Jason Stiefer wrote: > I am using iTextSharp version 4.1.0 (based in iText 2.1.0) and it is > creating PDF’s that are apparently not compatible with adobe version 7. > I have no problems viewing the PDF in Acrobat Reader version 8. Is this > a bug or is there some insight I can get to create PDF

Re: [iText-questions] iTextSharp backwards compatibility

2008-05-07 Thread Paulo Soares
I've no idea how you created the pdf and I don't have the pdf either. That's my insight. Paulo - Original Message - From: "Jason Stiefer" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 07, 2008 7:16 PM Subject: [iText-questions] iTextSharp backwards compatibility I am using iTextSharp

[iText-questions] iTextSharp backwards compatibility

2008-05-07 Thread Jason Stiefer
I am using iTextSharp version 4.1.0 (based in iText 2.1.0) and it is creating PDF's that are apparently not compatible with adobe version 7. I have no problems viewing the PDF in Acrobat Reader version 8. Is this a bug or is there some insight I can get to create PDF's that can be read by previous

Re: [iText-questions] How do I convert raw pdf data (from db) to an itext PDF object?

2008-05-07 Thread 1T3XT info
gailmikels wrote: > You're right, I don't understand - that's why I'm asking questions. Since > I'm in a deadline situation (my prob, not yours), I avoided the help pages > entitled "Under Construction". I felt I didn't have the time to spend > working thru examples, but apparently that's what I'

Re: [iText-questions] How do I convert raw pdf data (from db) to an itext PDF object?

2008-05-07 Thread gailmikels
You're right, I don't understand - that's why I'm asking questions. Since I'm in a deadline situation (my prob, not yours), I avoided the help pages entitled "Under Construction". I felt I didn't have the time to spend working thru examples, but apparently that's what I'll have to do to find an

Re: [iText-questions] Iterate through elements

2008-05-07 Thread Paulo Soares
What is an "element in the pdf" for you? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Lars Eirik Rønning > Sent: Wednesday, May 07, 2008 4:14 PM > To: Post all your questions about iText here > Subject: [iText-questions] Iterate throug

Re: [iText-questions] Iterate through elements

2008-05-07 Thread Bruno Lowagie
Lars Eirik Rønning wrote: > The best thing would be if one could make a recursive method where one > could give the element at hand. I don't know if you've already read "iText in Action", but there's an example in chapter 18 called "ClimbTheTree": http://www.1t3xt.info/examples/browse/?page=exam

Re: [iText-questions] Iterate through elements

2008-05-07 Thread 1T3XT info
Lars Eirik Rønning wrote: > Hi. > First of all thanks for the great library you provide! > Is there an easy way to iterate through the elements in the pdf? > > I have had a look a a commercial product which offers a PageIterator > object which allows for easy access to different types of elements

[iText-questions] Iterate through elements

2008-05-07 Thread Lars Eirik Rønning
Hi. First of all thanks for the great library you provide! Is there an easy way to iterate through the elements in the pdf? I have had a look a a commercial product which offers a PageIterator object which allows for easy access to different types of elements. Is there a best practice for doing th

Re: [iText-questions] iTextSharp XMLParser Problem

2008-05-07 Thread Paulo Soares
ITextHandler.SetControlOpenClose(false). You must open and close the document yourself. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Daniel Foster > Sent: Wednesday, May 07, 2008 3:26 PM > To: itext-questions@lists.sourceforge.net > Sub

Re: [iText-questions] How do I convert raw pdf data (from db) to an itext PDF object?

2008-05-07 Thread 1T3XT info
gailmikels wrote: > Did the rest of my code look at least > "close" for handing that byte array? (below) > > reader = new PdfReader(bytes); //byte array from clob > byte[] thisPagesBytes = reader.getPageContent(index); > > ByteBuffer bb = new ByteB

[iText-questions] iTextSharp XMLParser Problem

2008-05-07 Thread Daniel Foster
Afternoon All, I am wondering if anyone can help with a problem I am having with the iTextSharp project. I am using the XML.Parser to insert an XML Document into a PDF. The problem is that I want further pages added to the PDf after the XML has been included to one page, but get an err

Re: [iText-questions] How do I convert raw pdf data (from db) to an itext PDF object?

2008-05-07 Thread gailmikels
Paulo Soares wrote: > > If you have PDFs stored as strings they are certainly broken. PDFs are > binary. > > Paulo > > Thanks for your response. So sounds like they should be storing the pdf as a blob instead of a varchar, right? So if I can get them to change this, and from what little

Re: [iText-questions] getDpiX() returns zero and cannot maintain originality in .png

2008-05-07 Thread 1T3XT info
kcbxt8 wrote: > Can you please tell me is there any other way to get the > scalepercent(7200f/getDpiX()) working from getWidth or getHeight and setting > them to original values please. The 'original size' of an Image is expressed in pixels x pixels. Please read the discussion; Bruno meant to say

Re: [iText-questions] Using iText to generate pdfs for commercial use

2008-05-07 Thread 1T3XT info
Felix Langner wrote: > Dear iText-Team, > > i am developing a software with the purpose of publishing pdf´s e-books > for commercial use. OK. > My collegue, Paolo Padoan, and i ask you the permission to integrate and > use itext in our software for the creation of pdf files. As long as you fo

Re: [iText-questions] plz give ideas

2008-05-07 Thread 1T3XT info
David Lloyd wrote: > I think "iText in Action" (look it up at http://www.amazon.com/) > probably contains examples of that. Not really, but if you read the book, you'll find ways to achieve this. In the mailing list archives somebody added '.' chars to a String and measured that String till it re

Re: [iText-questions] get a pdf bookmark

2008-05-07 Thread Paulo Soares
SimpleBookmark Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of XieYS > Sent: Wednesday, May 07, 2008 12:29 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] get a pdf bookmark > > hello..i'm from malaysia > > h

[iText-questions] get a pdf bookmark

2008-05-07 Thread XieYS
hello..i'm from malaysia here's my situation..i want to get a Bookmark from any PDF that i'll assign it to JList or JTree in my stand Alone apps.. i wonder if itext capable do that..i've been searching for sample code..but what i've got is "adding a bookmark". anybody can give me the link or ide

[iText-questions] PdfPTable from Table used in Header/Footer of PDF document

2008-05-07 Thread Lawrence Tsosie
Good day. I'm having trouble with the Table object within the Header/Footer of a document and updating Cells within a table. I prefer using the Table object so that I can produce both RTF and PDF files. The PDF generation is giving me the problem with updating text data. The reason for doing thi

Re: [iText-questions] photometic

2008-05-07 Thread Paulo Soares
Send me the sources. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Wolf-Dieter Auer > Sent: Wednesday, May 07, 2008 11:52 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] photometic > > Hi folks! > > I found

[iText-questions] photometic

2008-05-07 Thread Wolf-Dieter Auer
Hi folks! I found a solution to convert TIFF images from YCC to RGB (photometric6-problem). Works fine in a production environment, I use this solution to convert scanned documents into PDFs How can I contact Bruno Lowagie to send him my sources ? Best regards Wolf Dieter -

[iText-questions] Validate Pdf

2008-05-07 Thread beppecosta
Each day we produce thousands of pdf with iText. Most of them are built from scratch but some other are obtained by concatenate of documents that arrive from outside. We need to validate these documents before using them. At present we use a C function pdfinfo from xpdf but I would like to inc

[iText-questions] Section page numbers not correct in Table Of Contents (Solution)

2008-05-07 Thread Mark Flagg
Mark Flagg wrote: > Hi, > > > > I have a document with a lot of sections in each chapter. When I > generate the TOC the chapter page numbers are correct but the section > page numbers are not correct. For example below is the TOC I want: (snip) > I am using pdfWriter.PageNumber to retrieve th

[iText-questions] Using iText to generate pdfs for commercial use

2008-05-07 Thread Felix Langner
Dear iText-Team, i am devoloping a software with the purpose of publishing pdf´s e-books for commercial use. My collegue, Paolo Padoan, and i ask you the permission to integrate and use itext in our software for the creation of pdf files. We thank you in advance and express our best congratulati

Re: [iText-questions] Migrating from J2EE 1.3 to 1.4 specificationlevel with iText 1.3

2008-05-07 Thread Paulo Soares
Look at any document created to see the version or call Document.getVersion(). You don't have to upgrade if you don't want to. Paulo - Original Message - From: "Kapil Agarwal - kagarwa" <[EMAIL PROTECTED]> To: Sent: Tuesday, May 06, 2008 9:57 PM Subject: [iText-questions] Migrating from

Re: [iText-questions] How do I convert raw pdf data (from db) to an itext PDF object?

2008-05-07 Thread Paulo Soares
If you have PDFs stored as strings they are certainly broken. PDFs are binary. Paulo - Original Message - From: "gailmikels" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 07, 2008 12:17 AM Subject: [iText-questions] How do I convert raw pdf data (from db) to an itext PDF object? > >