Thanks a lot for the quick answer. As I understand this, thats what I'm loocking for.
Wolf -----Ursprüngliche Nachricht----- Von: Paulo Soares [mailto:[email protected]] Gesendet: Mittwoch, 30. September 2009 12:12 An: Post all your questions about iText here Betreff: Re: [iText-questions] Behavior of strictImageSequence=false fortabels?? Put the table inside a template and make it an image. Paulo > -----Original Message----- > From: Bubenik, Wolf [mailto:[email protected]] > Sent: Wednesday, September 30, 2009 10:50 AM > To: [email protected] > Subject: [iText-questions] Behavior of > strictImageSequence=false for tabels?? > > Hallo list, > > > > I have two requirements regarding the sequencing of images > and texts that appear to be incompatible with iText. > > > > The documents is made up of several com.lowagy.Chapter. Text, > images ... are added to the chapters. > > > > 1. I want images be automatically moved to the next page if > there is not enough space left. Following elements should > fill the remaining gap. > > This is easy - just default behavior of PdfWriter. > > > > 2. Images are part of some kind of illustration block > consisting of an Image and an subtitle / description. Image > and subtitle should always be kept together and should be > highlighted with an border. > > Again this alone is not a problem. I solved it by wrapping > Image and Text in a PdfPTable (2 cells) and setting > illustrationTable.setKeepTogether(true);. > > > > However, when wrapping the image into a table there may be a > large gap on a page if the image-table will be moved to the > next page. Following elements will no longer be moved into that gap. > > > > Is it possible to get the behavior of > strictImageSequence=false for other pdf elements? Somehow? > Indirectly? A dirty hack? Without reimplementing the layout > algorithm. > > > > Thanks a lot for any suggestion > > > > Wolf > > Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
