Class ListItemBlockFormatProvider<T>
- java.lang.Object
-
- com.vladsch.flexmark.docx.converter.util.BlockFormatProviderBase<T>
-
- com.vladsch.flexmark.docx.converter.util.ListItemBlockFormatProvider<T>
-
- All Implemented Interfaces:
BlockFormatProvider<T>
,FormatProvider<T>
public class ListItemBlockFormatProvider<T> extends BlockFormatProviderBase<T>
-
-
Field Summary
-
Fields inherited from class com.vladsch.flexmark.docx.converter.util.BlockFormatProviderBase
myBaseStyleId, myFrame, myParent, myPCount
-
Fields inherited from interface com.vladsch.flexmark.docx.converter.util.BlockFormatProvider
STYLE_TYPE_NUMBERING
-
-
Constructor Summary
Constructors Constructor Description ListItemBlockFormatProvider(DocxContext<T> docx, java.lang.String listStyle, java.lang.String listSpacingStyle, long idNum, int listLevel, java.lang.Class... skipContextFrameClasses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
adjustPPr(org.docx4j.wml.PPr pPrBase)
void
getPPr(org.docx4j.wml.PPr pPr)
protected BlockFormatProvider<T>
getStyleParent()
Get the style parent for the next P of this blockprotected void
inheritBdr(org.docx4j.wml.PPr pPr, org.docx4j.wml.PPr parentPPr)
Inherit left border-
Methods inherited from class com.vladsch.flexmark.docx.converter.util.BlockFormatProviderBase
adjustPPrForFormatting, close, getBaseStyle, getBaseStyleId, getBlockParent, getParaRPr, getProviderFrame, getStyle, getStyleId, inheritIndent, inheritParentFormat, open
-
-
-
-
Constructor Detail
-
ListItemBlockFormatProvider
public ListItemBlockFormatProvider(DocxContext<T> docx, java.lang.String listStyle, java.lang.String listSpacingStyle, long idNum, int listLevel, java.lang.Class... skipContextFrameClasses)
-
-
Method Detail
-
getPPr
public void getPPr(org.docx4j.wml.PPr pPr)
- Specified by:
getPPr
in interfaceBlockFormatProvider<T>
- Overrides:
getPPr
in classBlockFormatProviderBase<T>
-
adjustPPr
protected void adjustPPr(org.docx4j.wml.PPr pPrBase)
- Overrides:
adjustPPr
in classBlockFormatProviderBase<T>
-
getStyleParent
protected BlockFormatProvider<T> getStyleParent()
Description copied from class:BlockFormatProviderBase
Get the style parent for the next P of this block- Overrides:
getStyleParent
in classBlockFormatProviderBase<T>
- Returns:
- parent to use for style inheritance
-
inheritBdr
protected void inheritBdr(org.docx4j.wml.PPr pPr, org.docx4j.wml.PPr parentPPr)
Description copied from class:BlockFormatProviderBase
Inherit left bordermust be called after ind has been determined
- Overrides:
inheritBdr
in classBlockFormatProviderBase<T>
- Parameters:
pPr
- ppr to setparentPPr
- parent ppr
-
-