For our application, we have an interactive form that we use to merge xfdf data into.  Some of the fields on the form are right aligned and have trailing dots, i.e. “Language…..English”, where “English” is a field on the form.  Obviously, names of languages occupy varying amounts of space.  The first thing we tried to do was to make a right-justified textbox and add a large number of periods.  Despite the fact that the box is right-justified, the result in Acrobat is that only the periods show and not the language name.

 

Has anybody else had this problem? What have you done to fix/workaround this problem?

 

One workaround we though of was to dynamically resize the textbox to make it fit the text exactly, and statically have the dots in the background. The problem is, we don’t know how to use iText to get the coordinates of a field and much less how to change those coordinates.

 

Anybody know how to do this?

 

Thanks in advance,

Robbie

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to