Title: RE: [iText-questions] Problem with reformatting text on the same line as a form field.
That's what we are currently doing.  The problem with that approach is that whenever there is a change to the text of a PDF document a developer has to get involved with modifying the XSL, XML and maybe the FOP code.  I was looking for an approach where a non developer would modify the text and/or form fields using Adobe Acrobat and place the modified PDF in a Content Manager.  A Java application would retrieve the document and update the form fields produce the PDF.  This way a developer would maintain the code and not get involved with formatting the PDF document.
 
Thanks,
Russell Burke
CTG
Systems Advisor
770-776-4000 - CTG
601-664-4756 - BCBSMS


From: Paulo Soares [mailto:[EMAIL PROTECTED]
Sent: Wed 10/26/2005 9:44 AM
To: Russell Burke; [email protected]
Subject: RE: [iText-questions] Problem with reformatting text on the same line as a form field.

Why don't you set the text in the XML before processing it with FOP.
Makes more sense here.

> -----Original Message-----
> From: Russell Burke [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 26, 2005 2:21 PM
> To: Paulo Soares; [email protected]
> Subject: RE: [iText-questions] Problem with reformatting text
> on the same line as a form field.
>
> Ok, fair enough, here's what I'm trying to accomplish. 
> Currently, we are producing PDF files using the FOP Java
> library.  We would like to create PDF forms containing text
> fields for applicant's full name, dates, etc.  I will then
> store these PDF forms in a Content Manager.  I currently,
> have an SDK for the Content Manager so that I can retrieve
> the PDF forms using as Java application.  Now I'm attempting
> to update those form fields with the appropriate dynamic text
> using the iText Java library.  I can update the form fields
> but because the fields are fixed length I have to make them
> wide enough for the maximum length of that field.  So in the
> case of a date no problem because we can enforce the
> formatting rule that dates can only be mm/dd/yyyy and pad
> accordingly.  But in the case of a full name a lot of names
> will fall short of the maximum length leaving a large number
> of trailing whitespaces.  My client will not be happy with
> this when they where getting perfectly formatted reports with
> the FOP approach.  I was trying to find  way to remove the
> trailing white spaces or suggest another approach.  I was
> hoping you or someone else might know of a way to accomplish
> this because this is the only hurdle I have in order to sell
> them on this approach.  

> Thanks,
> Russell Burke
> CTG
> Systems Advisor
> 770-776-4000 - CTG
> 601-664-4756 - BCBSMS
> [EMAIL PROTECTED]
>
> ________________________________
>
> From: Paulo Soares [mailto:[EMAIL PROTECTED]]
> Sent: Tue 10/25/2005 6:23 PM
> To: Russell Burke; [email protected]
> Subject: Re: [iText-questions] Problem with reformatting text
> on the same line as a form field.
>
>
>
> The problem is not the tool. You want something that the PDF
> format can't
> give you. You'll probably need a different workflow to do
> that but it all
> depends on the project and you didn't give enough information
> even for an
> educated guess.
>
> ----- Original Message -----
> From: "Russell Burke" <[EMAIL PROTECTED]>
> To: "Paulo Soares" <[EMAIL PROTECTED]>;
> <[email protected]>
> Sent: Tuesday, October 25, 2005 11:07 PM
> Subject: RE: [iText-questions] Problem with reformatting text
> on the same
> line as a form field.
>
>
> Re: [iText-questions] Problem with reformatting text on the
> same line as a
> form field.Do you think this would possible with the Adobe
> SDK?  If not, do
> you have any suggestions?
>
> Thanks,
> Russell Burke
> CTG
> Systems Advisor
> 770-776-4000 - CTG
> 601-664-4756 - BCBSMS
> [EMAIL PROTECTED]
>
>
> --------------------------------------------------------------
> --------------
> ----
> From: Paulo Soares [mailto:[EMAIL PROTECTED]]
> Sent: Tue 10/25/2005 3:52 PM
> To: Russell Burke; [email protected]
> Subject: Re: [iText-questions] Problem with reformatting text
> on the same
> line as a form field.
>
>
> Reflow is not possible to do with PDFs, with or iText or
> anything else. You
> may (or may not) do it in other ways depending on what you are doing.
>
> ----- Original Message -----
> From: "Russell Burke" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, October 25, 2005 8:11 PM
> Subject: [iText-questions] Problem with reformatting text on
> the same line
> as a form field.
>
>
> Hi,
>
> I'm trying to reformat a line of text where a form field
> resides because
> depending on the dynamic text generated there could be a
> large number of
> trailing spaces.  In the case below, the name John Doe was
> generated using a
> text field.  I defined the text field to be is long as our
> maximum name
> length but most names will not be that long.  I looked in
> Adobe Acrobat Pro
> 7, but I can't find an attribute to set to remove the
> trailing space and
> move the rest of the trailing sentence one space after the
> last name.  Is
> there a way to do this with iText?
>
> This is a sample of what I mean: John Doe       , is the name of the
> applicant.
>
> Thanks,
> Russell Burke
> CTG
> Systems Advisor
> 770-776-4000 - CTG
> 601-664-4756 - BCBSMS
> [EMAIL PROTECTED]
>
>
> --------------------------------------------------------------
> --------------
> ----
>
>
> > The information transmitted is intended only for the person
> or entity
> > to which it is addressed and may contain confidential and/or
> > privileged material. Any review, retransmission, dissemination
> > or other use of, or taking of any action in reliance upon, this
> > information by persons or entities other than the intended recipient
> > is prohibited. If you received this in error, please contact the
> > sender and delete the material from any computer.
>
>
>
>
>
> --------------------------------------------------------------
> --------------
> ----
>
>
> > <html><head><Meta CTGDisctag > </head>
> > <p></pre><i><font face="Arial" size="1">The information
> transmitted is
> intended only for the person or entity to which it is addressed
> > and may contain confidential and/or privileged material. Any review,
> retransmission, dissemination
> > or other use of, or taking of any action in reliance upon, this
> information by persons or entities
> > other than the intended recipient is prohibited. If you
> received this in
> error, please contact the
> > sender and delete the material from any
> computer.</font></i><pre></p>
> > </html>
>
>
>
>

------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to