dmholte wrote: > I am using HTMLWorker.parseToList to add a "note" that consists of html > snippets and an image. My goal is to have the html note look the same as > the PDF Note. If I do not have a header or footer the image is added where > I would expect, but if I have a Header and Footer the image is added on top > of the header. I've tried different things and have been going through the > book, but cannot find what I am doing incorrectly. I suspect is has to do > with how I'm adding the content to the page. I've created a stand a lone > page that is attached with my code. > > I open the document > parse the html > add the html > onStartPage I add the report title and call another method that adds the > report header as part of a table. > > any help is really appreciated.
Can you give us more information? For instance in the form of a standalone example. Maybe the Image is the first object that is added. Maybe there's no initial leading. Maybe the margins are large enough. A lot of maybes, but we can't know anything for sure based on your limited description. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/