Re: [iText-questions] How to fill the static fields of a XFA-based form ?

2011-07-04 Thread Leonard Rosenthol
That's correct - you either have a dynamic PDF or a static PDF, take your choice. BUT you should be able to fill in ANY part of a dynamic PDF simply by modifying the XML. You simply need to parse the XML and manipulate it. On 7/4/11 6:54 PM, "Roberto" wrote: >Yes, but if I save the form from L

[iText-questions] GetAscentPoint and GetDescentPoint return 0 for specific fonts in iTextSharp

2011-07-04 Thread Wim Lambrechts
Hello, I would like to determine the height of a text for a given font. For most fonts the GetAscentPoint and GetDescentPoint return a correct value but for some fonts it just returns 0. Eg: Myriad Pro Bold Condensed (otf font installed by installing Adobe photoshop) returns 0 However:Myriad

Re: [iText-questions] How to fill the static fields of a XFA-based form ?

2011-07-04 Thread Roberto
Yes, but if I save the form from LiveCycle Designer as "Adobe Static PDF Form (*.pdf)", I won't be able to fill - for instance - a table dynamically via xml like in Listing 8.28 of the book by Bruno. So, if I need a form with a dynamic table (from 0 to n rows) and text fields before and after th

[iText-questions] Remove me from list please

2011-07-04 Thread Cherie
Please remove me from this list, I don't need the help at the moment. Thank you, Cherie Beers Sent from my iPhone -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definiti

Re: [iText-questions] Enabling Extended Features in Adobe

2011-07-04 Thread AB
Okay, found the solution to my problem and posting it here for the benefit of others. 1. Problem: The pdf was getting corrupt when creating a stamper with append mode. This worked when creating the same file without append. Solution: I was using a MemoryStream as the writing stream and then using

Re: [iText-questions] How to fill the static fields of a XFA-based form ?

2011-07-04 Thread 1T3XT BVBA
On 4/07/2011 10:04, Roberto wrote: > As you suggested, I checked with listing 8.18 and the output is just the > following line: > XFA form > > I suppose this means I have no AcroFields. That's correct. > Maybe I should create a XFA form with an AcroForm counterpart. > How can I do that ? That sh

Re: [iText-questions] How to fill the static fields of a XFA-based form ?

2011-07-04 Thread Roberto
As you suggested, I checked with listing 8.18 and the output is just the following line: XFA form I suppose this means I have no AcroFields. My form is the same created by Bruno Lowagie in section 8.6.2 of his book plus: a text field and an image in the Master page a text field below the subfo