[email protected] wrote:
> I need it much simpler. It's a given requirement, that a colored 
> rectangle with textual content should
> overlap some of the table's cells (partially). The "text annotation" 
> hint was great and helpful, but I
> have to deal with the given requirements. 

So you're not talking about an annotation,
but about real content?

In that case it's also simple to achieve what you need.
If you know the coordinates, you can create a Rectangle object
and add that to the document.

If you don't know the coordinates, you can retrieve them in
a cell event, and use the method PdfContentByte.rectangle().
Don't forget to call the fill() method, otherwise you'll only
add the path of the rectangle without filling it.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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