murthy gandikota wrote: > Sorry, here I go again. I have a product list that is in Word format > presented as a table. The table columns are: brand name, unit price and > description. There are about 200 brand names. The product list is > printed using a PDF file printer because it has to be downloadable from > a browser. I am wondering if there is a way to highlite some of the > brand names red, blue, etc. Or is that done only with Adobe software?
If you would create the PDF from scratch, you'd use Chunk.setBackground: http://itext.ugent.be/itext-in-action/examples/chapter04/FoxDogChunk1.java adding background color to an existing PDF with iText is also simple if you know the coordinates where you want to add color. The difficulty you are facing is that there are no free products that will be able to give you the coordinates of a specific word on a page. In other words: you could use iText to add a red, blue,... rectangle under some existing content, but you have no way of knowing WHERE to add those rectangles. br, Bruno ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/