Re: [iText-questions] [PDF Forms] Placeholder Value "N" in Empty Fields

2008-02-05 Thread Sean Mills
This was an error on my part, but in my code I did stumble across another problem. I'm a little confused about the String.split function. For example, consider the following code: fruits = apple~banana~orange~~~ fruitsArray = fruits.split("~") Apparently, trailing empty strings are discarded,

Re: [iText-questions] contribution: FontReplacingPdfSmartCopy: duplicate TTF font subset merging and replacement (was: How to remove embedded fonts from a pdf document)

2008-02-05 Thread Paulo Soares
It's not forgotten but, as you said yourself, it solves your specific problem. I'll see if I can make it more generic but that takes time. Paulo - Original Message - From: "Lari Hotari" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 05, 2008 10:02 PM Subject: Re: [iText-questions] con

[iText-questions] why pdf fields of 1st page move to 2nd page

2008-02-05 Thread Sarah1
Hi, I'm playing RegisterForm1.java. I want to add an extra same 2nd table on a new page. All the fields on 2 pages are named differently. But I fount both tables are on different page, and they looks fine, but the positions of the fields on 1st page are moved to 2nd page. Could you tell me why?

Re: [iText-questions] contribution: FontReplacingPdfSmartCopy: duplicate TTF font subset merging and replacement (was: How to remove embedded fonts from a pdf document)

2008-02-05 Thread Lari Hotari
Hi, Have you had a chance to check this out? (http://www.nabble.com/file/p15203186/itext_font_merging_patch.zip) Regards, Lari Paulo Soares wrote: > > I'll have a look. > > Paulo > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of L

[iText-questions] newbie: fill-in and generate pdf from template?

2008-02-05 Thread ahnf
Hi, I have no idea how to do this but am asking for ideas or pointers in the right direction for where to look in iText api or some other solution. We have 8 images. We want to create a PDF that has some text at the top and below the text would be a grid that will hold up to FOUR images. We would

Re: [iText-questions] Reading Hidden Fields

2008-02-05 Thread Leonard Rosenthol
If you are using LiveCycle (aka XFA-based) forms, then you can NOT use the AcroForms APIs - those are ONLY for AcroForms. You will need to load and process the XFA itself. Leonard On Feb 5, 2008, at 9:51 AM, Mark Erickson wrote: Hello all! Is it possible to get and read fields on a PD

[iText-questions] iText as Stored Java Procedure on Oracle 9i

2008-02-05 Thread Ferrell, Jerry
Hello, I am trying to use the loadjava utility to install iText as a Oracle Stored Java Procedure. The version of iText is v2.0.8 and the Oracle Database is v9.2. I use the following commands to try to accomplish this: loadjava -v -r -genmissing -user MYUSER/MYPASS bcprov-jdk14.137.jar

Re: [iText-questions] Multiple images in same line

2008-02-05 Thread Mathieu Mallet
Heya, me again. The technique you suggested works great for single paragraphs with multiple images. However, it seems to break down when multiple paragraphs are in play. See the attached example PDF: When using paragraphs with 3 images per line, itext does not place the new paragraphs where they 's

[iText-questions] Reading Hidden Fields

2008-02-05 Thread Mark Erickson
Hello all! Is it possible to get and read fields on a PDF form that are hidden? We were using custom properties to hold pieces of "metadata", but because we are building these forms in Adobe LiveCycle Designer we can't use custom properties, so we're adding text fields which are marked as hidd

[iText-questions] PdfStamper and ColumnText

2008-02-05 Thread Mathias P.W Nilsson
Hi! I'm trying to add content to an existing page using the column text! I get an error when trying to do this? Am I missing something? Error == ColumnText.go with simulate==false and text==null. Code == Document document = new Document();

[iText-questions] Best Approach to making a complex letterhead into a PDF

2008-02-05 Thread pmartin
I have read the book and the examples for creating a PDF from a letter. I have a letter that needs to be created as a PDF and it has in addition to the Header and Footer (which are in the examples) a list of names and titles in the left margin of the letter. Also the type of font used in the l

Re: [iText-questions] How can I add a pdf table to a generated letter using XML?

2008-02-05 Thread mtomlins
I wanted to do it using the xml classes that are used in ch. 14 but it looks like they are not implemented for tagmap. I need to align my output but the available classed don't do that. Ideally I could create columns using tagmap. - Original Message - From: "bisoa" <[EMAIL PROTECTED]> To

Re: [iText-questions] How to change a PDF but preserve the rights

2008-02-05 Thread Samuel B. Quiring
So what did you mean in your earlier mail, quoted below, when you said "It _IS_ possible to fill in a PDF that has been "Reader Enabled" w/o violating the rights"? -Sam _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leonard Rosenthol Sent: Tuesday, February 05, 2008 6

Re: [iText-questions] How to change a PDF but preserve the rights

2008-02-05 Thread Leonard Rosenthol
It can't. If you make ANY changes to the PDF you will break the rights. It's specifically designed this way to detect tampering. The only choice you have, if you wish to distribute a file with Reader Enablement is to purchase Adobe LiveCycle ES and have it process your document AFTER you

Re: [iText-questions] How to change a PDF but preserve the rights

2008-02-05 Thread Samuel B. Quiring
I don't get it. How should this code be rewritten so that the resulting PDF still has the rights? Do you know for a fact that it can be done? -Sam _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leonard Rosenthol Sent: Tuesday, February 05, 2008 6:09 AM To: Post all

Re: [iText-questions] can i read a bitmap image file and reproduce the same image in pdf using iText

2008-02-05 Thread wasegraves
-- Original message -- From: harsha_reddy <[EMAIL PROTECTED]> > so my question is can i read a bitmap image file and reproduce the same > image in pdf using iText. Yes. See Chapter 5 in the book, _iText in Action_, for examples. Cheers, Bill Segraves

Re: [iText-questions] How to change a PDF but preserve the rights

2008-02-05 Thread Leonard Rosenthol
You rewrote the PDF - therefore you changed it. Leonard On Feb 4, 2008, at 10:32 PM, Samuel B. Quiring wrote: Leonard, Are you sure? I have tried a few variations and I have not been able to get anything to work. I now have a simple identity() routine that changes nothing. The incoming

[iText-questions] Simple Bug(?!) in itext PdfGraphics2D - itext version 2.0.4

2008-02-05 Thread Jach
Hi Bruno, In the method "public Graphics create()" of PdfGraphics2D no rendering hints (member: rhints) are copied to the new Graphics Object. I don't know if this is done on purpose, but I think I'm not the only one who might run into problems with this. Especially if you render your own compone

Re: [iText-questions] can i read a bitmap image file and reproduce the same image in pdf using iText

2008-02-05 Thread 1T3XT info
harsha_reddy wrote: > Hi, > first of all sorry for confusing you, I'm sorry, but your most recent mail isn't very clear either. > The customer signs using an optical pen(Digital signature),so it is captured > using C (like C++)technology and converted into a bitmap file, so i being > interested

Re: [iText-questions] can i read a bitmap image file and reproduce the same image in pdf using iText

2008-02-05 Thread harsha_reddy
Hi, first of all sorry for confusing you, i verified with the problem and this is wat it is, The customer signs using an optical pen(Digital signature),so it is captured using C (like C++)technology and converted into a bitmap file, so i being interested in iText they wanted me to read this

Re: [iText-questions] Metadata not working

2008-02-05 Thread 1T3XT info
[EMAIL PROTECTED] wrote: > Hi, > > Recentrli I started learning iText, following iText In Action book. > > I'm unable to add metadata to a PDF document. File->Doc Properties shows > nothing. See chapter 2.1. Adding metadata has to be done between step 2 and 3; not between step 1 and 2. -- This

Re: [iText-questions] How can I substitute actual DB values for xml content at runtime?

2008-02-05 Thread 1T3XT info
mtomlins wrote: > In 'endElement', right before 'handleEndingTags' I want to call a method > to replace content (see method process, marked with an *). > currentChunck.content is read only. How can I do this? That's merely some programming work. When you create your handler, you could add a memb

Re: [iText-questions] How can I add a pdf table to a generated letter using XML?

2008-02-05 Thread 1T3XT info
bisoa wrote: > Use Table and Cell! I'd use PdfPTable and PdfPCell. Table and Cell are old classes. There's an example in Chapter 6. -- This answer is provided by 1T3XT BVBA - This SF.net email is sponsored by: Microsoft Defy

Re: [iText-questions] absolute positining of text

2008-02-05 Thread 1T3XT info
[EMAIL PROTECTED] wrote: > I get a string from a class separated by '|'. Now I have to iterate over > this > string using the StringTokenizer. So far so good. If I try to > positioning the > token on a specific position, iText places all tokens on the same line. > I tried > newlineShowText, Paragr

Re: [iText-questions] [PDF Forms] Placeholder Value "N" in Empty Fields

2008-02-05 Thread 1T3XT info
Sean Mills wrote: > Hello, > > I'm trying to take data from a FileMaker database and populate a PDF > form, and everything is working well, except when I try to set fields > that have empty values. An "N" placeholder character is inserted, and > I don't know what that means. I'm not sure wh

Re: [iText-questions] How to read Ascii letter into pdf using i-Text

2008-02-05 Thread 1T3XT info
harsha_reddy wrote: > I basically have to read a data file which contains a signature in ASCII > format and I have to display this signature as a image in my PDF using iText It's hard to imagine what 'a signature in ASCII format' looks like. Are you talking about ASCII art? http://en.wikipedia.org

Re: [iText-questions] iText Acrofields and Javascript

2008-02-05 Thread 1T3XT info
Joe Gerew wrote: > I have been trying to extract the javascript text from an acrofield > field item. I have tried using both PdfName.ANNOT, ANNOTS, > JAVASCRIPT, and JS to no avail. The javascript was placed into the > acrofield using the actions tab on Adobe Acrobat. > > Can this be done?

[iText-questions] Help with itextsharp and security

2008-02-05 Thread Kevin Brown
I had an application that worked with an older version of iText. I updated the reference to the newest version of itextsharp and made appropriate code changes (i.e. getKey to GetKey ...) I cannot figure out what the error is that I get (I apologize as I don't really understand all the nuances of t