[iText-questions] Somewhat off topic embedded font question

2009-12-30 Thread Robert Morse
Hello, I'm using iText via JBoss Seam 2.2.0.GA to create documents for a large insurance company. Everything works perfectly, and my thanks to the authors! Several of the documents use an OCRA Extended font. They display correctly on displays, and if I print them to something like a Xerox

Re: [iText-questions] Somewhat off topic embedded font question

2009-12-30 Thread Robert Morse
of the PDF format! You need to tell them so and get them to fix their problem - it's them, not you! Leonard Rosenthol PDF Standards Architect Adobe Systems -Original Message- From: Robert Morse [mailto:rmo...@mdesignz.com] Sent: Wednesday, December 30, 2009 3:27 AM To: Post

Re: [iText-questions] PdfStamper doesn't respect anchors in document within ByteArrayOutputStream

2009-06-16 Thread Robert Morse
); } } On Jun 15, 2009, at 11:59 PM, 1T3XT info wrote: Robert Morse wrote: Hate to bring this up again, but I think I'm facing the same issue. The following method accepts a List of filenames, and then concatenates them to a single document. I have verified that each of the individual

Re: [iText-questions] Finding all Anchors within a PDF document

2009-06-15 Thread Robert Morse
AM, Bruno Lowagie wrote: Robert Morse wrote: I'm aware they're used when CREATING a PDF. I was hopeful they could be detected (or at least their artifact) after the PDF was created as is the case with their link counterpart. The Anchor class write the content to the content stream

Re: [iText-questions] Put-Replace text at x,y

2009-06-15 Thread Robert Morse
I had to do a similar thing for a large insurance company that had thousands of PDFs created using Word, Quark, etc., and needed them converted to fillable PDFs. I had to find all of the text and graphics (mostly long horizontal lines) and drop fields on top of them, and then build a UI

Re: [iText-questions] Finding all Anchors within a PDF document

2009-06-15 Thread Robert Morse
NamedDestinations in the final PDF 4) Create links to the NamedDests... Leonard -Original Message- From: Robert Morse [mailto:rmo...@mdesignz.com] Sent: Monday, June 15, 2009 7:42 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Finding all Anchors within

Re: [iText-questions] Put-Replace text at x,y

2009-06-15 Thread Robert Morse
Hello, The hardest part was going through the PDF spec. Up to that point, Bruno's and Leonard's comments about that's not what PDFs were designed to do didn't really make sense. They do now!! Starting from scratch and knowing nothing about PDFs and little about iText or PdfBox, it took a

Re: [iText-questions] PdfStamper doesn't respect anchors in document within ByteArrayOutputStream

2009-06-15 Thread Robert Morse
Hate to bring this up again, but I think I'm facing the same issue. The following method accepts a List of filenames, and then concatenates them to a single document. I have verified that each of the individual docs contain Bookmarks by opening them in Adobe Reader. In the final doc,

Re: [iText-questions] Finding all Anchors within a PDF document

2009-06-14 Thread Robert Morse
any anchor in the PDF language. What there is, are called Tags (or Structure). You need to read up about tagged PDF. Second, you will find that most PDF files don't have any of these tags. So you need to look for other things :(. Leonard -Original Message- From: Robert

Re: [iText-questions] Finding all Anchors within a PDF document

2009-06-14 Thread Robert Morse
- but they have NOTHING to do with the final produced PDF. (which is what I am talking about) And no problem, we'll forgive you... Leonard -Original Message- From: Robert Morse [mailto:rmo...@mdesignz.com] Sent: Sunday, June 14, 2009 12:48 PM To: Post all your questions about iText

[iText-questions] Finding all Anchors within a PDF document

2009-06-13 Thread Robert Morse
Hello, I'm trying to automatically create a Table of Contents by locating all of the anchors (much the same way as the iText book mentions doing this by finding all the Chapters). PdfReader has a getLinks method, but I didn't see any reference to finding anchors. The human mind is an

Re: [iText-questions] PDF header signature not found.

2009-05-17 Thread Robert Morse
Are there other causes? I have a process that converts literally thousands of PDFs and saves them in the database. Several times, I run into this issue. Dumping the problem PDFs shows that they all begin with '%PDF-1.4'. Acrobat, Reader, etc., all display them properly. I'm using the

Re: [iText-questions] PDF header signature not found -- NEVERMIND!

2009-05-17 Thread Robert Morse
Nevemind! Appears to be a bug in MySQL converting data in a BLOB when it shouldn't. Sorry for the noise. On May 17, 2009, at 10:42 AM, Robert Morse wrote: Are there other causes? I have a process that converts literally thousands of PDFs and saves them in the database. Several times, I

[iText-questions] Adding RadioCheckField to existing PDF?

2008-12-14 Thread Robert Morse
Hello, I wrote a while back asking some questions about adding various fields to an existing PDF. Since then, I've mostly solved the issue by: 1. Reading the existing PDF doc with PDFBox and detecting where I want to insert the various text and checkbox fields; then 2. Use iText to actually

Re: [iText-questions] Adding RadioCheckField to existing PDF?

2008-12-14 Thread Robert Morse
Sorry for the noise. I'm an idiot. Changing the last line to: stamper.addAnnotation(field.getCheckField(), pagenumber); makes it work perfectly. Let's see, I'm adding a check box, and I'm wondering why field.getRadioField() doesn't work?!? DOH! On Dec 14, 2008, at 12:26 PM, Robert

[iText-questions] Adding Form Fields

2008-11-24 Thread Robert Morse
Hello, I have several hundred PDF documents that I'd like to turn into Acroforms. Adobe Acrobat does a pretty good job of identifying check boxes, and different fields designated with underlines, but it doesn't completely address my situation. In the document set I'm trying to convert, the

[iText-questions] Seam iText Questions

2007-12-09 Thread Robert Morse
Hello, Is this the appropriate forum to post Seam based iText questions? Thanks! -robert. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just

[iText-questions] Checkbox using Seam

2007-12-07 Thread Robert Morse
Hello, I'm trying to include a checked box and an un-checked-box on a form I'm creating using Seam (2.0.0.GA) with iText. I'm assuming it's a matter of specifying a font, but does anyone have an example of doing this? Thanks! -robert.

Re: [iText-questions] Checkbox using Seam

2007-12-07 Thread Robert Morse
. Seems to work. Thank you for your response. -robert. On Dec 7, 2007, at 10:55 AM, Bruno Lowagie wrote: Robert Morse wrote: Hello, I'm trying to include a checked box and an un-checked-box on a form I'm creating using Seam (2.0.0.GA) with iText. I'm assuming it's a matter