Example usage for com.lowagie.text ElementTags LISTITEM

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

Introduction

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

Prototype

String LISTITEM

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

Click Source Link

Document

the listitem tag

Usage

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

License:Apache License

/** {@inheritDoc} */
public void listItem() {
    writeStartElement(ElementTags.LISTITEM);
    writeAddAttribute(ElementTags.INDENTATIONLEFT, "20.0");

    actionContext.setAction(SinkActionContext.LIST_ITEM);
}

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

License:Apache License

/** {@inheritDoc} */
public void numberedListItem() {
    writeStartElement(ElementTags.LISTITEM);
    writeAddAttribute(ElementTags.INDENTATIONLEFT, "20");

    actionContext.setAction(SinkActionContext.NUMBERED_LIST_ITEM);
}