In file jasperreports-5.0.0/src/net/sf/jasperreports/engine/export/ooxml/DocxRunHelper.java i modify it:
***************
--- 170,179 ----
value = attrs.get(TextAttribute.BACKGROUND);
oldValue = parentAttrs.get(TextAttribute.BACKGROUND);
! if (value != null && !value.equals(oldValue) && ColorEnum.getByColor((Color)value) != null)
{
//the highlight does not accept the color hexadecimal expression, but only few color names
! write(" \n");
}
to:
*** 170,180 ****
value = attrs.get(TextAttribute.BACKGROUND);
oldValue = parentAttrs.get(TextAttribute.BACKGROUND);
! if (value != null && !value.equals(oldValue) /*&& ColorEnum.getByColor((Color)value) != null*/)
{
//the highlight does not accept the color hexadecimal expression, but only few color names
! //write(" \n");
! write(" \n");
}
value = attrs.get(TextAttribute.SIZE);
For what mark color was setted? "none" replace white, to transparent color.
Recommended Comments
There are no comments to display.