Re: [iText-questions] java.lang.UnsatisfiedLinkError: running tomcat on java headless?

2009-09-01 Thread Eric Lou
Back to the error message, it seems cannot find the file "libmlib_image.so" can you "see" the file manually? 2009/9/1 method8 > > I'm getting this problem when trying to run iText library from a servlet > installed on a linux box without X. Someone over a tomcat-user forum > suggested it might b

[iText-questions] about setListSelection

2009-08-03 Thread Eric Lou
Hi, refer to the sample: http://1t3xt.info/examples/browse/?page=example&id=418 we can use setListSelection to set the values to a listbox, This method has been added since 2.1.4, however, as mentioned by the document: Sets different values in a list selection. No appearance is generated yet; nor

Re: [iText-questions] how to make pdf read only after filling data into pdf

2009-07-22 Thread Eric Lou
Hi, there is an example on the book at page 507. thanks. 2009/7/23 TinuM > > Hi all, > > I am filling the pdf using itext.i want to make it read only pdf after > filling data into my pdf.I am able to fill the data into my pdf now i have > to make it read only by programatically. > Can any one

Re: [iText-questions] radio button positions and value mapping

2009-07-22 Thread Eric Lou
Thanks for reply, actually, i've tried this way with following code: Item item = form.getFieldItem(key); for(int ii =0;ii > Eric Lou wrote: > > Hi all, > > > > refer to the book, we can get all possible values for radio button group >

[iText-questions] radio button positions and value mapping

2009-07-22 Thread Eric Lou
Hi all, refer to the book, we can get all possible values for radio button group with the field name, like: String[] states = form.getAppearanceStates(acroFieldName); and also, we can know the positions for all radio buttons with the field name, like: float[] pos= form.getFieldPositions(acroField

[iText-questions] page information for each field in XFA form

2009-07-15 Thread Eric Lou
Hi Experts: i'm trying to do a test for getting general information for each fields from XFA form like following code: PdfReader reader = new PdfReader(pdfFile); XfaForm xfaForm = new XfaForm(reader); if (xfaForm.isXfaPresent()) { HashMap templateNodes = xfaForm.getTemplateSom().getName2N