Class FencedCodeBlockFormatProvider<T>
- java.lang.Object
-
- com.vladsch.flexmark.docx.converter.util.BlockFormatProviderBase<T>
-
- com.vladsch.flexmark.docx.converter.util.FencedCodeBlockFormatProvider<T>
-
- All Implemented Interfaces:
BlockFormatProvider<T>
,FormatProvider<T>
public class FencedCodeBlockFormatProvider<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 FencedCodeBlockFormatProvider(DocxContext<T> docx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
finalize, add elements to the document after main part as needed after this method returns no more calls will be made to this providervoid
getPPr(org.docx4j.wml.PPr pPr)
void
open()
initialize internal stuff based on the parent for future use optionally add elements to doc before main elements any P creates will call the getPPr(), getParaRPr() and addP() for this provider so don't create elements until you are ready to handle these calls-
Methods inherited from class com.vladsch.flexmark.docx.converter.util.BlockFormatProviderBase
adjustPPr, adjustPPrForFormatting, getBaseStyle, getBaseStyleId, getBlockParent, getParaRPr, getProviderFrame, getStyle, getStyleId, getStyleParent, inheritBdr, inheritIndent, inheritParentFormat
-
-
-
-
Constructor Detail
-
FencedCodeBlockFormatProvider
public FencedCodeBlockFormatProvider(DocxContext<T> docx)
-
-
Method Detail
-
open
public void open()
Description copied from interface:FormatProvider
initialize internal stuff based on the parent for future use optionally add elements to doc before main elements any P creates will call the getPPr(), getParaRPr() and addP() for this provider so don't create elements until you are ready to handle these calls- Specified by:
open
in interfaceFormatProvider<T>
- Overrides:
open
in classBlockFormatProviderBase<T>
-
close
public void close()
Description copied from interface:FormatProvider
finalize, add elements to the document after main part as needed after this method returns no more calls will be made to this provider- Specified by:
close
in interfaceFormatProvider<T>
- Overrides:
close
in classBlockFormatProviderBase<T>
-
getPPr
public void getPPr(org.docx4j.wml.PPr pPr)
- Specified by:
getPPr
in interfaceBlockFormatProvider<T>
- Overrides:
getPPr
in classBlockFormatProviderBase<T>
-
-