Re: [iText-questions] Problem with inserting sequence of images and text

2005-04-04 Thread bruno
Ide Mile wrote: This might be a bug! No it isn't. I'm writing something about this in the new tutorial (but the example isn't online yet). Try this and compare the default iText behaviour with the one you need: The solution you are looking for is: writer.setStrictImageSequence(true); This is the

[iText-questions] Problem with inserting sequence of images and text

2005-04-03 Thread Ide Mile
This might be a bug! Here is what happend. -->   document.add(new Paragraph("Some text to be added")); Image image1 = Image.getInstance(byte_array); image1.setAlignment(Image.MIDDLE); document.add(image1);//image1 is being generated using an array of raw bytes // document.add(new Paragraph("Some