Re: [iText-questions] Keeping things together in the same line

2010-10-27 Thread riffla
Great to find helpful people like you, thanks again... /R -- View this message in context: http://itext-general.2136553.n4.nabble.com/Keeping-things-together-in-the-same-line-tp3013994p3015074.html Sent from the iText - General mailing list archive at Nabble.com. --

Re: [iText-questions] Keeping things together in the same line

2010-10-27 Thread info
On Wed, 27 Oct 2010 00:23:20 -0700 (PDT), riffla wrote: > In other words, as long as the character preceding a period is a non white > space character (or a line break etc.) the period will be considered as a > part of the preceding block of characters, am I right? Yes, you are right. Also thank

Re: [iText-questions] Keeping things together in the same line

2010-10-27 Thread riffla
Thanks again for helpful replies... Did have a second look in the code generating the PDF, and I think I've missed a part here. Using property files to retrieve words/sentences to be added I sometimes add a white space and sometimes not depending om different conditions. And in this case I think

Re: [iText-questions] Keeping things together in the same line

2010-10-26 Thread 1T3XT info
On 27/10/2010 8:38, 1T3XT info wrote: > Yes, > if I understand correctly, Oops, I think I wasn't awake when I wrote the previous answer. I thought you only wanted to split lines when a period was encountered. On second thoughts, you want to split lines on the last space character before each per

Re: [iText-questions] Keeping things together in the same line

2010-10-26 Thread 1T3XT info
On 27/10/2010 8:26, riffla wrote: > > OK. > This is a short example > . > > And this is another > example. > > Looking at the two sentences above, the first one is the situation I want to > avoid. Looking at the position of the the period, this character alone has > been pushed to a new line, in co

Re: [iText-questions] Keeping things together in the same line

2010-10-26 Thread riffla
OK. This is a short example . And this is another example. Looking at the two sentences above, the first one is the situation I want to avoid. Looking at the position of the the period, this character alone has been pushed to a new line, in contrast to the second one where the word 'example' jo

Re: [iText-questions] Keeping things together in the same line

2010-10-26 Thread 1T3XT info
On 26/10/2010 18:00, riffla wrote: > Now I need a strategy on how to prevent situations where only a full stop > (period) is moved to next row - in this case I want the preceeding word also > to be moved to next row, otherwise it would look strange Can you give an example. I don't understand the q

[iText-questions] Keeping things together in the same line

2010-10-26 Thread riffla
Hi I wonder if anyone has an idea on how to solve this. In generating a PDF from a web form and some property files the application ends up concatenating lots of phrases and words depending on different parameters. I've managed to solve issues about page breaking using tables counting rows and r