1T3XT info wrote: > > ralphcook wrote: >> I think I must have a different version than you; I'm looking at page 678 >> of >> the PDF reference, and it's in the middle of section "9.10.1 Page >> Boundaries" > > See attachment for p678. By not providing a link to the form, > you're not really helping us helping you. If you want to know > about incremental updates, see chapter 18 of "iText in Action". > There's only 1 version of that book ;-) In the PDF Reference, > you should find a section "incremental updates" in chapter 3 > (section 3.4.5 in my version). > -- > This answer is provided by 1T3XT BVBA >
My apologies for not uploading a form file you already; I thought that there were still questions to answer without doing that, so I was putting it off. I've uploaded the file http://www.nabble.com/file/p16952830/cr-500-court.pdf cr-500-court.pdf . The field in question is the only one with a label (not a name) of "City"; it is named defendant.city, and it is physically near the top of the form, under a field labelled "Address" and right of one labelled "Social Security Number". Just to restate: my problem is that, if you open the form in Adobe Reader and click in the "City" field, the cursor appears at the left part of the box and text typed in is left-justified. If you read this form with iText, the Q attribute of that field is 1, meaning "center-justified". Other fields in this form which are left-justified in A Reader have a Q value of 0, and other fields which are centered in A Reader have a Q value of 1. The field that is not behaving as expected was recently changed from "center" to "left" justified in the forms creation program our shop uses. To repeat my outstanding questions: 1. Is there any way to tell, from the form file itself, whether it contains incremental updates? 2. When one calls the iText PdfReader.getAcroFields(), can it miss information about fields if that information has been added incrementally? I'll add this: 3. If not incremental updates, does anyone have any other ideas about why this might happen on some of these fields? Incidentally, I tried loading the form file into a text editor, just to see if I could see any evidence of incremental update. I didn't, but I am not very familiar with this file format, and was just looking for obvious things. The security aspect mentioned in the PDF Reference was promising, but it turns out there's no security on this form. I'm open to suggestions. -- View this message in context: http://www.nabble.com/want-to-detect-field-alignment-when-filling-in-a-form-tp16852535p16952830.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Do you like iText? Buy the iText book: http://www.1t3xt.com/docs/book.php Or leave a tip: https://tipit.to/itexttipjar
