I didn't hear back on this and just wanted to know if I should be filling out a bug report someplace or following some other protocol.
Jason -----Original Message----- From: Jason Berk [mailto:jb...@purduefed.com] Sent: Wednesday, November 30, 2011 9:43 AM To: Post all your questions about iText here Subject: Re: [iText-questions] XML Worker So attached you'll find my XmlWorkerTest.java. I used that code and the two .html files to create the two PDFS. Notice in test1.html, the closing body tag is at the bottom of the file, as I would expect. Problem is that the table seems to respect a double margin width. Test2.html is the same as test1.html, except the closing body tag is _before_ the table. Now the table stretches beyond the margins of the page, yet the paragraph tags in the table still obey the styles...even though the entire table is "outside" the body. In neither case does the width of the table match the width of the document's usable horizontal space (doc.right() - doc.left()) Jason -----Original Message----- From: Balder VC [mailto:li...@redlab.be] Sent: Wednesday, November 30, 2011 5:28 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] XML Worker Tables are tricky If I recall correctly, XMLWorker will try to fit your table in the page taking into account your page margins. If you have defined a table in html which is wider then the page it cannot fit it. The width settings will only be used if total width of the table is smaller then the area that can be used. (both CSS width property or <table width=""> should work). 100% should take whole available width but if your cells also define width, it's influenced by that too. Regards Balder On 29/11/11 20:52, Jason Berk wrote: > With XML Worker how do I make my <table> have a width of 100% of the > page? > > Jason Berk > jb...@purduefed.com > www.purduefed.com > 800.627.3328 x8902 > > > This is a transmission from Purdue Federal Credit Union (Purdue Federal) and is intended solely for its authorized recipient(s), and may contain information that is confidential and or legally privileged. If you are not an addressee, or the employee or agent responsible for delivering it to an addressee, you are hereby notified that any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this transmission in error, please notify us by telephoning (765)497-3328 or returning the email. You are then instructed to delete the information from your computer. Thank you for your cooperation. > > > ---------------------------------------------------------------------- > -------- All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ Please > check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php -- Balder VC http://www.redlab.be/blog/ http://twitter.com/redlabbe ------------------------------------------------------------------------ ------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php This is a transmission from Purdue Federal Credit Union (Purdue Federal) and is intended solely for its authorized recipient(s), and may contain information that is confidential and or legally privileged. If you are not an addressee, or the employee or agent responsible for delivering it to an addressee, you are hereby notified that any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this transmission in error, please notify us by telephoning (765)497-3328 or returning the email. You are then instructed to delete the information from your computer. Thank you for your cooperation. This is a transmission from Purdue Federal Credit Union (Purdue Federal) and is intended solely for its authorized recipient(s), and may contain information that is confidential and or legally privileged. If you are not an addressee, or the employee or agent responsible for delivering it to an addressee, you are hereby notified that any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this transmission in error, please notify us by telephoning (765)497-3328 or returning the email. You are then instructed to delete the information from your computer. Thank you for your cooperation. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php