[iText-questions] Search in PDF

2003-07-14 Thread Ben Sinclair
Is it possible, using iText or possibly another library, to search for text within PDF files? -- Ben Sinclair [EMAIL PROTECTED] --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download &a

Re: [iText-questions] Streaming PDFs

2003-07-10 Thread Ben Sinclair
I don't know if that would have any effect, but perhaps when you've exhausted other options you can try commenting that out and see. Hope it helps - even just a little bit... - Scott -- Ben Sinclair [EMAIL PROTECTED] --- This

[iText-questions] Streaming PDFs

2003-07-09 Thread Ben Sinclair
in.read(buf); while (i != -1) { ba.write(buf, 0, i); i = in.read(buf); } in.close(); ba.writeTo(out); out.flush(); } } -- Ben Sinclair [EMAIL PROTECTED] --

Re: [iText-questions] ArrayIndexOutOfBoundsException

2002-05-14 Thread Ben Sinclair
stead of rendertemp.pdf. That worked fine. I then renamed the temp pdf and tried to append it, and that worked as well. It seems like if I generate my temp pdf, close it, then import it into my real pdf right away, it doesn't work. Is there something more I have to do other than tempPdf.close(

Re: [iText-questions] ArrayIndexOutOfBoundsException

2002-05-13 Thread Ben Sinclair
I know the PDF is probably totally invalid. Is there any way to make it throw an exception indicating this before I call .close()? Since this occurs during close(), I don't get anything into my new PDF. -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Paulo Soare

Re: [iText-questions] ArrayIndexOutOfBoundsException

2002-05-13 Thread Ben Sinclair
Is there a way to tell if the pdf is defective before I try and import it? -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Paulo Soares" <[EMAIL PROTECTED]> To: "'Ben Sinclair'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>

[iText-questions] ArrayIndexOutOfBoundsException

2002-05-07 Thread Ben Sinclair
teAllPages(PdfReaderInstance.java:204 ) at com.lowagie.text.pdf.PdfWriter.close(PdfWriter.java:734) at com.lowagie.text.pdf.PdfDocument.close(PdfDocument.java:924) at com.lowagie.text.Document.close(Document.java:492) at benproject.document.pdf.PDFRenderer.render(PDFRenderer.java:269) -- Ben Sincl

[iText-questions] NoSuchMethodError from PdfWriter

2002-05-02 Thread Ben Sinclair
) at com.lowagie.text.pdf.PdfWriter.close(PdfWriter.java:768) at com.lowagie.text.pdf.PdfDocument.close(PdfDocument.java:924) at com.lowagie.text.Document.close(Document.java:492) at dps.document.pdf.PDFRenderer.render(PDFRenderer.java:250) -- Ben Sinclair [EMAIL PROT

Re: [iText-questions] PDF overlay

2002-05-02 Thread Ben Sinclair
PDF. -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Matt Benson" <[EMAIL PROTECTED]> > This question is about PDF in general: > > If you want to take an existing PDF which is a printed > form (not a PDF form) and overlay precisely-positioned

Re: [iText-questions] Putting other objects in a PdfContentByte

2002-05-02 Thread Ben Sinclair
re adding paragraphs and other objects? I'd like to know exactly where the next object will be placed. -- Ben Sinclair [EMAIL PROTECTED] ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You ge

[iText-questions] Putting other objects in a PdfContentByte

2002-04-26 Thread Ben Sinclair
tinue placing paragraphs from that location, even if I located above other paragraphs. -- Ben Sinclair [EMAIL PROTECTED] ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

[iText-questions] Layout Questions

2002-04-23 Thread Ben Sinclair
ost of the library. Any suggestions? -- Ben Sinclair [EMAIL PROTECTED] ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

[iText-questions] Headers and Footers

2002-04-22 Thread Ben Sinclair
Is it possible to do more advanced formatting and insert images or other PDF files into headers and footers? As far as I can tell, all I can do is text and alignment. -- Ben Sinclair [EMAIL PROTECTED] ___ iText-questions mailing list [EMAIL PROTECTED

[iText-questions] Fonts and BaseFonts

2002-04-18 Thread Ben Sinclair
What would cause a valid Font to return null for Font.getBaseFont()? -- Ben Sinclair [EMAIL PROTECTED] ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

[iText-questions] Inches to Points

2002-04-18 Thread Ben Sinclair
an inch is 72 points. int nx = (int)(x * 7.2 * 10); int ny = (int)(height - (y * 7.2 * 10)); It works fine at first, but as I go down the page it locates further and further down from where it should. Is 72 points per inch correct? Does anyone know a better way to do this conversi

Re: [iText-questions] Absolute Positioning

2002-04-15 Thread Ben Sinclair
so it would scale properly. -- Ben Sinclair [EMAIL PROTECTED] ___ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions

[iText-questions] Absolute Positioning

2002-04-15 Thread Ben Sinclair
I want to do absolute positioning at the same time I'm adding content normally. I can add things absolutely when I get a writer, but I don't understand how it knows what page to put things on. Ideally I would add some things normally, then add some things absolutely at the same tim

Re: [iText-questions] Migrating to latest iText

2002-04-15 Thread Ben Sinclair
I think I was mistaken... These classes were never part of iText. -- Ben Sinclair [EMAIL PROTECTED] - Original Message - From: "Ben Sinclair" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 15, 2002 9:38 AM Subject: [iText-questions] Migrating t

[iText-questions] Migrating to latest iText

2002-04-15 Thread Ben Sinclair
I'm working on moving my application from an old (over a year) version of iText. Can anyone tell me what I should use instead of these, which no longer exist? BlockProtectOn/Off() The Line and TabDefinition classes. Thanks! -- Ben Sinclair [EMAIL PROT