PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/ __________________________________________________________________

A few month ago, I'd downloaded a file named "dyn_fax.pdf" but I can't remember where...

This PDF doc uses an "Overflow script, by Joshua See"
In this example, text overflowing the Text Form on the 1st page is transferred to the next, and trancated beyond that.
I hope this may be usefull for your intend.


Try Google...

;-)
JR


Le mardi, 24 juin 2003, � 18:40 Europe/Paris, Craig Pennington a �crit :


I am creating forms where the amount of text in some fields is hard to control or predict, but it is important that all the text is visible to print or view.� For simple single-line fields, it seems I can do this by setting the font size (textSize) to auto and�the rectangle for the field to a size that results in the desired font size for a case where the text will fit in the field.� If more text is entered than will fit, the font size shrinks to make it fit.� Very cool.

However, in multi-line fields, the font size will start huge, and only shrink when text overflows.� I would like to be able to set a maximum font size, so that, for example, text starts out at 10pt, but if it would overflow, shrink to fit.� I can't see any way to do that.�

Does anyone know of a way to determine in JavaScript that the text in a field will not fit with the current font size?� Then I could detect that case and set the font size to auto.

Craig


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html



Reply via email to