code: public void addDelayedStyler(String tag, Collection<Advanced> advanced, Chunk chunk, Image img) {
        doOnGenericTag.put(tag, advanced);
        if (chunk != null && chunk.getImage() != null) {
           imageChunks.put(tag, chunk);
        }
        if (img != null) {
           rectangles.put(tag, img);
        }
     }
docs: add a styler that will do its styling in
  {@link #onGenericTag(com.itextpdf.text.pdf.PdfWriter, com.itextpdf.text.Document, com.itextpdf.text.Rectangle, java.lang.String)}.
  
  @param tag
  @param advanced
  @param chunk used when debugging, for placing debug info at the right position in the pdf
  @param img the value of rect
  @see Chunk#Chunk(com.itextpdf.text.Image, float, float, boolean)