[iText-questions] Changing the blur appearance of Check Box fields

2011-10-01 Thread steve poling
Hi, I'm having difficulty with two types of AcroFields, Check Box and Text, and I think they're related. As you may recall, the appearance of a field can change with its state. We're having difficulty controling the appearance of the field through these changes. When we generate Check Box fiel

[iText-questions] Why does text shrink in WMFs by .86?

2010-12-08 Thread steve poling
Hello all, I've been tracking down a bug in my software that takes a WMF file, and puts it into a PDF using iTesxtSharp v4.0.5. The content of the WMF is legal text that certain jurisdictions require be no-smaller-than a particular point-size. (The "fine print" cannot be too fine.) I put the W

Re: [iText-questions] public vs internal iTextSharp.text.pdf.AcroFields.Item.page accessibility

2010-11-19 Thread steve poling
On 11/19/2010 3:30 PM, 1T3XT info wrote: > On 19/11/2010 20:44, steve poling wrote: >> PLEASE STOP ME. > > Steve, STOP! > Look for a method named size ;-) Thanks, but size returns the count of the values list. Have I any guarantee this structure will have the same occupanc

[iText-questions] public vs internal iTextSharp.text.pdf.AcroFields.Item.page accessibility

2010-11-19 Thread steve poling
Hi Everyone, I just tried to upgrade from v4.0.5 to v5.0.5 if iTextSharp and discovered to my horror that formerly public property page is now downgraded to an internal visibility. This would be OK, but I had a couple bits of test code that said things like this: trueFieldsCount += acroFie

[iText-questions] Concerning fields on PDF forms

2009-02-17 Thread steve poling
nent to my question? Can anybody point me to some sample code where this is done? Thanks in advance, I'm much obliged for all your help. smiles and cheers, steve poling grand rapids, MI -- Open Source Business C

[iText-questions] READING custom-named, document-level JavaScript?

2007-08-28 Thread steve poling
Bruno, Thank you. I'll check out your changes. > If you use the version of iText that is in SVN, you can > execute the adapted Calculator example (see attachment). > As you can see: I used custom names for every piece of JS. > br, > Bruno > When you implemented a mechanism to WRITE these cust

[iText-questions] NAMED JavaScript functions at a document-level

2007-08-27 Thread steve poling
Hello, If I go into Adobe Acrobat, I can menupick Advanced | JavaScript | Document JavaScrpts... and then I can define named JavaScript functions, that is, I can enter a function name, and associate with it some JavaScript. Then if I look at the PDF at a low level, I see Root | Names | JavaScr

[iText-questions] How to read Document-Actions

2007-08-24 Thread steve poling
Hi, When i want to write document-actions into a PDF, I do something like this: |PdfAction action = PdfAction.javaScript("app.alert(\"I'm here!\");\r",writer); | |writer.setAdditionalAction(PdfName.WP,action); | What I can't figure out is the best way to open & read a PDF file and get its d

[iText-questions] state-based J/NUnit testing of iText considered harmful

2006-12-03 Thread steve poling
Paolo, I've written unit tests that give false alarms much as you describe. For example, I have a number of NUnit tests that all fail b/c I write a PDF, compare it to a baseline PDF, and they fail, because the iText version number in the header (or something else) changes. It's a pain in the b

[iText-questions] How do I use PdfFormField.Page?

2006-11-15 Thread steve poling
Hi all, When I put AcroFields on a form: If the names are all distinct, all is well. If they are duplicated, I have to do something special, as Paolo has described elsewhere. In particular, AcroFields appearing on different pages may have the same name. If all field names are different this st

[iText-questions] Sample code for same-named fields

2006-11-09 Thread steve poling
Paolo, Thanks for this information. > That's not a bug. Fields with the same name must be created with a > single field dictionary and several widget kids, one for each visible > instance. Create in acrobat two fields with the same name. Then, use the > Java toolbox to see the field structure, yo

[iText-questions] same-named fields, more information

2006-11-09 Thread steve poling
Hi all, I'm sorry I didn't include this information in my original post on this subject, but I only learned this recently. I have been poking around a bit with the PDF file I generated with duplicated field names. To recap, I generate a form with a TextField named "dp" on page 1 and page 2 of

[iText-questions] same-named fields on a form

2006-11-08 Thread steve poling
Hi all, I have created a PDF with Acrobat, manually inserting two (or more) TextField's with the same name. When I open this PDF with Acrobat, all the fields appear. I wrote a program to read the PDF and I see that reader.AcroFields.Fields.Count corresponds to the number of "distinct" field na

[iText-questions] How to Lock and how to Sort

2006-11-07 Thread steve poling
Hi all, When I inspect a ComboBox field under Adobe Acrobat, the dialog box has checkboxes indicating whether the field is "locked" or not in the lower left hand corner. Also, in the options tab thereof, there are checkboxes for "sort items" and "allow user to enter custom text." Can I use iTe

[iText-questions] The relationship between iTextSharp permissions and Acrobat dialogs

2006-11-07 Thread steve poling
Hi all, I don't adequately understand the relationship between the permissions defined by iTextSharp and the related permissions you see when you look a document's properties' Security. It appears that some permissions depend upon others, or are overruled by others. To illustrate, open a PDF f

[iText-questions] control open to page number of initial view?

2006-11-07 Thread steve poling
Hi all, First, I'm incredibly impressed by the responsiveness of this listserve. Thanks a bunch to those who've been so helpful. If ever in Grand Rapids, MI, I'll buy a round of your favorite beverage. I'm trying to control the initial view of the PDF when the file is opened. Now I'm looking a

[iText-questions] how do I get OpenAction

2006-11-06 Thread steve poling
Hi all, Kudos to Paolo for cluing me into using PdfWriter.setOpenAction() to control the zoom level. I have unit tests that create PDFs with various attributes and the unit test then opens the newly made PDF to inspect that same thing. OK, so I know the JavaScript what I hope got put into the

[iText-questions] control magnification of initial view?

2006-11-02 Thread steve poling
Hi all, I'm trying to control the initial view of the PDF when the file is opened. I've had good luck with the Viewerpreferences controlling the page mode and the page layout (thanks Bruno). But I'd like to control the initial magnification or zoom when the file is opened. So far, the magnific

[iText-questions] initial view document properties

2006-10-26 Thread steve poling
Hi (first i want to express thanks for the help provided so far), When I open a PDF file under Acrobat and examine its properties, the "Initial View"'s comboboxes for "Show", "Page Layout", & "Magnification", and a radiobutton for "open to page number" with a page number. Can iTextSharp set the

[iText-questions] how to set the "application" document property

2006-10-23 Thread steve poling
Hi, When I generate a PDF then open it in Adobe Acrobat, the "Document Properties" dialog has a "Description" that shows, Title, Author, Subject, Keywords in text boxes. Then Created, Modified, and Application appear as text labels. The Created and Modified dates are just fine, but the "Applic

[iText-questions] TextField and other tooltips

2006-10-19 Thread steve poling
e original TextField. But this seems wrong. Thanks in advance, steve poling - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier