类 MultipleRowTableRenderPolicy
- java.lang.Object
-
- com.deepoove.poi.plugin.table.MultipleRowTableRenderPolicy
-
- 所有已实现的接口:
RenderPolicy
public class MultipleRowTableRenderPolicy extends Object implements RenderPolicy
-
-
构造器概要
构造器 构造器 说明 MultipleRowTableRenderPolicy()MultipleRowTableRenderPolicy(String prefix, String suffix)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected RunTemplatecast2runTemplate(MetaTemplate template)protected voidcheckTargetIsTable(org.apache.poi.xwpf.usermodel.XWPFRun run, String message)protected List<org.apache.poi.xwpf.usermodel.XWPFTableRow>getAllTemplateRow(org.apache.poi.xwpf.usermodel.XWPFTable table, int startIndex)protected intgetRowIndex(org.apache.poi.xwpf.usermodel.XWPFTableRow row)protected voidremoveTableRow(org.apache.poi.xwpf.usermodel.XWPFTable table, int startIndex, int size)voidrender(ElementTemplate eleTemplate, Object data, XWPFTemplate template)protected voidsetTableRow(org.apache.poi.xwpf.usermodel.XWPFTable table, org.apache.poi.xwpf.usermodel.XWPFTableRow row, int pos)
-
-
-
方法详细资料
-
render
public void render(ElementTemplate eleTemplate, Object data, XWPFTemplate template)
-
getAllTemplateRow
protected List<org.apache.poi.xwpf.usermodel.XWPFTableRow> getAllTemplateRow(org.apache.poi.xwpf.usermodel.XWPFTable table, int startIndex)
-
removeTableRow
protected void removeTableRow(org.apache.poi.xwpf.usermodel.XWPFTable table, int startIndex, int size)
-
cast2runTemplate
protected RunTemplate cast2runTemplate(MetaTemplate template)
-
checkTargetIsTable
protected void checkTargetIsTable(org.apache.poi.xwpf.usermodel.XWPFRun run, String message)
-
setTableRow
protected void setTableRow(org.apache.poi.xwpf.usermodel.XWPFTable table, org.apache.poi.xwpf.usermodel.XWPFTableRow row, int pos)
-
getRowIndex
protected int getRowIndex(org.apache.poi.xwpf.usermodel.XWPFTableRow row)
-
-