Re: [iText-questions] problem with adding content to the last page

2009-11-24 Thread 1T3XT info
Anthony Oganesian wrote: > Behavior is expected and makes sense, but not desirable in this case. > I am looking for a work-around. Thanks for the pointer to > VerticalPositionMark. > I will try, but I don't expect it to succeed. By the time I start using > VerticalPositionMark a call to newPage

Re: [iText-questions] problem with adding content to the last page

2009-11-24 Thread Anthony Oganesian
Behavior is expected and makes sense, but not desirable in this case. I am looking for a work-around. Thanks for the pointer to VerticalPositionMark. I will try, but I don't expect it to succeed. By the time I start using VerticalPositionMark a call to newPage has already happened, so I assume th

Re: [iText-questions] problem with adding content to the last page

2009-11-24 Thread 1T3XT info
Anthony Oganesian wrote: > Following is a sample illustrating my issue. Thank you very much for > looking into this issue. O... Now I understand what you mean. That's expected behavior, isn't it? Have you tried adding the content as a VerticalPositionMark? If you don't know what a VerticalPosit

Re: [iText-questions] problem with adding content to the last page

2009-11-24 Thread Anthony Oganesian
Following is a sample illustrating my issue. Thank you very much for looking into this issue. Tony START CODE -- import com.lowagie.text.*; import com.lowagie.text.Font; import com.lowagie.text.pdf.*; import java.io.*; public class PDFProblemTest { public static

Re: [iText-questions] problem with adding content to the last page

2009-11-24 Thread Wain, Matthew
You could possibly override the newPage method to take into account your special case, and not actually create the page if certain criteria are not met. Haven't fiddled much with newPage though. Matthew -Original Message- From: Anthony Oganesian [mailto:t...@wonderlandresearch.com] Se

Re: [iText-questions] Overflow issue with Itext AcroFields

2009-11-24 Thread 1T3XT info
raju komaturi wrote: > Hi Sir, > > I am having Overflow problem with pdf form.I want to right truncate the > data if any of the Acrofiled overflow to outside. > > I need small example how to do this with AcroFields and PdfStamper object. The data is truncated automatically, so please rephras

[iText-questions] Overflow issue with Itext AcroFields

2009-11-24 Thread raju komaturi
Hi Sir, I am having Overflow problem with pdf form.I want to right truncate the data if any of the Acrofiled overflow to outside. I need small example how to do this with AcroFields and PdfStamper object. Thanks, Raju komaturi

Re: [iText-questions] How?: Drawing typographers marks using Registration Black

2009-11-24 Thread George Bilalis
Thank you all, 1T3XT info and Leonard for your nice help sofar. I will try your last suggestion and report back, hoping it will work as needed. Also I hope I didn't sound "overloading" while repeating about registration black :) With great appreciation George 1T3XT info wrote: > > George Bi

Re: [iText-questions] How?: Drawing typographers marks using Registration Black

2009-11-24 Thread 1T3XT info
George Bilalis wrote: > Hi Leonard, > > I didn't try anything yet in this context as I am in the middle of a bigger > development project, part of which is this iText app. > It will be tremendous help if you give an example of how you create the > PdfSpotColor object using the name "All" ? On p32

Re: [iText-questions] How?: Drawing typographers marks using Registration Black

2009-11-24 Thread George Bilalis
Hi Leonard, I didn't try anything yet in this context as I am in the middle of a bigger development project, part of which is this iText app. It will be tremendous help if you give an example of how you create the PdfSpotColor object using the name "All" ? Thanks again George Leonard Rosenthol

Re: [iText-questions] Using Unicode characters 0f71 - 0fbc

2009-11-24 Thread 1T3XT info
Leanne Northrop wrote: > a ligaturizer does not yet > exist for Tibetan? Correct. There's no ligaturizer for Hindic languages either. > Tibetan is both horizontal and vertical but generally regarded as > horizontal where the vertical stacks are 'ligatures' of the vowels, > subjoined and main char

Re: [iText-questions] problem with adding content to the last page

2009-11-24 Thread 1T3XT info
Anthony Oganesian wrote: > It all works as described except for a very special case when the > free-floating content fits PERFECTLY onto the last page. As far as I > could understand the code, in this case iText is immediately creating > the new page in anticipation of me adding more free-floati

[iText-questions] Using Unicode characters 0f71 - 0fbc

2009-11-24 Thread Leanne Northrop
Hi, I have just read chapters 8 & 9 of iText in Action ed 1 and tried searching the archives for information on using Tibetan stacking characters with iText but have yet to find anything. I noticed the Peace example unfortunately does not correctly stack the characters, I guess because the setWidt

[iText-questions] problem with adding content to the last page

2009-11-24 Thread Anthony Oganesian
Hi, I am running into a strange blocker issue with a very simple requirement and would greatly appreciate any help from the community. I need to add various elements (text, images, SVGs, etc .) using absolute positioning to the LAST PAGE of the pdf document that I am generating. As I am

Re: [iText-questions] How?: Drawing typographers marks using Registration Black

2009-11-24 Thread Leonard Rosenthol
Create the PdfSpotColor object using the name "All" - that's what you need to do. Have you tried it? What do you get and why isn't it correct? Leonard -Original Message- From: George Bilalis [mailto:grg_b...@hotmail.com] Sent: Tuesday, November 24, 2009 4:54 AM To: itext-questions@l

Re: [iText-questions] How?: Drawing typographers marks using Registration Black

2009-11-24 Thread George Bilalis
Hi again, Thanks for a commented and clear answer. I am not complaining about anything and I agree that besides buying your ecellent book 20 months ago, that has helped me enormously sofar, I can only wait to buy the second edition, when ready. My first post on the subject was on May 2008 and L

Re: [iText-questions] How?: Drawing typographers marks using Registration Black

2009-11-24 Thread 1T3XT info
George Bilalis wrote: > Registration (typographers) marks have to appear in ALL separated color > plates of a multicolor job (CMYK plus Spot colors). What named color should > I use according to the above definitions? I don't know because I never had to do this in a project. Everything that is of

Re: [iText-questions] Re naming TextFields on different pages using iText is not working..

2009-11-24 Thread 1T3XT info
jthom wrote: > This is my first time using iText: > > Could you give little more info in how the parent can be renamed? Get the /AcroForm from the root. Parse the tree with the fields, replace the /T value of the field you want to change. If this is your first time using iText: ask a profession

Re: [iText-questions] How?: Drawing typographers marks using Registration Black

2009-11-24 Thread George Bilalis
Hi, >From iText API, you can set a colorStroke in 2 flavors: setColorStroke public void setColorStroke(Color color)Sets the stroke color. color can be an ExtendedColor. Parameters: color - the color setColorStrok

Re: [iText-questions] How?: Drawing typographers marks using Registration Black

2009-11-24 Thread 1T3XT info
George Bilalis wrote: > Well, No. > > SetColorFill is for filling the "interior area" of shapes, while a line is > an abstract of 2 points with no interior. What about one of the setColorStroke methods? I can't give a more concrete answer because I don't understand the problem. -- This answer i

Re: [iText-questions] How?: Drawing typographers marks using Registration Black

2009-11-24 Thread George Bilalis
Well, No. SetColorFill is for filling the "interior area" of shapes, while a line is an abstract of 2 points with no interior. We need to define a stroke of some weight to visualize a line... So what is needed here is defining a stroke in a different mode than the 3 currently available in iText.