public class TableHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
| Modifier | Constructor and Description |
|---|---|
protected |
TableHelper(XHTMLImporterImpl importer) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
insertDummyVMergedCells(org.docx4j.wml.ContentAccessor trContext,
org.docx4j.org.xhtmlrenderer.newtable.TableCellBox tcb,
boolean backwards)
Rowspan and colspan support.
|
protected void |
nestedTableHierarchyFix(org.docx4j.wml.ContentAccessor contentContext,
org.docx4j.org.xhtmlrenderer.render.Box parent)
nested tables XHTML renderer seems to construct a tree: table/table
instead of table/tr/td/table?
TODO fix this upstream.
|
protected void |
setupTblGrid(org.docx4j.org.xhtmlrenderer.newtable.TableBox cssTable,
org.docx4j.wml.Tbl tbl,
XHTMLImporterImpl.TableProperties tableProperties) |
protected void |
setupTblPr(org.docx4j.org.xhtmlrenderer.newtable.TableBox cssTable,
org.docx4j.wml.Tbl tbl,
XHTMLImporterImpl.TableProperties tableProperties,
boolean isNested) |
protected void |
setupTcPr(org.docx4j.org.xhtmlrenderer.newtable.TableCellBox tcb,
org.docx4j.wml.Tc tc,
XHTMLImporterImpl.TableProperties tableProperties) |
protected void |
setupTrPr(org.docx4j.org.xhtmlrenderer.newtable.TableRowBox trBox,
org.docx4j.wml.Tr tr) |
protected TableHelper(XHTMLImporterImpl importer)
protected void setupTblPr(org.docx4j.org.xhtmlrenderer.newtable.TableBox cssTable,
org.docx4j.wml.Tbl tbl,
XHTMLImporterImpl.TableProperties tableProperties,
boolean isNested)
protected void setupTblGrid(org.docx4j.org.xhtmlrenderer.newtable.TableBox cssTable,
org.docx4j.wml.Tbl tbl,
XHTMLImporterImpl.TableProperties tableProperties)
protected void setupTrPr(org.docx4j.org.xhtmlrenderer.newtable.TableRowBox trBox,
org.docx4j.wml.Tr tr)
protected void setupTcPr(org.docx4j.org.xhtmlrenderer.newtable.TableCellBox tcb,
org.docx4j.wml.Tc tc,
XHTMLImporterImpl.TableProperties tableProperties)
protected void insertDummyVMergedCells(org.docx4j.wml.ContentAccessor trContext,
org.docx4j.org.xhtmlrenderer.newtable.TableCellBox tcb,
boolean backwards)
trContext - context of the row to insert dummies intotcb - current cellbackwards - direction flag: if true, then scan to the leftprotected void nestedTableHierarchyFix(org.docx4j.wml.ContentAccessor contentContext,
org.docx4j.org.xhtmlrenderer.render.Box parent)
contentContext - parent - Copyright © 2013-2014. All Rights Reserved.