org.apache.poi.xwpf.converter.core.styles.table.row
Class AbstractTableRowExValueProvider<Value>

java.lang.Object
  extended by org.apache.poi.xwpf.converter.core.styles.AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFTableRow>
      extended by org.apache.poi.xwpf.converter.core.styles.table.row.AbstractTableRowExValueProvider<Value>
All Implemented Interfaces:
IValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFTableRow>
Direct Known Subclasses:
AbstractTableRowMarginValueProvider

public abstract class AbstractTableRowExValueProvider<Value>
extends AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFTableRow>


Constructor Summary
AbstractTableRowExValueProvider()
           
 
Method Summary
protected  org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultStyle(org.apache.poi.xwpf.usermodel.XWPFTableRow element, XWPFStylesDocument stylesDocument)
           
protected  org.apache.poi.xwpf.usermodel.XWPFTableCell getParentTableCell(org.apache.poi.xwpf.usermodel.XWPFTableRow element)
          Returns the table cell which is the parent of the XWPF element and null otherwise
protected  String[] getStyleID(org.apache.poi.xwpf.usermodel.XWPFTableRow element)
           
 org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrEx getTblPrEx(org.apache.poi.xwpf.usermodel.XWPFTableRow row)
           
abstract  Value getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrEx ctTblPrEx)
           
protected  Value getValueFromDocDefaultsStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults, XWPFStylesDocument stylesDocument)
           
 Value getValueFromElement(org.apache.poi.xwpf.usermodel.XWPFTableRow row, 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 org.apache.poi.xwpf.converter.core.styles.AbstractValueProvider
getDefaultValue, getKey, getKeyBuffer, getStaticValue, getValue, getValueFromDefaultStyle, getValueFromDocDefaultsStyle, getValueFromStyleIds, getValueFromStyles, internalGetValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTableRowExValueProvider

public AbstractTableRowExValueProvider()
Method Detail

getTblPrEx

public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrEx getTblPrEx(org.apache.poi.xwpf.usermodel.XWPFTableRow row)

getValueFromElement

public Value getValueFromElement(org.apache.poi.xwpf.usermodel.XWPFTableRow row,
                                 XWPFStylesDocument stylesDocument)
Specified by:
getValueFromElement in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFTableRow>

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.XWPFTableRow>

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.XWPFTableRow>

getValue

public abstract Value getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblPrEx ctTblPrEx)

getParentTableCell

protected org.apache.poi.xwpf.usermodel.XWPFTableCell getParentTableCell(org.apache.poi.xwpf.usermodel.XWPFTableRow element)
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.XWPFTableRow>
Returns:

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.XWPFTableRow>

getStyleID

protected String[] getStyleID(org.apache.poi.xwpf.usermodel.XWPFTableRow element)
Specified by:
getStyleID in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFTableRow>

getDefaultStyle

protected org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultStyle(org.apache.poi.xwpf.usermodel.XWPFTableRow element,
                                                                                         XWPFStylesDocument stylesDocument)
Specified by:
getDefaultStyle in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFTableRow>


Copyright © 2013. All rights reserved.