Interface FormatProvider<T>
-
- All Known Subinterfaces:
BlockFormatProvider<T>
,RunFormatProvider<T>
- All Known Implementing Classes:
AttributeBlockFormatProvider
,AttributeRunFormatProvider
,BlockFormatProviderBase
,BoldRunFormatProvider
,DocxContextImpl
,FencedCodeBlockFormatProvider
,FootnoteBlockFormatProvider
,FootnoteRunFormatProvider
,HeadingBlockFormatProvider
,IsolatingBlockFormatProvider
,ItalicRunFormatProvider
,ListItemBlockFormatProvider
,QuotedFormatProvider
,RunFormatProviderBase
,SourceCodeRunFormatProvider
,StrikethroughRunFormatProvider
,SubscriptRunFormatProvider
,SuperscriptRunFormatProvider
,UnderlineRunFormatProvider
public interface FormatProvider<T>
-
-
Method Summary
All Methods Instance Methods Abstract 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 providerT
getProviderFrame()
get the node for this formatting blockorg.docx4j.wml.Style
getStyle()
java.lang.String
getStyleId()
these are the hard-coded styles on which this block is based used for reference purposes by children to figure out what they need to combinevoid
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
-
-
-
Method Detail
-
getProviderFrame
T getProviderFrame()
get the node for this formatting block- Returns:
- node for this format provider
-
open
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
-
close
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 provider
-
getStyleId
java.lang.String getStyleId()
these are the hard-coded styles on which this block is based used for reference purposes by children to figure out what they need to combine- Returns:
- style id
-
getStyle
org.docx4j.wml.Style getStyle()
-
-