1T3XT info wrote:
> 
> 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.
> Attached in the original post
> 
> Maybe the Image is the first object that is added.
> The image is part of the html snippit.  And the header is added seperately
> 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
> 
> 

I've re attached my stand alone example here also.  thanks

http://old.nabble.com/file/p27499070/NoteImage2.java NoteImage2.java 
-- 
View this message in context: 
http://old.nabble.com/Adding-html-with-Image---Image-placed-on-top-of-header-tp27493640p27499070.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
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/

Reply via email to