Re: [iText-questions] WordSpacing and CharacterSpacing

2008-01-29 Thread Stephan Michels
2008/1/28, Leonard Rosenthol [EMAIL PROTECTED]: On Jan 28, 2008, at 7:27 AM, Stephan Michels wrote: I can simply prevent orphans in a column if I check if the available height is smaller than e.g. 2 rows, then I put the paragraph into the next column. To prevent widows I have to adjust

Re: [iText-questions] Rather complex shipping slip

2008-01-29 Thread Bruno Waes
On Jan 24, 2008 12:44 PM, Paulo Soares [EMAIL PROTECTED] wrote: You have everything needed in Barcode128.java, look at getRawText(). Would this be the way to do it ? -- it generates a barcode but looks different from the one i generated with 'barbecue' (that nativly supports the B type, but

Re: [iText-questions] Is there a life after SHA-1 ?

2008-01-29 Thread akuehne
Hi Paulo, thanks for your hint ! My problem results from a sloppy read of the spec and a buggy implementation of my signing procedure ( calculated hex buffer too small ). Your mail motivated me to review both ;-) Greetings Andreas Paulo Soares wrote: You can sign with whatever hash you

Re: [iText-questions] Rather complex shipping slip

2008-01-29 Thread Paulo Soares
You'll need to create a new Barcode128 class with a new getRawText(). Look at the source. Paulo - Original Message - From: Bruno Waes [EMAIL PROTECTED] To: Post all your questions about iText here itext-questions@lists.sourceforge.net Sent: Tuesday, January 29, 2008 8:27 AM Subject:

Re: [iText-questions] Page numbers in tables in footers in PDFs

2008-01-29 Thread dafernan
I'm quite new to iText and found the same issue. I've tried to use the approach of wrapping the PdfTemplate inside an Image, but it doesn't work for me. Not sure how it could be done through CellEvent. Could you put a piece of code showing how both alternatives looked like? br, Daniel Bruno

[iText-questions] add/set quickinfo of a formfield

2008-01-29 Thread Tobias Meier
Hi iTexters, i know how to get the quickinfo from a form field PdfDictionary d = (PdfDictionary) item.merged.get(0); PdfString quickInfo = d.getAsString(PdfName.TU); but how does i set/add it? PdfFormField sfield = PdfFormField.createSignature(writer); I looked at all the set-Methods but

[iText-questions] Create a transparent cut-out area

2008-01-29 Thread Steven Bishop
First, I'd like to say well done on producing iText. Your project is very welcome. I'm struggling with how to create a very simple PDF that has 2 layers with the top layer having a simple transparent 'cut-out' area. I've got a small code snippet based on one of your examples. (code included at

Re: [iText-questions] add/set quickinfo of a formfield

2008-01-29 Thread Tobias Meier
Hi, i looked into the source code and the method 'setUserName' did the trick (sets the PdfName.TU flag). sfield.setUserName(Some Text for the Mouse-Over Information); But why isn't the method called 'setQuickInfo(String s)' ? ToM Hi iTexters, i know how to get the quickinfo from a form

[iText-questions] Annotation coordinate system

2008-01-29 Thread Andrew Mickish
My PdfAnnotations do not line up with the graphics drawn by PdfGraphics2D. JFreeChart fills out an info structure that contains the coordinates of all the points it plots. I successfully re-draw these points in a post-processing routine using PdfGraphics2D.drawPolygon(). However, using the

[iText-questions] iText web page

2008-01-29 Thread Derek Hohls
Hi Is it possible you can add a print-friendly CSS file to enable printing of your web page? Thanks! Derek -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be

[iText-questions] Working with XML

2008-01-29 Thread privat
Hello everybody, i tried to work with 2 xml-files. The first one (http://www.x-fo.net/itext/content1.xml) has the whole content of the whole pdf, and the referer to the layout (layout=Layout1.xml). The second (http://www.x-fo.net/itext/Layout1.xml) has the format for one page. So I tried to

Re: [iText-questions] Annotation coordinate system

2008-01-29 Thread Andrew Mickish
Ah, it was the document margins. g2.drawPolygon(p); java.awt.Rectangle r = p.getBounds(); float llx = document.leftMargin() + r.x; float lly = document.bottomMargin() +

[iText-questions] valignment problem of textfield in table

2008-01-29 Thread Sarah1
Hi, Please see the uploaded file. The text Site Number and its textfield are not at the same height. Why? Both of them are in the same PdfPtable. The cells of them are set as padding=0, valign=middle. Please help me. Thanks. Sarah http://www.nabble.com/file/p15167541/PDFFORM.pdf

[iText-questions] set length of textfield

2008-01-29 Thread Sarah1
Hi, I want to create a certain length textfield in a cell of a table. I don't know how to define the length of the textfield. I know I need draw a rectangle, but i don't know how to. Please help. Thanks. Sarah -- View this message in context:

[iText-questions] Set boundries for a Text

2008-01-29 Thread Mathias P.W Nilsson
Hi! I was wondering if it was possible to set a boundry for a text like a block. lets say Rectangle.setBounds( 10 , 10 , 100 , 100 ).add( new Paragraph( this is the text i want to fit ); what I mean by this is that I want the text to stay in the box. Can this be done using itext? -- View

[iText-questions] need cool looking checkbox

2008-01-29 Thread Sarah1
Hi, Anybody can help me to draw a cool looking checkbox instead of a big X? Thanks. Sarah -- View this message in context: http://www.nabble.com/need-cool-looking-checkbox-tp15169387p15169387.html Sent from the iText - General mailing list archive at Nabble.com.

[iText-questions] textfield is grey when it's empty

2008-01-29 Thread Sarah1
Hi, I create a textfield in a PDF Form, but all the area of textfields look grey when there are no data for the textfields. Actually I set the bgcolor = white, I only set bordercolor=grey. field.setBackgroundColor(Color.WHITE); field.setBorderColor(Color.GRAY); field.setBorderWidth(1); Do you

[iText-questions] iText newbie having page truncation issues

2008-01-29 Thread Paul Cooper
I'm creating a simple page, using Chunks and adjusting leading to get positioning on a LETTER-sized page. I can position text to about the 8 mark on a portrait-oriented page, but after that the text moves to the next page. This is a really simple page, with about 6 lines of text on it. Is this a

Re: [iText-questions] Create a transparent cut-out area

2008-01-29 Thread Leonard Rosenthol
You want to use clipping operations. Leonard On Jan 29, 2008, at 12:04 PM, Steven Bishop wrote: First, I'd like to say well done on producing iText. Your project is very welcome. I'm struggling with how to create a very simple PDF that has 2 layers with the top layer having a simple

[iText-questions] itext - eclipse

2008-01-29 Thread Mark Hackett
Hello, Just some quick feedback. I am new to java/eclipse and ran through your step by step instructions at www.lowagie.com. All went well, nice and clear, right until it was compiling. In the end it was due to needing a later version of jre than 1.4.x that you had specified in your