Re: [iText-questions] Problem with adding textfield

2008-10-29 Thread precyz
I'm sorry for last one. I have right. Thank you. -- View this message in context: http://www.nabble.com/Problem-with-adding-textfield-tp20222830p20224362.html Sent from the iText - General mailing list archive at Nabble.com. -

Re: [iText-questions] Problem with adding textfield

2008-10-29 Thread precyz
1T3XT info wrote: > > precyz wrote: >> I have problem with adding textfield to PDF. I have document that >> contains >> AcroForms all kinds: radiobuttons, checkboxes etc. This documnet wasn't >> created by me. I want to add new textfield (multiline)

[iText-questions] Problem with adding textfield

2008-10-29 Thread precyz
I have problem with adding textfield to PDF. I have document that contains AcroForms all kinds: radiobuttons, checkboxes etc. This documnet wasn't created by me. I want to add new textfield (multiline) to second page of this document. I've tried this: PdfReader reader = new PdfReader("c:/file.pdf

[iText-questions] To big space between lines in textfield

2008-09-26 Thread precyz
I have this problem: I have pdf file with multiline textfields. When I set field value as multiline string (eg. "a\na\naaa") and after that open pdf I see this: a a aaa I want to see: a a

Re: [iText-questions] Under/Over content and acrofield

2008-06-18 Thread precyz
You can use something like this: BaseFont bfont = BaseFont.createFont(BaseFont.Helvetica, BaseFont.CP1250, BaseFont.NOT_EMBADED); acroField.setFieldProperty("fieldName", "textfont", bfont, null); This will set fon Helvetica on acroField named fieldName. Marco-14

Re: [iText-questions] Under/Over content and acrofield

2008-06-17 Thread precyz
You can always change font color in acro field useing acroField.setFieldProperty(fieldName, "textcolor", java.awt.Color.YELLOW, null); for example. Marco-141 wrote: > > Hi, > > this is my first question. I have to put a text over acrofields. The > problem is that if the acrofield has a c

Re: [iText-questions] Radiobuttons in iText ?

2008-06-12 Thread precyz
Thank you for help. Br, Paweł Gawędzki Bruno Lowagie (iText) wrote: > > Gawędzki wrote: >> I do not understand why method getField("fieldname") returns me "yes". > > OK, then that is the difference between the example in the book and your > PDF. Please open your PDF in iText RUPS and select t

Re: [iText-questions] Radiobuttons in iText ?

2008-06-11 Thread precyz
In my case this instruction returns only "yes": form.getField("nameRadiobutton") is equal to "yes". This says anything to me becouse i need something different. Lets take eg. from your book. There is radiobutton named "language". It has values "languages = { "English", "French", "Dutch" };". On d

[iText-questions] Radiobuttons in iText ?

2008-06-11 Thread precyz
I have radiobutton named "nameRadiobutton". It has four buttons: a, b, c, d. Button c is in state "on" (it means the rest are in state "off"). How in iText can I check which button (a, b, c or d) is in state "on" ? I know how to get names of this four buttons: PdfReader reader = new PdfReader("i

Re: [iText-questions] About standards of barcodes ?

2008-06-06 Thread precyz
TECTED] wrote: >> >> Bar Codes are an industry standard and are NOT a standard put in place >> by iText. > > Correct. iText implements the standard. > All issues that have been reported about "iText not following the > standard" > turned out being wrong; the

[iText-questions] About standards of barcodes ?

2008-06-04 Thread precyz
I have iText 2.0.8. I did small apolication that creates two-dimension barcodes on pdf document. I found that iText support only one standard for two-dimension barcodes. Barcodes generated with iText are diffrent then barcodes (for eg.) that contains serial nomber of Nokia cell phone. Barcodes fro

Re: [iText-questions] Is it possible to create radiobutton and checkbox with the same name ?

2008-06-03 Thread precyz
only last created object. Have you tried? Did it work? On 03/06/2008, precyz <[EMAIL PROTECTED]> wrote: > > > -- > View this message in context: > http://www.nabble.com/Is-it-possible-to-create-radiobutton-and-checkbox-with-the-same-name---tp17617053p17617053.html &

Re: [iText-questions] Is it possible to create radiobutton and checkbox with the same name ?

2008-06-03 Thread precyz
No it isn't. I've just chacked. precyz wrote: > > > -- View this message in context: http://www.nabble.com/Is-it-possible-to-create-radiobutton-and-checkbox-with-the-same-name---tp17617053p17619598.html Sent from the iText - General mailing list ar

[iText-questions] Is it possible to create radiobutton and checkbox with the same name ?

2008-06-02 Thread precyz
-- View this message in context: http://www.nabble.com/Is-it-possible-to-create-radiobutton-and-checkbox-with-the-same-name---tp17617053p17617053.html Sent from the iText - General mailing list archive at Nabble.com. - Th

[iText-questions] Never MIND

2008-05-23 Thread precyz
precyz wrote: > > I'm from Pland and i need to use Polish letter that's way I want to change > default font in AcroFields. > For eg. > > DocumentBuilderFactory dbfac = > DocumentBuilderFactory.newInstance(); > DocumentBuilder doc

[iText-questions] How can I change default font in AcroFields ?

2008-05-23 Thread precyz
I'm from Pland and i need to use Polish letter that's way I want to change default font in AcroFields. For eg. DocumentBuilderFactory dbfac = DocumentBuilderFactory.newInstance(); DocumentBuilder docBuilder = dbfac.newDocumentBuilder(); Document doc = docBuilder.parse(new

[iText-questions] Problem with AcroFields and RadioButton

2008-05-16 Thread precyz
I have a proper pdf document with RadioButtons and TextFields inside. I read this document and extract all AcroFilds. After that i put same data to this AcroFields and stored document in a file. My problem is: all Text Fields are fill in properly but i do not know how put (eg.) 'X' to RadioButton.

[iText-questions] is it possible to grab and move whole content of pdf ?

2008-04-10 Thread precyz
I created one pdf from few pdfs useing this code: PdfReader reader = new PdfReader(sciezkaout + pliki[0]); Rectangle page_size = PageSize.A4; PdfCopy copy = new PdfCopy(document, new FileOutputStream(sciezkaout + "sklejony.pdf")); document.open();

Re: [iText-questions] pdf Image to real Image?

2008-04-04 Thread precyz
OK. Now code looks like this and its still doesn't work: public void putDataToPdf(String existing_pdf) { try { PdfReader reader = new PdfReader(existing_pdf_file); int nu_pages = reader.getNumberOfPages(); PdfStamper stamper = new PdfStamper(read

[iText-questions] problem with adding text to existing pdf

2008-04-04 Thread precyz
I have a problem with adding text to existing pdf. The example from book doesn't work. My code looks like this: public void putDataToPdf(String existing_pdf) { try { PdfReader reader = new PdfReader(existing_pdf_file); int nu_pages = reader.getNumberOfPages();