You'll have to change. The margins didn't work and the behavior was changed. They now work as setting the page size: they take effect in the next page. If you get what is in the CVS it will work.
Best Regards, Paulo Soares > -----Original Message----- > From: Nicolas Ivering [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 18:10 > To: [EMAIL PROTECTED] > Subject: [iText-questions] Content of table not respecting left and > top margin. > > Hi. I've run into a problem when changing margins in the middle of a > document. What happens is that the content of the table does not respect > the left and top margin. However, the borders of the table does! Below > is the xml I feed into iTextXML. I'm also attaching the output pdf. The > "margin tag" simply performs a document.setMargins(left, right, top, > bottom); when encountered. > I'm using iText 0.92 because we're at the end of a project and I don't > feel I want to take the risk of upgrading right now unless I have to. > > Thankful for any help. > > > <?xml version="1.0" encoding="UTF-8" ?> > <DOCTYPE ITEXT SYSTEM "http://www.lowagie.com/iText/itext.dtd"> > <itext creationdate="Tue Mar 19 12:54:54 CET 2002" producer="iTextXML by > lowagie.com"> > > <margin margins="0;0;0;0"/> > <table cols="6" width="100%"> > <row> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > </row> > <row> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > </row> > <row> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > <cell top="true" bottom="true" left="true" right="true"> > weerer > </cell> > </row> > </table> > </itext> > << File: pdf1.pdf >> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
