public abstract class AbstractValueProvider<Value,XWPFElement> extends Object implements IValueProvider<Value,XWPFElement>
| Constructor and Description |
|---|
AbstractValueProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle |
getDefaultStyle(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected Value |
getDefaultValue(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected String |
getKey(XWPFElement element,
XWPFStylesDocument stylesDocument,
String styleId,
org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType.Enum type) |
protected StringBuilder |
getKeyBuffer(XWPFElement element,
XWPFStylesDocument stylesDocument,
String styleId,
org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType.Enum type) |
protected abstract org.apache.poi.xwpf.usermodel.XWPFTableCell |
getParentTableCell(XWPFElement element)
Returns the table cell which is the parent of the XWPF element and null otherwise
|
protected Value |
getStaticValue(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected abstract String[] |
getStyleID(XWPFElement element) |
Value |
getValue(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected Value |
getValueFromDefaultStyle(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected abstract Value |
getValueFromDocDefaultsStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults,
XWPFStylesDocument stylesDocument) |
protected Value |
getValueFromDocDefaultsStyle(XWPFElement element,
XWPFStylesDocument stylesDocument) |
abstract Value |
getValueFromElement(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected abstract Value |
getValueFromStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style,
XWPFStylesDocument stylesDocument) |
Object |
getValueFromStyleIds(XWPFElement element,
XWPFStylesDocument stylesDocument,
Object defaultValue) |
Value |
getValueFromStyles(XWPFElement element,
XWPFStylesDocument stylesDocument) |
protected abstract Value |
getValueFromTableStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr,
XWPFStylesDocument stylesDocument) |
Value |
internalGetValue(XWPFElement element,
XWPFStylesDocument stylesDocument) |
public Value getValue(XWPFElement element, XWPFStylesDocument stylesDocument)
getValue in interface IValueProvider<Value,XWPFElement>public Value internalGetValue(XWPFElement element, XWPFStylesDocument stylesDocument)
public Value getValueFromStyles(XWPFElement element, XWPFStylesDocument stylesDocument)
public Object getValueFromStyleIds(XWPFElement element, XWPFStylesDocument stylesDocument, Object defaultValue)
public abstract Value getValueFromElement(XWPFElement element, XWPFStylesDocument stylesDocument)
protected Value getDefaultValue(XWPFElement element, XWPFStylesDocument stylesDocument)
protected Value getStaticValue(XWPFElement element, XWPFStylesDocument stylesDocument)
protected String getKey(XWPFElement element, XWPFStylesDocument stylesDocument, String styleId, org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType.Enum type)
protected StringBuilder getKeyBuffer(XWPFElement element, XWPFStylesDocument stylesDocument, String styleId, org.openxmlformats.schemas.wordprocessingml.x2006.main.STTblStyleOverrideType.Enum type)
protected abstract String[] getStyleID(XWPFElement element)
protected abstract Value getValueFromStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style, XWPFStylesDocument stylesDocument)
protected abstract Value getValueFromTableStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr, XWPFStylesDocument stylesDocument)
protected Value getValueFromDefaultStyle(XWPFElement element, XWPFStylesDocument stylesDocument)
protected Value getValueFromDocDefaultsStyle(XWPFElement element, XWPFStylesDocument stylesDocument)
protected abstract Value getValueFromDocDefaultsStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults, XWPFStylesDocument stylesDocument)
protected abstract org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultStyle(XWPFElement element, XWPFStylesDocument stylesDocument)
protected abstract org.apache.poi.xwpf.usermodel.XWPFTableCell getParentTableCell(XWPFElement element)
element - Copyright © 2016. All Rights Reserved.