List of usage examples for com.lowagie.text ElementTags BGRED
String BGRED
To view the source code for com.lowagie.text ElementTags BGRED.
Click Source Link
From source file:org.apache.maven.doxia.module.itext.ITextSink.java
License:Apache License
/** {@inheritDoc} */ public void tableHeaderCell() { writeStartElement(ElementTags.CELL); writeAddAttribute(ElementTags.LEFT, Boolean.TRUE.toString()); writeAddAttribute(ElementTags.RIGHT, Boolean.TRUE.toString()); writeAddAttribute(ElementTags.TOP, Boolean.TRUE.toString()); writeAddAttribute(ElementTags.BOTTOM, Boolean.TRUE.toString()); writeAddAttribute(ElementTags.HEADER, Boolean.TRUE.toString()); writeAddAttribute(ElementTags.BGRED, Color.GRAY.getRed()); writeAddAttribute(ElementTags.BGBLUE, Color.GRAY.getBlue()); writeAddAttribute(ElementTags.BGGREEN, Color.GRAY.getGreen()); writeAddAttribute(ElementTags.HORIZONTALALIGN, ElementTags.ALIGN_CENTER); actionContext.setAction(SinkActionContext.TABLE_HEADER_CELL); }