balzaczyy/itext2 — Issue #1: no way to add background color to paragraph
Author: balzaczyy
Created: 2012-02-11 10:05:50+00:00
State: open

Usually for

like tags, one would want to add a light gray shadow behind the text. However there is no way to do it using iText2. One possible solution is to use PdfPageEvent, suggested by

http://itext-general.2136553.n4.nabble.com/Background-Color-of-Paragraphs-td2136629.html

The limitation here is that the paragraph even won't tell you the right indentation of current document space. So I need to extend the current even handler interface to add those information.