List of usage examples for com.lowagie.text ElementTags IMAGE
String IMAGE
To view the source code for com.lowagie.text ElementTags IMAGE.
Click Source Link
From source file:org.apache.maven.doxia.module.itext.ITextSink.java
License:Apache License
/** {@inheritDoc} */ public void figure() { figureDefined = true;/* ww w . jav a 2 s. c o m*/ writeStartElement(ElementTags.CHUNK); writeAddAttribute(ElementTags.FONT, font.getFontName()); writeAddAttribute(ElementTags.SIZE, font.getFontSize()); writeAddAttribute(ElementTags.STYLE, font.getFontStyle()); writeAddAttribute(ElementTags.BLUE, font.getFontColorBlue()); writeAddAttribute(ElementTags.GREEN, font.getFontColorGreen()); writeAddAttribute(ElementTags.RED, font.getFontColorRed()); writeStartElement(ElementTags.IMAGE); actionContext.setAction(SinkActionContext.FIGURE); }