Example usage for com.lowagie.text ElementTags HORIZONTALRULE

List of usage examples for com.lowagie.text ElementTags HORIZONTALRULE

Introduction

In this page you can find the example usage for com.lowagie.text ElementTags HORIZONTALRULE.

Prototype

String HORIZONTALRULE

To view the source code for com.lowagie.text ElementTags HORIZONTALRULE.

Click Source Link

Document

the possible value of a tag

Usage

From source file:org.apache.maven.doxia.module.itext.ITextSink.java

License:Apache License

/** {@inheritDoc} */
public void horizontalRule() {
    writeStartElement(ElementTags.PARAGRAPH);
    writeAddAttribute(ElementTags.BLUE, "255");
    writeAddAttribute(ElementTags.GREEN, "255");
    writeAddAttribute(ElementTags.RED, "255");
    write("_");/*w  w w.ja  va  2s . co m*/
    writeEndElement();

    writeStartElement(ElementTags.PARAGRAPH);
    writeStartElement(ElementTags.HORIZONTALRULE);
    writeEndElement();
    writeEndElement();
}