List of usage examples for com.lowagie.text ElementTags SECTION
String SECTION
To view the source code for com.lowagie.text ElementTags SECTION.
Click Source Link
From source file:org.apache.maven.doxia.module.itext.ITextSink.java
License:Apache License
/** {@inheritDoc} */ public void section1() { numberDepth++;// w w w .ja va 2 s.c om depth = 1; writeStartElement(ElementTags.SECTION); writeAddAttribute(ElementTags.NUMBERDEPTH, numberDepth); writeAddAttribute(ElementTags.DEPTH, depth); writeAddAttribute(ElementTags.INDENT, "0.0"); lineBreak(); actionContext.setAction(SinkActionContext.SECTION_1); }
From source file:org.apache.maven.doxia.module.itext.ITextSink.java
License:Apache License
/** {@inheritDoc} */ public void section2() { numberDepth++;//from ww w .j a va 2 s . c o m depth = 1; writeStartElement(ElementTags.SECTION); writeAddAttribute(ElementTags.NUMBERDEPTH, numberDepth); writeAddAttribute(ElementTags.DEPTH, depth); writeAddAttribute(ElementTags.INDENT, "0.0"); lineBreak(); actionContext.setAction(SinkActionContext.SECTION_2); }
From source file:org.apache.maven.doxia.module.itext.ITextSink.java
License:Apache License
/** {@inheritDoc} */ public void section3() { numberDepth++;/*from w w w . j av a 2 s . c om*/ depth = 1; writeStartElement(ElementTags.SECTION); writeAddAttribute(ElementTags.NUMBERDEPTH, numberDepth); writeAddAttribute(ElementTags.DEPTH, depth); writeAddAttribute(ElementTags.INDENT, "0.0"); lineBreak(); actionContext.setAction(SinkActionContext.SECTION_3); }
From source file:org.apache.maven.doxia.module.itext.ITextSink.java
License:Apache License
/** {@inheritDoc} */ public void section4() { numberDepth++;/*from w w w. j a v a 2 s .c om*/ depth = 1; writeStartElement(ElementTags.SECTION); writeAddAttribute(ElementTags.NUMBERDEPTH, numberDepth); writeAddAttribute(ElementTags.DEPTH, depth); writeAddAttribute(ElementTags.INDENT, "0.0"); lineBreak(); actionContext.setAction(SinkActionContext.SECTION_4); }
From source file:org.apache.maven.doxia.module.itext.ITextSink.java
License:Apache License
/** {@inheritDoc} */ public void section5() { numberDepth++;/*from w w w . ja va2 s. com*/ depth = 1; writeStartElement(ElementTags.SECTION); writeAddAttribute(ElementTags.NUMBERDEPTH, numberDepth); writeAddAttribute(ElementTags.DEPTH, depth); writeAddAttribute(ElementTags.INDENT, "0.0"); lineBreak(); actionContext.setAction(SinkActionContext.SECTION_5); }