Re: [iText-questions] Barcode font size

2008-02-15 Thread 1T3XT info
Ruskin Dantra wrote: > Funny...you provide both sides of the argument but a solution to neither... When you ask half a meter of beer, some pubs give you a glass of half a meter high, others give you a row of glasses that is half a meter wide. If you ask me a barcode with a font size of 24, I have

Re: [iText-questions] Barcode font size

2008-02-15 Thread Ruskin Dantra
Funny...you provide both sides of the argument but a solution to neither... On Fri, Feb 15, 2008 at 8:53 PM, 1T3XT info <[EMAIL PROTECTED]> wrote: > Ruskin Dantra wrote: > > So if I want the barcode to be of "font 34pt" is there an example which > > tells me what the value of the bar height and

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

2008-02-15 Thread Sarah1
Hi Bruno, Now I'm confused by adding radio buttons on different page. I want name1(text), preferred1(radio) on 1st page, name2 and preferred2(radio) on 2nd page. I also want to use a cool looking checkbox instead of big X. (I can make big X checkboxes working, but not the following code.) Could y

Re: [iText-questions] AcroFields getNewPushbuttonFromField and/orreplacePushbuttonField loses Options

2008-02-15 Thread Paulo Soares
That's a bug, it's now fixed in the SVN. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Tim Troy > Sent: Friday, February 15, 2008 4:16 PM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] AcroFields > getNewPushb

Re: [iText-questions] finding the position of xobject in an existing pdf

2008-02-15 Thread Leonard Rosenthol
And as noted by others, but let me reiterate... Since an XObject is a shared object, it can be used on multiple pages or even multiple times on the same page. As such, you will find that for each XObject there can/will be MULTIPLE positions and transformations. Perhaps if you gave us some

[iText-questions] AcroFields getNewPushbuttonFromField and/or replacePushbuttonField loses Options

2008-02-15 Thread Tim Troy
I am populating an AcroFields form dynamically in a Java Servlet. It's almost perfect. The problem area is the VISIBLE_BUT_DOES_NOT_PRINT option is lost in the process. The original pdf "template" has a PushbuttonField name "Edit". What I am doing is getting the "Edit" button and setting the url

Re: [iText-questions] finding the position of xobject in an existing pdf

2008-02-15 Thread chris glace
Looks like thats exactly what I have to do. . . well at least I know its not as easy as I had planned. On Feb 15, 2008, at 9:58 AM, 1T3XT info wrote: > chris glace wrote: >> Right, is there not a way to obtain the transformation matrix for the >> image? > > I think you didn't understand the ans

Re: [iText-questions] Three recommendations to make your s/wenterprise-worthy

2008-02-15 Thread Bruno Lowagie
Quintana Maldonado, Rafael wrote: > Bruno, I'm pretty sure that you are that kind of people that constantly > improve your work on the basis of self motivation. > > So, just put these recommendations on your desk and give them a chance > later, when you consider it is suitable. Yes, that's true.

Re: [iText-questions] Three recommendations to make your s/wenterprise-worthy

2008-02-15 Thread Quintana Maldonado, Rafael
Bruno, I'm pretty sure that you are that kind of people that constantly improve your work on the basis of self motivation. So, just put these recommendations on your desk and give them a chance later, when you consider it is suitable. Long live to iText and it's new versions that will come on th

Re: [iText-questions] finding the position of xobject in an existing pdf

2008-02-15 Thread 1T3XT info
chris glace wrote: > Looks like thats exactly what I have to do. . . well at least I know > its not as easy as I had planned. Wow! You are one very brave man. Please keep us posted on your progress. First things first: download the PDF Reference (it's available for free). Chapter 4 is a good pl

Re: [iText-questions] Tool Tips before and after resultWriter.addPage(page)

2008-02-15 Thread 1T3XT info
chris123321 wrote: > I never heard of XFA or AcroForms before As a matter of fact, that's probably not the official terminology, but it's an easy way to refer to PDF forms defined in "PDF style" syntax introduced in PDF 1.2, as opposed to forms defined using the XML Forms Architecture introduced i

Re: [iText-questions] finding the position of xobject in an existing pdf

2008-02-15 Thread 1T3XT info
chris glace wrote: > Right, is there not a way to obtain the transformation matrix for the > image? I think you didn't understand the answers you've already received. There is no such this as 'the' transformation matrix for the image. Have you read Fabrizio's answer? (Which was by the way very

Re: [iText-questions] Tool Tips before and after resultWriter.addPage(page)

2008-02-15 Thread chris123321
1T3XT info wrote: > > chris123321 wrote: >> Ok, I attached a small eclipse project, without the itext 2.0.8 jar. The >> resulting pdf resides in the bin folder. > > Aha, before I could only guess; now your problem is crystal clear. > > Have a look at your original PDF. > It contains an XFA for

Re: [iText-questions] finding the position of xobject in an existing pdf

2008-02-15 Thread chris glace
Right, is there not a way to obtain the transformation matrix for the image? On Feb 15, 2008, at 2:48 AM, 1T3XT info wrote: > chris glace wrote: >> I'm trying to find the position of an xobject in an existing pdf >> file. >> I'm wondering if there is a way to use stream.get(PdfName. . . >> to re

Re: [iText-questions] Tool Tips before and after resultWriter.addPage(page)

2008-02-15 Thread 1T3XT info
chris123321 wrote: > Ok, I attached a small eclipse project, without the itext 2.0.8 jar. The > resulting pdf resides in the bin folder. Aha, before I could only guess; now your problem is crystal clear. Have a look at your original PDF. It contains an XFA form with stuff like:

Re: [iText-questions] Tool Tips before and after resultWriter.addPage(page)

2008-02-15 Thread chris123321
1T3XT info wrote: > > chris123321 wrote: >> The problem persists > > I don't have the time to create a PDF with Tool Tips, > then copy/paste your code into something I can run on > my machine and reproduce your problem. > > But if you can provide a small sample (a zip file with > 2 one page P

Re: [iText-questions] Height of the paragraph.

2008-02-15 Thread 1T3XT info
nmwp wrote: > That doesn't work if paragraph is few lines long. My paragraph is about 5 > lines long and I need to get it's total height and not the height of the > paragraph's line. Then I misinterpreted your question. I thought you were asking for the height of a paragraph line. > 1T3XT info wr

Re: [iText-questions] Height of the paragraph.

2008-02-15 Thread nmwp
1T3XT info wrote: > >> How to get the height of the paragraph? > > The height of a paragraph is defined by the leading. > Search for methods getLeading and setLeading. > That doesn't work if paragraph is few lines long. My paragraph is about 5 lines long and I need to get it's total height an

Re: [iText-questions] Tool Tips before and after resultWriter.addPage(page)

2008-02-15 Thread 1T3XT info
chris123321 wrote: > The problem persists I don't have the time to create a PDF with Tool Tips, then copy/paste your code into something I can run on my machine and reproduce your problem. But if you can provide a small sample (a zip file with 2 one page Pdfs and a one-class standalone Java app),

Re: [iText-questions] ERROR: limitcheck OFFENDING COMMAND: gsave

2008-02-15 Thread Andrei Costescu
Thanks Fabrizio. This is the result: Not printable - max level: 1 [Page: 1,CurrentLevel: 1,obj2Name: /img1,obj2Name: /img0] Printable - max level: 1 [Page: 1,CurrentLevel: 1,obj2Name: /img0] Strange, I would have expected > 15 for non printable PDF... I see there is a differ

Re: [iText-questions] Height of the paragraph.

2008-02-15 Thread 1T3XT info
nmwp wrote: > How to get the height of the paragraph? The height of a paragraph is defined by the leading. Search for methods getLeading and setLeading. > Is there a way to remove all document content (before closing it) so that > writer's method getVerticalPosition would return the initial value

Re: [iText-questions] PDFStamper: Color of text in PDF changes when replacing button with PNG Image

2008-02-15 Thread Leo Erlandsson
Leonard Rosenthol wrote: > > What are you seeing is the impact of newly placed transparency into a > PDF that had not previously contained it, when consideration isn't > given for the blending colorspace of the final output document. > > You have an RGB document that upon adding transparenc

[iText-questions] Height of the paragraph.

2008-02-15 Thread nmwp
How to get the height of the paragraph? Is there a way to remove all document content (before closing it) so that writer's method getVerticalPosition would return the initial value like at the begining when document is empty? -- nmwp -- View this message in context: http://www.nabble.com/Heigh

[iText-questions] Turn-off anti-aliasing in BarcodePDF417

2008-02-15 Thread Javier González
My application generates a 2-D Barcode using BarcodePDF417 from iText. My issue is that some printers (with PCL5 driver installed in much times), do anti-aliasing and includes some gray areas in the printout, and create a problem when we read the code. It´s imposible to control the driver insta

Re: [iText-questions] Three recommendations to make your s/w enterprise-worthy

2008-02-15 Thread Bruno Lowagie
I'm forwarding this to the mailing list to make some things clear. X wrote: > Hi, > > It's not about over Table or PdfPTable! > If any one of them properly implemented, it's fine. > As I wrote you before, I am not writing production > programs. I am testing capabilities before I start to > recomm