org.apache.poi.xwpf.converter.core.styles.run
Class AbstractRunValueProvider<Value>
java.lang.Object
org.apache.poi.xwpf.converter.core.styles.AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFRun>
org.apache.poi.xwpf.converter.core.styles.run.AbstractRunValueProvider<Value>
- All Implemented Interfaces:
- IValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFRun>
- Direct Known Subclasses:
- RunBackgroundColorValueProvider, RunFontColorValueProvider, RunFontFamilyValueProvider, RunFontSizeValueProvider, RunFontStyleBoldValueProvider, RunFontStyleItalicValueProvider, RunFontStyleStrikeValueProvider, RunTextHighlightingValueProvider, RunUnderlineValueProvider
public abstract class AbstractRunValueProvider<Value>
- extends AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFRun>
Method Summary |
protected org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle |
getDefaultStyle(org.apache.poi.xwpf.usermodel.XWPFRun element,
XWPFStylesDocument styleManager)
|
protected org.apache.poi.xwpf.usermodel.XWPFTableCell |
getParentTableCell(org.apache.poi.xwpf.usermodel.XWPFRun run)
Returns the table cell which is the parent of the XWPF element and null otherwise |
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr |
getRPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults)
|
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr |
getRPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)
|
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr |
getRPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr)
|
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr |
getRPr(org.apache.poi.xwpf.usermodel.XWPFRun run)
|
protected String[] |
getStyleID(org.apache.poi.xwpf.usermodel.XWPFRun run)
|
abstract Value |
getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr ppr,
XWPFStylesDocument stylesDocument)
|
protected Value |
getValueFromDocDefaultsStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults,
XWPFStylesDocument stylesDocument)
|
Value |
getValueFromElement(org.apache.poi.xwpf.usermodel.XWPFRun run,
XWPFStylesDocument stylesDocument)
|
protected Value |
getValueFromStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style,
XWPFStylesDocument stylesDocument)
|
protected Value |
getValueFromTableStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr,
XWPFStylesDocument stylesDocument)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRunValueProvider
public AbstractRunValueProvider()
getRPr
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr getRPr(org.apache.poi.xwpf.usermodel.XWPFRun run)
getRPr
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr getRPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)
getRPr
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr getRPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults)
getRPr
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr getRPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr)
getValueFromElement
public Value getValueFromElement(org.apache.poi.xwpf.usermodel.XWPFRun run,
XWPFStylesDocument stylesDocument)
- Specified by:
getValueFromElement
in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFRun>
getValueFromStyle
protected Value getValueFromStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style,
XWPFStylesDocument stylesDocument)
- Specified by:
getValueFromStyle
in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFRun>
getValueFromTableStyle
protected Value getValueFromTableStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr,
XWPFStylesDocument stylesDocument)
- Specified by:
getValueFromTableStyle
in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFRun>
getValueFromDocDefaultsStyle
protected Value getValueFromDocDefaultsStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults,
XWPFStylesDocument stylesDocument)
- Specified by:
getValueFromDocDefaultsStyle
in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFRun>
getValue
public abstract Value getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTRPr ppr,
XWPFStylesDocument stylesDocument)
getStyleID
protected String[] getStyleID(org.apache.poi.xwpf.usermodel.XWPFRun run)
- Specified by:
getStyleID
in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFRun>
getDefaultStyle
protected org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultStyle(org.apache.poi.xwpf.usermodel.XWPFRun element,
XWPFStylesDocument styleManager)
- Specified by:
getDefaultStyle
in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFRun>
getParentTableCell
protected org.apache.poi.xwpf.usermodel.XWPFTableCell getParentTableCell(org.apache.poi.xwpf.usermodel.XWPFRun run)
- Description copied from class:
AbstractValueProvider
- Returns the table cell which is the parent of the XWPF element and null otherwise
- Specified by:
getParentTableCell
in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFRun>
- Returns:
Copyright © 2013. All rights reserved.