org.apache.poi.xwpf.converter.core.styles.table.cell
Class AbstractTableCellValueProvider<Value>
java.lang.Object
org.apache.poi.xwpf.converter.core.styles.AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFTableCell>
org.apache.poi.xwpf.converter.core.styles.table.cell.AbstractTableCellValueProvider<Value>
- All Implemented Interfaces:
- IValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFTableCell>
- Direct Known Subclasses:
- AbstractTableCellBorderValueProvider, AbstractTableCellMarginValueProvider, TableCellBackgroundColorValueProvider, TableCellGridSpanValueProvider, TableCellNoWrapValueProvider, TableCellTextDirectionValueProvider, TableCellVerticalAlignmentValueProvider, TableCellVMergeValueProvider, TableCellWidthValueProvider
public abstract class AbstractTableCellValueProvider<Value>
- extends AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFTableCell>
Method Summary |
protected org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle |
getDefaultStyle(org.apache.poi.xwpf.usermodel.XWPFTableCell cell,
XWPFStylesDocument stylesDocument)
|
protected org.apache.poi.xwpf.usermodel.XWPFTableCell |
getParentTableCell(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
Returns the table cell which is the parent of the XWPF element and null otherwise |
protected String[] |
getStyleID(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
|
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr |
getTcPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults)
|
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr |
getTcPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)
|
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr |
getTcPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr)
|
org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr |
getTcPr(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
|
abstract Value |
getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
|
protected Value |
getValueFromDocDefaultsStyle(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults,
XWPFStylesDocument stylesDocument)
|
Value |
getValueFromElement(org.apache.poi.xwpf.usermodel.XWPFTableCell cell,
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 |
AbstractTableCellValueProvider
public AbstractTableCellValueProvider()
getTcPr
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr getTcPr(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
getTcPr
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr getTcPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle style)
getTcPr
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr getTcPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTblStylePr tblStylePr)
getTcPr
public org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr getTcPr(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTDocDefaults docDefaults)
getValueFromElement
public Value getValueFromElement(org.apache.poi.xwpf.usermodel.XWPFTableCell cell,
XWPFStylesDocument stylesDocument)
- Specified by:
getValueFromElement
in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFTableCell>
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.XWPFTableCell>
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.XWPFTableCell>
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.XWPFTableCell>
getValue
public abstract Value getValue(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTcPr tcPr)
getStyleID
protected String[] getStyleID(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
- Specified by:
getStyleID
in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFTableCell>
getDefaultStyle
protected org.openxmlformats.schemas.wordprocessingml.x2006.main.CTStyle getDefaultStyle(org.apache.poi.xwpf.usermodel.XWPFTableCell cell,
XWPFStylesDocument stylesDocument)
- Specified by:
getDefaultStyle
in class AbstractValueProvider<Value,org.apache.poi.xwpf.usermodel.XWPFTableCell>
getParentTableCell
protected org.apache.poi.xwpf.usermodel.XWPFTableCell getParentTableCell(org.apache.poi.xwpf.usermodel.XWPFTableCell cell)
- 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.XWPFTableCell>
- Returns:
Copyright © 2013. All rights reserved.