public class ListHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected static int |
INDENT_AFTER
The indentation after the number, typically the same
as the hanging indent, which lines up subsequent paragraphs.
|
static org.slf4j.Logger |
log |
Constructor and Description |
---|
ListHelper(XHTMLImporterImpl importer,
org.docx4j.openpackaging.parts.WordprocessingML.NumberingDefinitionsPart ndp) |
Modifier and Type | Method and Description |
---|---|
protected org.docx4j.wml.PPrBase.Ind |
createIndent(int twip,
boolean hanging)
Create an Ind object.
|
protected org.docx4j.wml.Numbering.AbstractNum |
createNewAbstractList()
Creates a new empty abstract list.
|
protected int |
getAbsoluteIndent(org.docx4j.org.xhtmlrenderer.layout.Styleable styleable)
The indentation of this object, plus its ancestors in the list stack
|
protected int |
getDepth() |
protected int |
getSelfAndAncestorIndentation() |
protected org.docx4j.convert.in.xhtml.ListHelper.ListItemContentState |
peekListItemStateStack() |
protected org.docx4j.org.xhtmlrenderer.render.BlockBox |
peekListStack() |
protected org.docx4j.org.xhtmlrenderer.render.BlockBox |
popListStack() |
protected void |
pushListStack(org.docx4j.org.xhtmlrenderer.render.BlockBox ca) |
protected void |
setNumbering(org.docx4j.wml.PPr pPr,
BigInteger numId) |
public static org.slf4j.Logger log
protected static final int INDENT_AFTER
public ListHelper(XHTMLImporterImpl importer, org.docx4j.openpackaging.parts.WordprocessingML.NumberingDefinitionsPart ndp)
protected void pushListStack(org.docx4j.org.xhtmlrenderer.render.BlockBox ca)
protected org.docx4j.org.xhtmlrenderer.render.BlockBox popListStack()
protected org.docx4j.org.xhtmlrenderer.render.BlockBox peekListStack()
protected int getDepth()
protected org.docx4j.convert.in.xhtml.ListHelper.ListItemContentState peekListItemStateStack()
protected org.docx4j.wml.Numbering.AbstractNum createNewAbstractList()
JAXBException
protected org.docx4j.wml.PPrBase.Ind createIndent(int twip, boolean hanging)
twip
- protected int getSelfAndAncestorIndentation()
protected int getAbsoluteIndent(org.docx4j.org.xhtmlrenderer.layout.Styleable styleable)
styleable
- protected void setNumbering(org.docx4j.wml.PPr pPr, BigInteger numId)
Copyright © 2013-2019. All Rights Reserved.