Class Indent
java.lang.Object
org.docx4j.model.properties.Property
org.docx4j.model.properties.paragraph.AbstractParagraphProperty
org.docx4j.model.properties.paragraph.Indent
public class Indent extends AbstractParagraphProperty
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCSS_NAMEstatic java.lang.StringFO_NAMEstatic java.lang.StringFO_NAME_TEXT_INDENTprotected static org.slf4j.Loggerlog -
Constructor Summary
Constructors Constructor Description Indent(PPrBase.Ind val)Indent(PPrBase.Ind pPrDirectIndent, PPrBase.Ind numberingIndent)Compose an effective indent value.Indent(org.w3c.dom.css.CSSValue value) -
Method Summary
Modifier and Type Method Description java.lang.StringgetCssName()java.lang.StringgetCssProperty()intgetNumberPosition()static intgetTwip(org.w3c.dom.css.CSSPrimitiveValue cssPrimitiveValue)booleanisHanging()voidset(PPr pPr)voidsetXslFO(org.w3c.dom.Element foElement)voidsetXslFOListBlock(org.w3c.dom.Element foElement, int pdbs)Methods inherited from class org.docx4j.model.properties.Property
composeCss, debug, getObject, setObject
-
Field Details
-
log
protected static org.slf4j.Logger log -
CSS_NAME
public static final java.lang.String CSS_NAME- See Also:
- Constant Field Values
-
FO_NAME
public static final java.lang.String FO_NAME- See Also:
- Constant Field Values
-
FO_NAME_TEXT_INDENT
public static final java.lang.String FO_NAME_TEXT_INDENT- See Also:
- Constant Field Values
-
-
Constructor Details
-
Method Details
-
getCssName
public java.lang.String getCssName()- Specified by:
getCssNamein classProperty- Since:
- 2.7.2
-
getTwip
public static int getTwip(org.w3c.dom.css.CSSPrimitiveValue cssPrimitiveValue) -
getCssProperty
public java.lang.String getCssProperty()- Specified by:
getCssPropertyin classProperty
-
setXslFO
public void setXslFO(org.w3c.dom.Element foElement) -
isHanging
public boolean isHanging() -
getNumberPosition
public int getNumberPosition() -
setXslFOListBlock
public void setXslFOListBlock(org.w3c.dom.Element foElement, int pdbs) -
set
- Specified by:
setin classAbstractParagraphProperty
-