Re: [iText-questions] Control page breaks for images and tables

2010-02-07 Thread 1T3XT info
anil2010 wrote: > > > Frank Stephan wrote: >> Thanks, this seems to be what I am looking for, but what I do not >> understand, is: Why don't you call go(false) in the ColumnTable example >> (2nd >> Ed.) as it was done in the ColumControl example (1st Ed.). Nothing strange about that: go(); inter

Re: [iText-questions] Control page breaks for images and tables

2010-02-07 Thread anil2010
richt- >> Von: 1T3XT info [mailto:i...@1t3xt.info] >> Gesendet: Samstag, 6. Februar 2010 07:24 >> An: Post all your questions about iText here >> Betreff: Re: [iText-questions] Control page breaks for images >> and tables >> >> >> Frank Step

Re: [iText-questions] Control page breaks for images and tables

2010-02-07 Thread 1T3XT info
Frank Stephan wrote: > Ok, I changed the code as you said. And it works... Nearly perfect... > > I get to pages with content. On the first page I get 3 tables with rows 11 > to 40. That's ok. > But on the second page I see the table rows 48-60. The rows 41-47 are > missing. This is weird. > > htt

Re: [iText-questions] Control page breaks for images and tables

2010-02-06 Thread Frank Stephan
. Februar 2010 16:13 > An: Post all your questions about iText here > Betreff: Re: [iText-questions] Control page breaks for images > and tables > > > Frank Stephan wrote: > > Ok, > > > > Now the code works. I added the setSimpleColumn. I can see, that > > d

Re: [iText-questions] Control page breaks for images and tables

2010-02-06 Thread 1T3XT info
Frank Stephan wrote: > Ok, > > Now the code works. I added the setSimpleColumn. I can see, that > document.newPage is called twice, but the document has only 1 page. > Out of the 5 tables 3 have been printed and none of the 3 has been divided. > So far it works, but where are the tables 4 and 5 wh

Re: [iText-questions] Control page breaks for images and tables

2010-02-06 Thread Frank Stephan
IOException { new ColumnTable().createPdf(RESULT); } } > -Ursprüngliche Nachricht- > Von: 1T3XT info [mailto:i...@1t3xt.info] > Gesendet: Samstag, 6. Februar 2010 14:52 > An: Post all your questions about iText here > Betreff: Re: [iText-questions] Con

Re: [iText-questions] Control page breaks for images and tables

2010-02-06 Thread 1T3XT info
Frank Stephan wrote: > Ok, I tried... > > I add the table to the column and simulate. If it doesn't fit I create a new > page. > But this app doesn't run. I always get the exception > > Exception in thread "main" com.itextpdf.text.DocumentException: Irregular > columns are not supported in compos

Re: [iText-questions] Control page breaks for images and tables

2010-02-06 Thread Frank Stephan
Ok, I tried... I add the table to the column and simulate. If it doesn't fit I create a new page. But this app doesn't run. I always get the exception Exception in thread "main" com.itextpdf.text.DocumentException: Irregular columns are not supported in composite mode. at com.itextpdf.tex

Re: [iText-questions] Control page breaks for images and tables

2010-02-06 Thread 1T3XT info
Frank Stephan wrote: > So there is no difference if i add text to the column or a table? Is it that > simple? Why wouldn't it be that simple? ;-) -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ---

Re: [iText-questions] Control page breaks for images and tables

2010-02-06 Thread Frank Stephan
stions] Control page breaks for images > and tables > > > Frank Stephan wrote: > > Hi, > > > > here is an example > > > > http://img1.bildupload.com/7949f6c272f915710424e8f6808f7f71.jpg > > > > The third table should not start on the first pa

Re: [iText-questions] Control page breaks for images and tables

2010-02-06 Thread 1T3XT info
Frank Stephan wrote: > Hi, > > here is an example > > http://img1.bildupload.com/7949f6c272f915710424e8f6808f7f71.jpg > > The third table should not start on the first page but on the second as it > does not fit on the first page. > In the ColumnTable example a new page is started, even if the n

Re: [iText-questions] Control page breaks for images and tables

2010-02-06 Thread Frank Stephan
current page. Greetings Frank > -Ursprüngliche Nachricht- > Von: 1T3XT info [mailto:i...@1t3xt.info] > Gesendet: Samstag, 6. Februar 2010 11:41 > An: Post all your questions about iText here > Betreff: Re: [iText-questions] Control page breaks for images > and tables >

Re: [iText-questions] Control page breaks for images and tables

2010-02-06 Thread 1T3XT info
Frank Stephan wrote: > Hi, > > now I know the difference. In the ColumnTable example you add just one table > and then do the output. What I need is: I want to add several tables that > are all smaller than the page size. So if 2 or more of them fit on the page, > no page break is needed. If a tab

Re: [iText-questions] Control page breaks for images and tables

2010-02-06 Thread Frank Stephan
stions] Control page breaks for images > and tables > > > Frank Stephan wrote: > > Hi, > > > > I don't understand how to implement page break control with > iText for > > images or tables. I read the chapters in the book and I > understand how

Re: [iText-questions] Control page breaks for images and tables

2010-02-06 Thread Frank Stephan
> Gesendet: Samstag, 6. Februar 2010 07:24 > An: Post all your questions about iText here > Betreff: Re: [iText-questions] Control page breaks for images > and tables > > > Frank Stephan wrote: > > Hi, > > > > I don't understand how to implement page b

Re: [iText-questions] Control page breaks for images and tables

2010-02-05 Thread 1T3XT info
Frank Stephan wrote: > Hi, > > I don't understand how to implement page break control with iText for images > or tables. I read the chapters in the book and I understand how to do this > for text content. Is there an example anywhere like the one in the book > (with go(false);), when the content o

[iText-questions] Control page breaks for images and tables

2010-02-05 Thread Frank Stephan
Hi, I don't understand how to implement page break control with iText for images or tables. I read the chapters in the book and I understand how to do this for text content. Is there an example anywhere like the one in the book (with go(false);), when the content of the columntext is a table. TIA